Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Every so often my VPS server becomes unresponsive for no obvious reason. CPU usage is flat. No spike in traffic etc. When I run a top command on the machine (Centos) I can see that one of my sites has spawned loads of apache/httpd processes and is consuming the available RAM - yet there is virtually no traffic on the box.

I had a plugin installed that would backup the site every day (EZPZ backup: http://wordpress.org/extend/plugins/ezpz-one-click-backup/).

I had a nose through the source and I could see it added a number of WP Cron jobs to execute daily backups. I suspect this is the root cause of the issue but are there any good tools that help to monitor which php scripts are killing my machine when/if it happens again. (i.e is there a logging tool I can switch on to log slow or long loading php processes??).

I've since uninstalled the plugin and can see it has hooks to remove the WP Cron jobs it installed. Is there somewhere in the DB i can check WP Cron jobs to ensure they've definitely been removed?

Thanks,

Ed

share|improve this question
add comment

1 Answer

This is only a partial answer. You can use Cron View to see what crons are still active on your blog.

If you find some crons that shouldn't be there then maybe my answer here will help you remove that cron: Cron jobs for deactivated plugins

share|improve this answer
    
Thanks Brady - I see Cron View has not been updated to confirm support for WP 3.2 - do you know if it works ok? concerned about impact to a mission critical production install - thanks for the link re: cron jobs for deactivated plugins –  Ed Bloom Aug 11 '11 at 21:40
    
It works fine on 3.2. It only shows you what crons is setup so nothing is changed and modified. –  Brady Aug 12 '11 at 6:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.