Apache not responding sometimes

I am running a script on a Windows 2008 (R2 Standard) server with Apache, PHP and MySQL. It used to run on a Windows XP machine and the issue started before it was moved to the Windows 2008 box. The pages are served over a private network.

I had a problem before with the server seeming to time out, so I put in a Javascript function that would refresh the home page every 5 minutes to keep the server responding.

My server is now giving me new problems. It doesn’t seem to matter when the last request has gone through, sometimes there seems to be simply no response at all. I get a blank white page.

I checked the log files and there is no log entry in the error log to suggest an error. The access log file has no entry showing the attempt to call the page.

Does any one have any suggestions for settings to try or possible other issues I might look into? This is getting really annoying as it happens seemingly randomly, as I can call a page, fill out a form and submit it 20 seconds later and get a blank page. If you need any other information, feel free to ask.

Forgot to add, I’m running Apache 2.2.17

CuteT,

A blank (assuming that’s the source you’re describing) means that there is a grievous coding error on the requested page. JavaScript will do that (especially with AJAX) as well as PHP (when the error reporting is turned off as it should be on the server - get around this by setting up a test server where you develop and set the Error reporting to ALL.

Regards,

DK

If only it were so simple. There is no Javascript error or PHP error. This happens to pages that have no Javascript and normally load fine. If it is the index page, i hit refresh once or twice and it loads. If it another page then i click the link or button again and it loads. The reason why i cannot figure it out is there is no log of the request in the apache logs

Cancel this topic. I switched to IIS and had the same problem. Well, the problem was worse actually, but clearly this is not an Apache issue on this basis.