Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Location
    Greece
    Posts
    1,008

    Question Check the stats from top - (why the server load is so high?)

    Hello

    Why i have so much server load?

    http://i56.tinypic.com/24e0r5d.png

    http://i55.tinypic.com/2cg1zed.png

    I am using Cpanel server with nginx plugin as proxy and back i am using Apache and csf firewall + ddos deflate script.

    Nginx in front of apache and i use as php handler the fcgi.

    2x quad xeon cpu raid 10 sas disks and 16gb ram

    Only one forum on the server,

    Any ideas?

  2. #2
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Your server is CPU bound (at least according to top). You should see some slight improvement with Memcached. IO is sitting at 0.0% but I have a feeling top is misreporting IO unless you have extremely fast disks or no IO at all (latter is unlikely considering MySQL processing is through the roof and the fact this is a forum).

    If you're on InnoDB, increase the memory pool since you have plenty of free RAM. That will help too.

    Regards
    Joe / UNIXY
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  3. #3
    Join Date
    May 2009
    Location
    Greece
    Posts
    1,008
    I am using Myisam at the moment...

    If i use Innodb what is a good start to add on my.cnf for better performance?

    I was thinking also that Apache was not configured correct and php also

    What is the best to do for Apache and php for a forum?

    Thank you

  4. #4
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    2,955
    Quote Originally Posted by hostyourdream View Post
    I am using Myisam at the moment...

    If i use Innodb what is a good start to add on my.cnf for better performance?
    It depends on the size of your DB. Follow your forum software's recommendations.

    Quote Originally Posted by hostyourdream View Post
    I was thinking also that Apache was not configured correct and php also

    What is the best to do for Apache and php for a forum?

    It looks like you're running mod_php (DSO), which is the fastest when running Apache. But your forum pages seem to eat up quite a bit of CPU. Try running an opcode cache as well.

    You need php opcode caching and more caching.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance
    www.unixy.net - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe > unixy.net

  5. #5
    Join Date
    May 2009
    Location
    Greece
    Posts
    1,008
    I was using DSO with xcache and after that high load i change to fcgi handler without xcache and it seems a bit better.

    Is this possible?

    I thought DSO was slow and i start using the fcgi....

    What do you recommend me for caching (i don't mean for the php) as on Invision forum if i can use only one of them Apc, eaccelerator, memcache , xcache and so on as i must add a config line on the global.php file so the forum will know which one to use and is not possible to use two of them at the same time

    I have already there (not loaded on php.ini) the xcache as when i use fcgi i must set (and i don't know how) the :

    DefaultMaxClassProcessCount
    and
    DefaultMinClassProcessCount

    to 1

    or it will show wrong stats on my forum as it did before....


    When i use DSO on peak time i get a lot of /usr/local/apache/bin/httpd -k start -DSSL and the problem starts.

    When i use Fcgi i get a lot of /usr/bin/php and the problem starts.

    Thanks for your help
    Last edited by hostyourdream; 03-27-2011 at 03:21 PM.

Similar Threads

  1. High server load, but nothing in top
    By turbo2ltr in forum Hosting Security and Technology
    Replies: 8
    Last Post: 07-19-2010, 12:37 AM
  2. Server High Load - What to check ?
    By jolo22 in forum Hosting Security and Technology
    Replies: 10
    Last Post: 02-23-2010, 10:42 PM
  3. high server load, but TOP shows normal
    By UnrealSilence in forum Hosting Security and Technology
    Replies: 45
    Last Post: 04-17-2006, 08:48 AM
  4. High Server Load and top
    By WebHostingNeeds in forum Hosting Security and Technology
    Replies: 7
    Last Post: 11-26-2005, 02:39 PM
  5. Linux Server Load Very High (stats/server overload)
    By takethishost in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-07-2005, 03:02 AM

Posting Permissions

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