Cron + WPG2 => Cron Loop and High CPU Load

semtex

Joined: 2002-09-09
Posts: 11
Posted: Thu, 2008-08-21 14:20

So every so often (especially when hitting admin menus) the server becomes totally unresponsive and the loadavg on the box goes up to about 100 with a ton of new apache processes. If I look in the access log I see a bunch of

XXX.XXX.XXX.XXX - - [21/Aug/2008:08:53:23 -0400] "GET /wp-cron.php?check=XXXXXX HTTP/1.0" 200 - "-" "-"
XXX.XXX.XXX.XXX - - [21/Aug/2008:08:53:23 -0400] "OPTIONS /photos/w/ HTTP/1.0" 301 - "-" "-"

Lines..... it seems like it just loops on itself for a couple of minutes, times out, and then finally loads my page. It is usually when I am changing a setting in the admin page. Anyone seen behavior like this?

Note: This is a fresh install of WP 2.6 and Gallery 2.2 w/ WPG2. The XXX.XXX.XXX.XXX are the servers IP address (as in the server is hitting itself over and over again).

 
ozgreg
ozgreg's picture

Joined: 2003-10-18
Posts: 1378
Posted: Tue, 2008-08-26 05:22

Hmm nothing in the WPG2 codebase will cause it to load the WPG2 Page (which is what I presume the /photos) is. WPG2 does have a hook into WP CRON but only on changes to WP Permalink Options Nothing Else..

____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo