Re: Nasty "bug"
Joe Stewart <[email protected]> Fri, 25 Apr 2003 09:21:10 -0500
| Newsgroups | gmane.comp.cms.phpslash.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 25, 2003 at 02:07:45AM +1000, Lars wrote: > > > > This leads me to the following questions: > > > 1. How can a problem like this be allowed to crash a whole site ? > > > >The error condition was being logged for a period of time before the > >crash. Did > >the crash happen because the infolog table was full? > > I don't think so. The log had a lot of entries, but the site "came back" > when I deleted the rss feed block. > > >The rss blocks have three states for error logging specified by the error > >option: > > > >errors = on - always display errors > > off - never display errors > > debug - only display errors in debug mode [default] > > > >For all three the infolog is written if you have the Infolog turned on. > > I don't think the infolog is the problem. I didn't empty the infolog to get > the site back up, and even after the infolog is emptied there is nothing > being shown on the sites that show our rss feed. > I agree. > >Was there no cache time for this block? This would seem a performance > >bottleneck too. > > Guess you're right ;o) Didn't think too much about that since I ASSumed > blocks were only parsed for users who could see them. > I can understand your reasoning. > Even though the site is now up, infolog is cleared out etc etc there is no > rss feed. Got any good ideas ? > I can make up something for why the site wasn't responding. The rss block was attempting to read the nonexistent page every pageview. The timeout for this is pretty long. It's not too noticeable with a long cache. So it seems the site is not responding. In the past it was very obvious because the error message was shown in the block. This was not very nice because many rss feeds are malformed from time to time and generate errors. So now we give you the option of seeing the error message or just logging it. How's that :) Joe > Cheers, > > Lars > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf