[wp-trac] [WordPress Trac] #13732: Why are we _maybe_update'ing on admin-ajax?

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 8 21:19:40 UTC 2010


#13732: Why are we _maybe_update'ing on admin-ajax?
-----------------------------+----------------------------------------------
 Reporter:  mitchoyoshitaka  |       Owner:  dd32               
     Type:  defect (bug)     |      Status:  new                
 Priority:  low              |   Milestone:  Future Release     
Component:  Upgrade/Install  |     Version:  3.0                
 Severity:  normal           |    Keywords:  has-patch 3.2-early
-----------------------------+----------------------------------------------

Comment(by jimisaacs):

 I'm not sure if this is the right thread for this, but I think it is
 related.

 I'm running 3.1-beta1-16732, but this has been going on for about 2 months
 of revisions.

 For
 network/upgrade.php?action=upgrade ("Update Network")
 I keep getting a server 504 timeout.
 This was not occurring before, or for sites running wp 3.0.2 I'm running
 on the same server.

 I did some bebugging, and found that the function _maybe_update_core is
 called on every single admin request regardless of location, which in turn
 calls wp_remote_get.

 So essentially in my particular case the admin runs a curl request on
 every single request? Really?

 I'm not sure if this has always been the case, or if it is recent, but it
 seems like my issue might have to do with running wp_remote_get twice?
 Once for _maybe_update_core and once for upgrade.php?action=upgrade

 This is puzzling and concerning at the same time.

 For information, I'm running PHP 5.3.2
 through php-cli (FastCGI) from within Cherokee Web Server.

 Before anyone automatically disregards this saying something like 'we
 don't officially support Cherokee Web Server', I would like to reiterate
 that this issue is recent, and was not occurring on previous revisions
 predating about October.

 Any info would be much appreciated.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13732#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list