Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My client is hosting many WordPress blogs. I checked system load with "ps -ef | grep -i php" (because the server is hosting domains for clients using SuPHP and cpanel) and I see many of the blogs have wp-cron.php in memory, sometimes several of the same domain running several copies of wp-cron.php.

Is this wp-cron.php loaded so much a normal thing with WordPress? Or is it a misconfiguration?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

If your shared hosting platform doesn't allow you to run cronjobs than wp-cron.php serves that purpose. It fires off routinely to perform tasks that need to be done that would normally be run via cron. As cron isn't running it calls wp-cron.php more often to ensure that the tasks are ran. Unless your being told you're account is using too much memory, which if running under SuPHP it should already limit you, then you should have no problem. I run two WP blogs on a clustered shared-hosting platform and it's never a problem. When I look through my logs I do see lots of calls to wp-cron.php and everything is all good.

share|improve this answer

It's normal, yes.

I have that process running frequently myself.

share|improve this answer

I think the problem my hosting company has with wp-cron.php is CPU load:

User has exceeded daily usage threshold, usage details on 26/May/2010 CPU% = 2.32 MEM% = 0.19 MySQL = 0.1

Top processes: CPU% 29.0 : /usr/bin/php /home/username/public_html/wp-cron.php CPU% 0.2 : /usr/bin/php /home/username/public_html/wp-cron.php

I'm thinking of renaming to wp-cron0.php and calling it from a real cron job. I'm not sure how often I need to call it, because I have periodic autoposting going on.

share|improve this answer

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.