Results 1 to 10 of 11

Thread: Mysql makes high load !!! Please help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Posts
    19

    Default Mysql makes high load !!! Please help

    High i'm fed up, i don a lot of things to optimize my servers high load, but with no success...
    Will the new version have other , faster and better queries, cause at night when i have a lot of visitors, my server goes mad , having high load of 12-17 !!!
    Mysql config is this (my.cnf) :
    Code:
    [client]
    port            = 3306
    socket		  = /var/lib/mysql/mysql.sock
    
    [mysqld_safe]
    socket		  = /var/lib/mysql/mysql.sock
    nice            = 0
    
    [mysqld]
    user            = mysql
    socket		  = /var/lib/mysql/mysql.sock
    port            = 3306
    basedir         = /usr
    datadir         = /var/lib/mysql
    tmpdir          = /tmp
    language        = /usr/share/mysql/english
    skip-external-locking
    
    key_buffer         = 16M
    key_buffer_size         = 96M
    sort_buffer_size        = 1M
    read_buffer_size        = 3M
    read_rnd_buffer_size    = 1M
    max_allowed_packet      = 16M
    thread_stack            = 128K
    table_cache             = 1504
    open_files_limit        = 3760
    thread_cache_size       = 72
    max_heap_table_size     = 256M
    tmp_table_size          = 128M
    query_cache_limit       = 3M
    query_cache_size        = 256M
    query_cache_type        = 1
    low_priority_updates    = 1
    join_buffer_size        = 3M
    max_connections         = 300
    long_query_time         = 3
    log-slow-queries        = /var/log/slowq.log
    skip-bdb
    
    [mysqldump]
    quick
    quote-names
    max_allowed_packet      = 16M
    
    [mysql]
    #no-auto-rehash # faster start of mysql but no tab completition
    
    [isamchk]
    key_buffer              = 16M

  2. #2
    Join Date
    Apr 2010
    Posts
    3

    Default

    I agree with the the problem occur during fire of query related to sql in the coding.Part of your high load problem is going to be due to the fact that vShare logs every connection that you get to mySQL. If you have a high traffic site, this can cause mySQL to have to right thousands, if not millions, of entries into the database.I hope this information work well in this type of scenario.

Similar Threads

  1. Anyone know a good host for high traffic
    By killahboo in forum Installation Support
    Replies: 1
    Last Post: 09-12-2008, 07:56 PM
  2. High Bandwidth Issues
    By topfreaks in forum General Discussions
    Replies: 1
    Last Post: 07-02-2008, 07:29 AM
  3. When converting The site doesn't load. Help
    By sullenest in forum Installation Support
    Replies: 3
    Last Post: 04-26-2008, 03:11 PM
  4. myjavascriptajax.js load error
    By jayscot in forum Installation Support
    Replies: 0
    Last Post: 02-27-2008, 04:15 AM
  5. Cant load videos
    By whalles in forum Installation Support
    Replies: 2
    Last Post: 08-03-2007, 11:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •