I have Ubutnu 12.04 64bit architecture and Apache/2.2.22 installed on my machine used for development. Anyway it seems from one day to the next that it would serve the pages in milliseconds to now 5 minutes 1 second every time. I believe that this is because the timeout value is 300 in the apache.conf. What I don't understand is why it is timing out. I have xdebug installed but I am not triggering it and is not on autostart so I really think this would have made no difference and they were working together fine before.
I am a complete noob at Apache and not sure how to start debugging the issue. I have checked the logs but they dont seem to give me anything interesting. The Apache error.log is not changing and only producing a notice log when it boots. The actual app log is a bit more interesting as in it does update the app-access.log and the app-error.log, however the access log just says the GET requests and the error log is all info. The make no sense to me so here is an example of one from a request.
[Mon Jan 20 12:01:39 2014] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network [Mon Jan 20 12:01:43 2014] [info] [client ::1] Connection to child 6 established (server app:443) [Mon Jan 20 12:01:43 2014] [info] Seeding PRNG with 656 bytes of entropy [Mon Jan 20 12:01:43 2014] [info] [client ::1] SSL library error 1 in handshake (server app:443) [Mon Jan 20 12:01:43 2014] [info] SSL Library Error: 336027900 error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking not SSL to HTTPS port!? [Mon Jan 20 12:01:43 2014] [info] [client ::1] Connection closed to child 6 with abortive shutdown (server app:443)
the thing is that it only produces a log when the page is served which is minutes later (after the apparent 5 min timeout). It seems that it takes ages for the request to actually hit the app. I am not sure what is the best way to go about finding why this is the case. I have made no changes recently to my configuration so I really don't see why it has suddenly gone awry.
Thanks for any help