Jump to content

A script to track what's eating all cpu ?


Recommended Posts

Posted

Hello ! :)

I'm having problems with php scripts (that is to say IPB) on my server : it's eating all cpu (so to say).

According to other webmasters/administrators the traffic I have (number of visitors, number of pages seen, etc.) shouldn't be a problem for my server which could normally accept much more.

So, after looking at the top, ps, vmstat, etc., they told me I should try to find which script in IPB is using a lot of CPU.

Do you know a script which allows to do this ?

Thank you ! :)

Posted

Yes, they've been and are still working on this... To them this is due to http traffic... For example :

root@server [/var/log/dcpumon/2010/Feb]# cat 23 | grep nobody
nobody=21.6630597551256=5.16091416325837=0=20.0=/usr/local/apache/bin/httpd -k restart -DSSL=18.0=/usr/local/apache/bin/httpd -k restart -DSSL=14.0=/usr/local/apache/bin/httpd -k restart -DSSL

Anyway, knowing what's not working well with IPB may tell me what's wrong with my server.

Posted

Hello ! :)

My server is a 64 bit Bi Xeon Quad 8x 2.33+ with 16GB RAM and two 1TB HDD (RAID), with :
Apache 2.0.63
PHP 5.2.9
MySQL 5.0.89
EAccelerator
Sphinx as the search engine.
It's only running one IP Board with a 8 GB database and not more than 600 users online at this time of the year.

Tonight I'm only having 400 users online, everything was ok and there was a sudden high server load. Here are screen shots of TOPs I took as soon as I noticed there was a high server load beginning :
http://www.andrejorg...o/divers/12-03/
I restarted httpd to have everything back to normal.

MySQL slow query log is enabled but I found nothing corresponding to what happened.

What do you think of it ?

Thank you ! :)

  • 3 weeks later...
Posted

You should change your admins, this server should handle this kind of traffic with ease.

This kind of problems can be caused by EAccelerator, if you are running latest alpha/or beta available in cpanel.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...