Results 1 to 4 of 4

Thread: High load - please check my.cnf

  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    11

    Default High load - please check my.cnf

    Hi,

    Im hosting a website with a lot of visitors (joomla, etc) and im having load over 60 on my vps with 4 gigs of ram and 4 gigs burst. Im using cpanel.

    This is my.cnf, can anyone tell whats wrong?


    Code:
    #[mysqld]
    #innodb_file_per_table=1
    
    [mysqld]
    datadir=/var/lib/mysql
    #socket=/var/lib/mysql/mysql.sock
    skip-locking
    #skip-innodb
    query_cache_limit=1M
    query_cache_size=32M
    query_cache_type=1
    max_user_connections=250
    max_connections=5000
    interactive_timeout=10
    wait_timeout=10
    connect_timeout=10
    thread_cache_size=128
    key_buffer=16M
    join_buffer=1M
    max_allowed_packet=16M
    table_cache=1024
    record_buffer=1M
    sort_buffer_size=2M
    read_buffer_size=2M
    max_connect_errors=10
    thread_concurrency=8
    myisam_sort_buffer_size=64M
    server-id=1
    
    [safe_mysqld]
    err-log=/var/log/mysqld.log
    pid-file=/var/lib/mysql/mysql.pid
    open_files_limit=8192 
    
    [safe_mysqld]
    err-log=/var/log/mysqld.log
    pid-file=/var/lib/mysql/mysql.pid
    open_files_limit=8192 
    
    #[mysqldump]
    #quick
    #max_allowed_packet=16M
    
    [mysql]
    no-auto-rehash
    
    [isamchk]
    key_buffer=64M
    sort_buffer=64M
    read_buffer=16M
    write_buffer=16M 
    
    [myisamchk]
    key_buffer=64M
    sort_buffer=64M
    read_buffer=16M
    write_buffer=16M
    
    [mysqlhotcopy]
    interactive-timeout

  2. #2
    cPanel Staff Eric's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    Posts
    623
    cPanel/WHM Access Level

    Root Administrator

    Default Re: High load - please check my.cnf

    Howdy,

    I'd ask that you open a ticket. There could be more going on than MySQL load.

    Thanks!

  3. #3
    Member
    Join Date
    Mar 2008
    Posts
    264

    Default Re: High load - please check my.cnf

    Quote Originally Posted by cPanelEric View Post
    Howdy,

    I'd ask that you open a ticket. There could be more going on than MySQL load.

    Thanks!
    I was not aware cPanel did MySQL optimization. Is this included in standard support?
    PingHosters - Expert hosting community for hosters - Soporte en Espaņol para cPanel y WHM

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: High load - please check my.cnf

    We can help with optimization on the forums. In the ticket system, we can check the system to see if a cPanel service is the issue. If it isn't, we can provide input on where to look further and then suggest the forums otherwise.

    For determining what you might want to change for MySQL settings, please run the following after MySQL has been up at least 24 hours:

    Code:
    /usr/local/cpanel/3rdparty/mysqltuner/mysqltuner.pl
    Also, you might want to review this presentation on optimizing MySQL:

    http://videos.cpanel.net/mysql-optimization/
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads

  1. Replies: 27
    Last Post: 03-13-2012, 03:07 PM
  2. high load problem with high traffic on apache at nights
    By LAZer in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 03-04-2011, 08:12 PM
  3. Problem with high load, high iowait CPU
    By Berbox in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 06-20-2007, 05:38 AM
  4. Extremely high server load - BDflush running very high- possible hack
    By Blink2 in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 07-30-2005, 06:46 PM
  5. high cpu and time processes... load average high
    By alexd in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 12-20-2004, 03:50 AM