using up to 100% cpu

General project discussion. NOT for help questions.
Post Reply
johnmck
Forum Members
Forum Members
Posts: 34
Joined: Wed May 30, 2007 4:56 pm

using up to 100% cpu

Post by johnmck »

I've cmsms installed on our local server here.

Just looking at cpu usage when we load a page. It jumps to 100% for a second! Worrying if we install this on a website with alot of traffic - any hints on how we can lower this?

has anybody else experienced this - what are your views / solutions
skypanther

Re: using up to 100% cpu

Post by skypanther »

If your server doesn't have much else going on, the OS will give all the CPU's attention to PHP, MySQL, and your web server. If it's busy with many tasks, it will allocate the CPU appropriately. I have run CMSMS in large shared hosting environments (hundreds of web sites on a single server) and have never had a problem.

Tim
johnmck
Forum Members
Forum Members
Posts: 34
Joined: Wed May 30, 2007 4:56 pm

Re: using up to 100% cpu

Post by johnmck »

thanks Tim, that makes me less worried. we're using it, its great
johnmck
Forum Members
Forum Members
Posts: 34
Joined: Wed May 30, 2007 4:56 pm

Re: using up to 100% cpu

Post by johnmck »

Hi,
ok I've just been told by my hosting company
We could find from the resource logs that your domain is trying to access more server resources which is preventing the sites form loading fine. Please take note that we have custom scripts in place that kill off all processes/scripts that are trying to use more resources.

======
Thu Jun 28 15:31:23 2007: 'php5 ' (Exe: php5 [/usr/local/cpanel/cgi-sys/php5], Script: '/usr/local/cpanel/cgi-sys/php5', Domain: www.xxx.com, Request: '/admin/moduleinterface.php?mact=Album,m1_,addpicture,0&m1_albumid=14', Accessed from: xxxxxxx) - of  using 16.55859375 MB memory Fri Jun 29 11:55:50 2007: 'php5 ' (Exe: php5 [/usr/local/cpanel/cgi-sys/php5], Script: '/usr/local/cpanel/cgi-sys/php5', Domain: www.xxx.com, Request: '/lib/filemanager/ImageManager/thumbs.php?img=%2FOld+ICU+Pictures+001.jpg', Accessed from: ) - of  using 72.94921875 MB memory Fri Jun 29 11:57:52 2007: 'php5 ' (Exe: php5 [/usr/local/cpanel/cgi-sys/php5], Script: '/usr/local/cpanel/cgi-sys/php5', Domain: www.xxx.com, Request: '/lib/filemanager/ImageManager/thumbs.php?img=%2FOld+ICU+Pictures+001.jpg', Accessed from: ) - of  using 72.87890625 MB memory ====== Please let us know if we can be of any further assistance. Thank you.
What can I do?
Pierre M.

Re: using up to 100% cpu

Post by Pierre M. »

Hello,

I agree with Tim. You'd be angry if the system allowed only 1% of the CPU to PHP/SQL with it has nothing else to do.

About your warning : your ImageManager is using a lot of memory. May be thumbnails computing ?
You can try to use lighter pictures.

Pierre M.
Post Reply

Return to “General Discussion”