[UPHPU] Why is require() slow? (SOLVED)

Joseph Scott joseph at randomnetworks.com
Wed Jan 9 21:45:11 MST 2008


On Jan 9, 2008, at 7:26 PM, Richard K Miller wrote:

> I reran APD with the -tc flags (pprofp -tc) to show the (c)all tree  
> and accumulated (t)ime and it led me directly to the problem. It  
> wasn't require() after all:
>
> Line 91 of wp-includes/cron.php does an fsockopen() call on itself.  
> For some reason my server was not able to ping itself, so the  
> fsockopen() call was timing out. After fixing my server, the  
> slowness disappeared.

That makes more sense.  Good to hear it was resolved.

--
Joseph Scott
http://joseph.randomnetworks.com/




More information about the UPHPU mailing list