memory leak with php upgrade - help?
Posted: Wed Aug 23, 2006 3:33 am
For several months now we have had a very irritating problem with our website - we have RSS feed on 4 pages and for about 1 in 10 days these pages do not render properly. The page will load up to the feed, hang for a while and then just leave the pieces it has loaded which means a partially rendered page. As one of these pages is our home page then its safe to assume that any visitors have given up and gone elsewhere.
We have had to take the RSS off but we would like to put it back on.
Our ISP say that we need to move servers at great disruption to us and are not sure that this will solve the problem. Following a lot of pushing from me they have now suggested a reason for the problem..... see quote below
"With regards to the RSS issue, PHP crashes due to a memory leak which appears to be a problem with the current version of PHP on the server you are on and what your code is trying to achieve. When the memory leak occurs the website times out. We can migrate you onto another server with a lower version of PHP but cannot guarantee you will not experience the same difficulty. "
Our site is not complex - static html pages with php includes for the menus and gutter areas - the RSS pulls from various sources and uses either Carp or FeedDigest. All feeds behave badly at the same time and the problem lasts anywhere from an hour to a day then reverts back to working perfectly.
I am looking for some help in understanding whether the server move that the ISP is suggesting is a good solution or whether we are being fobbed off.
If the latest version of PHP causes such problems then I though you guys would know and could offer advice??
Thanks,
Kath
We have had to take the RSS off but we would like to put it back on.
Our ISP say that we need to move servers at great disruption to us and are not sure that this will solve the problem. Following a lot of pushing from me they have now suggested a reason for the problem..... see quote below
"With regards to the RSS issue, PHP crashes due to a memory leak which appears to be a problem with the current version of PHP on the server you are on and what your code is trying to achieve. When the memory leak occurs the website times out. We can migrate you onto another server with a lower version of PHP but cannot guarantee you will not experience the same difficulty. "
Our site is not complex - static html pages with php includes for the menus and gutter areas - the RSS pulls from various sources and uses either Carp or FeedDigest. All feeds behave badly at the same time and the problem lasts anywhere from an hour to a day then reverts back to working perfectly.
I am looking for some help in understanding whether the server move that the ISP is suggesting is a good solution or whether we are being fobbed off.
If the latest version of PHP causes such problems then I though you guys would know and could offer advice??
Thanks,
Kath