Welcome to WebmasterWorld Guest from 3.80.4.76

Forum Moderators: phranque

Message Too Old, No Replies

cpu usage

how do I reduce high cpu usage?

     
10:27 pm on Nov 28, 2004 (gmt 0)

New User

10+ Year Member

joined:Feb 1, 2004
posts:14
votes: 0


I'm experiencing very high cpu usage levels on some of my php and perl scripts. My host (Lunar Pages) is getting very shirty about it and I'm baffled. Apart from Googlebot and Mediapartners-Google accessing my phpBB forums nothing else is different. My host assures me the spidering shouldn't be the cause.

How can I monitor cpu usage remotely?

Are there any ways of throttling the cpu usage by my php and perl scripts (some code I can insert into them)?

Help :-(

9:31 pm on Nov 29, 2004 (gmt 0)

Full Member

10+ Year Member

joined:Feb 28, 2001
posts:208
votes: 0


How can I monitor cpu usage remotely?

If you have access (telnet, ssh) to the site, and they are running a unix variant, try the "top" command. This will give you a detailed, up to the second display of system usage.

Are there any ways of throttling the cpu usage by my php and perl scripts (some code I can insert into them)?

Best suggestion would be to go through the scripts and optimize the code as much as possible.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members