Ubuntu server header timeout

Posted by Tabatha M on Server Fault See other posts from Server Fault or by Tabatha M
Published on 2012-09-05T08:51:29Z Indexed on 2012/09/05 9:39 UTC
Read the original article Hit count: 152

Filed under:
|

I'm running

Ubuntu Linux 12.04.1
Kernel and CPU Linux 3.2.0-30-generic on x86_64.
Intel(R) Xeon(R) CPU E31230 @ 3.20GHz, 8 cores

I recently came across this problem. I'm using apache2/php latest and when I run

$url_headers = @get_headers($url);

Inside PHP it would normally take milliseconds to within a second to get the headers. Now recently it can take up to 15 seconds or even timeout.

It has worked great for over a year and recently started doing this. I'm not sure how to go about fixing it, any help would be greatly appreciated.

Thank you

© Server Fault or respective owner

Related posts about apache2

Related posts about ubuntu