apache, php - request timeout
Good day to all.
I have a little funny trouble that I don't really know how to... begin debugging.
I have a site with some articles and other stuff, based on symfony (http://www.magazinulprogresiv.ro/). Nothing unusual till now.
The funny part is that sometimes it works ok, sometimes it gives timout (for the same page).
The thing is that I received it for debugging, I didn't make it so I can't provide 2 many details. All I'm asking is: do you think is an apache problem (that's my personal opinion till now, I started some logging but I'll get the data later)? Or you think is code related (I would have excluded this but it seems that there have been some code changing recently and no server changes and before this it was working ok)?
The problem was first spotted on: http://www.magazinulprogresiv.ro/articol/1开发者_StackOverflow18/Magazinul_tip_convenience.html, but I managed 2 reproduce it on homepage, and other pages.
Edited: added screen shot. Also I managed to reproduce with an image so is almost definitely apache problem (although it reproduced much more harder).
In my experience, if the scripts takes too long, the server respond with a timeout. If you are debugging and stop the execution for too long (not sure how much, a minute or so) the server shows a timeout. I think your script is in a loop or something like that.
I found the issue. Well not exactly but is not my problem any more. I was looking for the logs when suddenly the server stop working. So I pinged it and ping failed. So the problem is kind of clear and is the hosting. (server not responding to ping kind of eliminates any programming issues.)
精彩评论