Activity Stream
48,167 MEMBERS
6599 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1.     
    #1
    Member
    Website's:
    downfreak.com

    Default DLE Heavy cpu load

    Hi,
    i am running a DLE portal.
    It have around 700K posts on it and its taking a lot of resources.

    I cannot even run it on a server with 12Gb Ram + quadcore processor.

    Is there a way to reduce these loads?

    When i do command "top" on ssh, it shows that mysql is using 300%+ of resources?

    Anyone know any fix for it?
    thx
    downfreak Reviewed by downfreak on . DLE Heavy cpu load Hi, i am running a DLE portal. It have around 700K posts on it and its taking a lot of resources. I cannot even run it on a server with 12Gb Ram + quadcore processor. Is there a way to reduce these loads? When i do command "top" on ssh, it shows that mysql is using 300%+ of resources? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    Dot.AL
    You need to Tweak the file /etc/my.cnf (mysql configuration) so it wont give you mysql problems...

  4.     
    #3
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Me too having problems like this

    @sady92

    Any description on what to tweak in there?

  5.     
    #4
    Member
    Website's:
    Dot.AL
    Well, open SSH use

    /usr/local/cpanel/3rdparty/mysqltuner/mysqltuner.pl
    this command to get suggestions what to optimizate otherwise you will have problems...

    this is not a thing that can be righ away you need to test it every 1-3 days and see what this script suggest to you.

  6.     
    #5
    Member
    Website's:
    downfreak.com
    when i run mysqltuner.pl this is what i get :

    -------- Recommendations -----------------------------------------------------
    General recommendations:
    Run OPTIMIZE TABLE to defragment tables for better performance
    Enable the slow query log to troubleshoot bad queries
    Set thread_cache_size to 4 as a starting value
    Increase table_cache gradually to avoid file descriptor limits
    Optimize queries and/or use InnoDB to reduce lock wait
    Variables to adjust:
    query_cache_size (>= 8M)
    sort_buffer_size (> 63K)
    read_rnd_buffer_size (> 252K)
    thread_cache_size (start at 4)
    table_cache (> 4)


    so what i need to do now in my.cnf?

  7.     
    #6
    Member
    Website's:
    Dot.AL
    Add this

    query_cache_size=16M
    sort_buffer_size=128K
    read_rnd_buffer_size=512K
    thread_cache_size=64
    table_cache=512
    Then Restart MySQL, and after 1-3 days run it again.

  8.     
    #7
    Member
    Website's:
    downfreak.com
    Quote Originally Posted by sady92 View Post
    Well, open SSH use



    this command to get suggestions what to optimizate otherwise you will have problems...

    this is not a thing that can be righ away you need to test it every 1-3 days and see what this script suggest to you.
    this is my new my.conf now :

    [mysqld]
    port = 3306
    socket = /var/lib/mysql/mysql.sock
    skip-locking
    key_buffer = 16K
    max_allowed_packet = 1M
    table_cache = 512
    sort_buffer_size = 64K
    read_buffer_size = 256K
    read_rnd_buffer_size = 256K
    net_buffer_length = 2K
    thread_stack = 64K
    skip-bdb
    skip-innodb
    query_cache_size=16M
    read_rnd_buffer_size=512K
    thread_cache_size=64

    [mysqldump]
    quick
    max_allowed_packet = 16M

    [mysql]
    no-auto-rehash
    #safe-updates

    [isamchk]
    key_buffer = 8M
    sort_buffer_size = 128K

    [myisamchk]
    key_buffer = 8M
    sort_buffer_size = 8M

    [mysqlhotcopy]
    interactive-timeout
    I run the mysqltuner again and i get this :
    -------- Recommendations -----------------------------------------------------
    General recommendations:
    Run OPTIMIZE TABLE to defragment tables for better performance
    MySQL started within last 24 hours - recommendations may be inaccurate
    Enable the slow query log to troubleshoot bad queries
    Your applications are not closing MySQL connections properly
    Variables to adjust:
    key_buffer_size (> 1.0G)
    query_cache_limit (> 1M, or use smaller result sets)
    any idea what else i need to adjust?
    thx

  9.     
    #8
    Member
    Website's:
    Dot.AL
    Look dont change anything wait some days.

  10.     
    #9
    Member
    Website's:
    downfreak.com
    so you reckon its the mysql itself?

    not the source code?

  11.     
    #10
    Member
    optimize search , when search , it's will select many table, make index and optimize search only at index
    Yahoo: Keosoft90 | ICQ : 570-630-903| MSN : keosoft90@hotmail.com | AIM : Keosoft90
    KWWH

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. My vacation in Natal, Brazil. (Heavy Thread)
    By aishamontreal in forum General Discussion
    Replies: 223
    Last Post: 10th Sep 2012, 01:52 PM
  2. My site will not load in Windows 7 will load on XP
    By DJboutit in forum Webmaster Discussion
    Replies: 2
    Last Post: 12th May 2012, 07:56 PM
  3. Google plans to penalize SEO heavy web sites
    By ShareShiz in forum News & Current Events
    Replies: 2
    Last Post: 17th Mar 2012, 08:38 PM
  4. Jobs With heavy Money I Am Working!
    By Royal Prince in forum Webmasters, Money Making
    Replies: 2
    Last Post: 7th Jul 2011, 09:33 AM
  5. To experience heavy uploaders
    By MrCube in forum File Host Discussion
    Replies: 6
    Last Post: 30th May 2011, 10:28 AM

Tags for this Thread

BE SOCIAL