New to server admin, Diagnosing Memory and CPU issues on DV

Posted by G Thompson on Server Fault See other posts from Server Fault or by G Thompson
Published on 2012-06-17T18:16:33Z Indexed on 2012/06/17 21:18 UTC
Read the original article Hit count: 182

Filed under:
|
|
|

Sorry for my ignorance and lack of knowledge. I'm a PHP/Front-end developer just now venturing into very minor server management/diagnostics. I have a Media Temple DV account.

I have 2 sites that run a PHP script through a subscription service to an API. Basically API hits site with said script. Script runs, gathers data from api, saves data to SQL database. I noticed that these sites seemed to causing memory overages on my server (not sure why). So I temporarily disabled them. The memory overage alerts stopped but my CPU still sits really high, like at 115% and above.

I'm trying to diagnos this with tutorials and resources but just can't seem to find a solution. I'll attach screenshots(screenshots are without the PHP scripts I assume are responsible for the memory issues) I'm assuming are important to the diagnosis, but if anyone can point me in the right direction to start A. figuring out if and why the PHP script may be causing memory overages and B. Why my CPU is always over 100%.

Thanks guys!

Links to screen shots... can't post with low points.

http://i.stack.imgur.com/A64k4.png

http://i.stack.imgur.com/qm1rV.png

© Server Fault or respective owner

Related posts about apache2

Related posts about php