Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Nov 2002
    Posts
    90

    Default MYSQL 4 Problem & Server Load

    Hello,

    CPANEL has upgraded to MYSQL 4 and I am having problem with
    Invision Board.

    I tried to work do some change in /etc/my.cnf with the following guide provided by InvisionBoard member

    skip-locking
    skip-innodb
    query_cache_limit=1M
    query_cache_size=32M
    query_cache_type=1
    max_connections=500
    interactive_timeout=100
    wait_timeout=100
    connect_timeout=10
    thread_cache_size=50
    key_buffer=40M
    join_buffer=1M
    max_allowed_packet=16M
    table_cache=512
    record_buffer=1M
    sort_buffer_size=768K
    read_buffer_size=512K
    max_connect_errors=10
    thread_concurrency=2
    myisam_sort_buffer_size=64M

    But I only have this in my /etc/my.cnf,

    [mysqld]

    max_connection=500

    So, I did a cut and paste and save it. I am not sure will it works
    but my server load shoot up from average 0.2 to 2.

    Any help? Am I doing the right thing?

  2. #2
    Member
    Join Date
    May 2002
    Posts
    119

    Default

    Hi,

    Mine is :

    [mysqld]
    skip-locking
    skip-innodb
    set-variable = max_connections=1000
    set-variable = interactive_timeout=100
    set-variable = wait_timeout=200
    set-variable = connect_timeout=30
    set-variable = thread_cache_size=8
    set-variable = key_buffer=384M
    set-variable = max_allowed_packet=16M
    set-variable = table_cache=1024
    set-variable = sort_buffer=2M
    set-variable = record_buffer=2M
    set-variable = thread_cache=8
    # Try number of CPU's*2 for thread_concurrency
    set-variable = thread_concurrency=8
    set-variable = myisam_sort_buffer_size=64M
    set-variable = query_cache_limit=1M
    set-variable = query_cache_size=32M
    set-variable = query_cache_type=1

    [safe_mysqld]
    err-log=/var/log/mysqld.log
    open_files_limit=8192

    [mysqldump]
    quick
    set-variable = max_allowed_packet=16M

    [mysql]
    no-auto-rehash
    # Remove the next comment character if you are not familiar with SQL
    #safe-updates

    [isamchk]
    set-variable = key_buffer=256M
    set-variable = sort_buffer=256M
    set-variable = read_buffer=2M
    set-variable = write_buffer=2M

    [myisamchk]
    set-variable = key_buffer=256M
    set-variable = sort_buffer=256M
    set-variable = read_buffer=2M
    set-variable = write_buffer=2M

    [mysqlhotcopy]
    interactive-timeout

  3. #3
    Member
    Join Date
    Nov 2002
    Posts
    90

    Default

    Hello,

    Thank you for the response.

    Will it be ok for me to cut and paste everything into /etc/my.cnf?

    Should I remove away those "#"?

    My Server is P4 1.7ghz with 512RAM. Do I need to change anything from there?

Similar Threads & Tags
Similar threads

  1. pkgacct - Check load & MySQL to prevent MySQL timeouts.
    By driverC in forum Feature Requests for cPanel/WHM
    Replies: 2
    Last Post: 04-03-2010, 03:32 PM
  2. mysql & HIGH server load, please help
    By SoftDux in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-06-2007, 05:13 AM
  3. High server load problem (apache/mysql)
    By alternative in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-26-2006, 10:36 PM
  4. MySQL & Server Load
    By celliott in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-19-2006, 09:36 PM
  5. Mysql 4 & php & horde problem
    By vincento in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-10-2003, 07:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube