Hi, I have a website running largely based on the opensource osCommerce php. Recently we have experienced problems with pages crashing half way through loading. This seems to occur randomly maybe about 5-10% of the time you load a page. What happes is that the page will start loading and then the server just seems to stop parsing the page and the users browser sits there waiting for more information indefinitly. If you hit stop and refresh then the page usually loads fine straight away. As far as I can make out this has to be somthing related to the server, not to the scripts as it seems to happen randomly and can happen one time while loading a page and not the next when loading the same page under the same circumstances 30 seconds later.
Does anyone have any idea what could be causing this? You may have a look at the website and see the problem yourself: http://www.printedimage.co.nz it will usually occur within clicking through to 10-15 pages.
We have taken the issue up with our isp, they say although they can see the problem occuring on our site, it is not occuring on any others running on the same server. They have suggested that it may be something in our local php config causing a conflict. However, this hasn't been changed lately and the probelm has just started occuring recently.
One possible idea I had was that some prcess in running in the background on the server and chewing up memory causing intermittent crashes. I have checked for any persistent database connections left running and found nothing. One thing I was wondering is if it could be a redundant email address - if used from the send mail function to an address that does not exist, could the server keep trying to contact the mail address and therfore get blocked up with such a request??
Any help or suggestions anyone can offer would be most appreciated.