WordPress.org

Ready to get started?Download WordPress

Forums

wp-cron server overload ? (10 posts)

  1. sagive
    Member
    Posted 3 years ago #

    i got wordpress MU with around 450 blogs
    around the 28.12.2010 my wordpress installation
    started overloading the server its hosted on..

    my host had to block the site :( saying its
    slowing down other sites..

    this is the lof hes see's..

    82.80.221.158 - - [28/Dec/2010:16:22:24 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 - "-" "WordPress/2.9.2; http://israel-blog.co.il"
    82.80.221.158 - - [28/Dec/2010:17:08:25 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 137 "-" "WordPress/2.9.2; http://israel-blog.co.il"
    82.80.221.158 - - [28/Dec/2010:17:10:12 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 137 "-" "WordPress/2.9.2; http://israel-blog.co.il"
    82.80.221.158 - - [28/Dec/2010:17:16:08 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 137 "-" "WordPress/2.9.2; http://israel-blog.co.il"
    82.80.221.158 - - [28/Dec/2010:17:17:13 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 137 "-" "WordPress/2.9.2; http://israel-blog.co.il"
    82.80.221.158 - - [28/Dec/2010:17:21:16 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 137 "-" "WordPress/2.9.2; http://israel-blog.co.il"
    82.80.221.158 - - [28/Dec/2010:17:23:51 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 137 "-" "WordPress/2.9.2; http://israel-blog.co.il"
    82.80.221.158 - - [28/Dec/2010:17:28:13 +0200] "POST /wp-cron.php?doing_wp_cron HTTP/1.0" 200 137 "-" "WordPress/2.9.2; http://israel-blog.co.il"

    Multiply this about 50 times each day...
    got any ideas as to why?

    where can i find an answer?

    no new plugins were installed last 2 month
    already shut down some of them just to be
    on the safe side..

    any help would be appreciated (very)

  2. sagive
    Member
    Posted 3 years ago #

    i upgraded to 3.04 and still got this problem.. anyone ?? please?? help??

  3. aguitta
    Member
    Posted 3 years ago #

    I have the same problem. Any luck now?. My site, was also blocked by my hosting company.
    No ideas. (You have abou 450 blogs?) how much can they delve in theming, plugins and such?
    Maybe we can find a common factor?.
    JFA.(Aguitta)

  4. sagive
    Member
    Posted 3 years ago #

    i was 2 busy do deal with this so as of now
    i am still not fixing this but.. i found some
    intresting resources i was planning on reading

    please share if you find a solution

    here is what i was planning on reading:

    http://www.johnoverall.com/wordpress-excessive-overloading-of-your-server-solving-the-wp_cron-php-resource-issue/

    http://chat.ksfiomdepositors.org/group-topic/site-downtime-server-overload-problem-analysis-and-possible-actions

  5. 123milliseconds
    Member
    Posted 3 years ago #

    aguatta ; dealt with in detail here

    http://www.johnoverall.com/wordpress-excessive-overloading-of-your-server-solving-the-wp_cron-php-resource-issue/

    has many links to alternative solutions.

    Your problem could be any of those.

  6. horizon70s
    Member
    Posted 3 years ago #

    I have a dedicated server with a quad processor and this issue is killing our server as well right now.

  7. horizon70s
    Member
    Posted 3 years ago #

    I should note I also have 8 Gigs of RAM.

  8. Harish Chouhan
    Member
    Posted 3 years ago #

    Man anyone has any solution to this?
    My dedicated server is now facing this issue due to one of my own WordPress websites.

  9. Dion Hulse
    WordPress Dev
    Posted 3 years ago #

    My dedicated server is now facing this issue due to one of my own WordPress websites.

    Whilst this doesn't fix the causation, you can disable WordPress's cron system, and instead use a normal crontab call (which most shared hosts don't support, thus WordPresses builtin system which works on most).

    So, what you need to do to replace wp-cron with crontab which might fix your issue in this case:

    • Disable Cron spawning - define('DISABLE_WP_CRON', true); in your wp-config.php - Warning: Do not define this without doing something about spawning cron
    • Create a cron job to call http://site.com/wp-cron.php?doing_wp_cron through something such as wget or curl or similar every 5 minutes, or 15minutes, whatever you want
    • Schedule a post to be published in 5 minutes time, Check your post gets published after 5 minutes without accessing the WordPress admin area
  10. Harish Chouhan
    Member
    Posted 3 years ago #

    Hi Guys,

    below information is only with people who own their servers

    I just thought to share that, I recently installed CloudLinux on my Dedicated server so that a site does not end up taking all the server resources.

    I was skeptical at first as I had found not found a single solution for my WordPress site, which just kept on crashing server even after multiple reboots. I never got a chance to even suspend the site myself.

    By server admins did that for me, and then suspened that domain which was causing problem. I installed CloudLinux, and then unsuspended the site, deleted all plugins and the site was working fine.

    Now one thing I can rest assured is that other sites won't be affected due to one site's issue. I tried all methods but most are not practical to do if you manage lot of clients who use WordPress.

    For now am just going to use limited plugins until someone finds a proper solution. I hope such things do not happen with WordPress 3.2, whenever it releases.

Topic Closed

This topic has been closed to new replies.

About this Topic