[wp-trac] Re: [WordPress Trac] #8590: Very slow after upgrade to 2.7
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 15 12:15:13 GMT 2008
#8590: Very slow after upgrade to 2.7
---------------------+------------------------------------------------------
Reporter: tin68 | Owner:
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Upgrade | Version: 2.7
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by DD32):
> What are the requirements for the server that the default http.php runs
without this big delay?
There's a range of options, It was designed to run on most server
configurations, and has a lot of issues to work around.
Ok, Lets try to work out whats causing it then.
Remove the 'return;' line from the previous item, and add this:
{{{
echo "Requesting $url using " . implode(', ', $transports);
}}}
just before this: (around line 260)
{{{
$response = array( 'headers' => array(), 'body' => '', 'response' =>
array('code', 'message') );
foreach( (array) $transports as $transport ) {
}}}
That should narrow which request is causing the slowness, and which
transport is being used (well, At least the prefered item to use), You
might also want to change:
{{{
if( !is_wp_error($response) )
return $response;
}
}}}
(around line 265)
to read:
{{{
if( !is_wp_error($response) )
return $response;
echo "$transport failed with error:" . $response->get_error_message();
}
}}}
To see if the default transport is failing for you, and WordPress isnt
realising (Which could cause delays.. but hopefully not too long..)
--
Ticket URL: <http://trac.wordpress.org/ticket/8590#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list