Re: At random moments, mod_perl starts returning empty pages

2009-08-28 Thread Michael Ludwig
Michael Peters schrieb: Fred Moyer wrote: The issue is that at random moments, usually once or twice a day, my webserver starts returning completely empty pages instead of actual content. The pages are mod_perl based. I've seen this happen sometimes when something segfaults. Yes. And segf

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 8:50 PM, Fred Moyer wrote: > > > My plan is to: > > > > 1) Remove ubuntu mod_perl package > > 2) Do make install > > 3) test > > > > If test succeeds, I will stop. If test fails, I would reinstall the > system > > mod_perl. > > > > Is that a safe plan? > > I'd try this on

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Fred Moyer
On Tue, Aug 25, 2009 at 1:07 PM, Igor Chudov wrote: >> > The risks involved are kind of big here. So I want to be safe and have a >> > good plan. >> >> Suggest building this side by side with your existing installation. >> Suggest testing this out first on your test environment. > > OK, I did build

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 2:24 PM, Fred Moyer wrote: > Igor, > > Please cc the mod_perl list on all replies. I'm available for > professional mod_perl consulting offlist, but I don't come cheap :) > Sorry, I pressed a wrong button in GMail. :) > > On Tue, Aug 25, 2009 at 12:14 PM, Igor Chudov w

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Fred Moyer
Igor, Please cc the mod_perl list on all replies. I'm available for professional mod_perl consulting offlist, but I don't come cheap :) On Tue, Aug 25, 2009 at 12:14 PM, Igor Chudov wrote: > > > On Tue, Aug 25, 2009 at 2:07 PM, Fred Moyer wrote: >> >> > *** mod_perl version 2.03 >> >> Sugge

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Fred Moyer
On Tue, Aug 25, 2009 at 12:05 PM, Igor Chudov wrote: > > > On Tue, Aug 25, 2009 at 12:16 PM, Fred Moyer wrote: >> >> One great tool that would help with the diagnosis is the very useful >> mp2bug, found in mod_perl-2.0/bin/mp2bug >> >> Can you run that from your mod_perl install and post the outpu

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 12:16 PM, Fred Moyer wrote: > One great tool that would help with the diagnosis is the very useful > mp2bug, found in mod_perl-2.0/bin/mp2bug > > Can you run that from your mod_perl install and post the output? > Version details are a huge clue in solving mysteries like th

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
Perrin, the pages are zero length. In my script that checks for this condition, if I find trouble I save a few webpages to files. (/, some other page and apache-status). The first two are zero length. Igor On Tue, Aug 25, 2009 at 12:14 PM, Perrin Harkins wrote: > On Tue, Aug 25, 2009 at 1:07 P

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Fred Moyer
One great tool that would help with the diagnosis is the very useful mp2bug, found in mod_perl-2.0/bin/mp2bug Can you run that from your mod_perl install and post the output? Version details are a huge clue in solving mysteries like this. On Tue, Aug 25, 2009 at 10:10 AM, Igor Chudov wrote: > > >

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Perrin Harkins
On Tue, Aug 25, 2009 at 1:07 PM, Igor Chudov wrote: > Nothing much is in error_log, I do print some of my outputs, but nothing of > interest. > > What I know is that I can retrieve www.algebra.com/apache-status, it works > fine. > > However, retrieving mod_perl pages returns empty pages. If you me

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 10:50 AM, Frank Wiles wrote: > > > > I am afraid that it is hard to reproduce. Since I run ads and such, I > cannot > > really afford to pause for very long to debug the issue, plus it happens > > randomly. My 5 minute restarter saves me from a very big trouble > > No of c

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
Nothing much is in error_log, I do print some of my outputs, but nothing of interest. What I know is that I can retrieve www.algebra.com/apache-status, it works fine. However, retrieving mod_perl pages returns empty pages. Igor On Tue, Aug 25, 2009 at 11:14 AM, Perrin Harkins wrote: > On Tue,

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Perrin Harkins
On Tue, Aug 25, 2009 at 11:09 AM, Igor Chudov wrote: > The issue is that at random moments, usually once or twice a day, my > webserver starts returning completely empty pages instead of actual content. What's in the error_log? - Perrin

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Michael Peters
Fred Moyer wrote: The issue is that at random moments, usually once or twice a day, my webserver starts returning completely empty pages instead of actual content. The pages are mod_perl based. I've seen this happen sometimes when something segfaults. And segfaults are usually the result of h

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
On Tue, Aug 25, 2009 at 10:32 AM, Frank Wiles wrote: > > Hmmm, that's a difficult situation to debug. Are you running anything > in front of apache/mod_perl like perlbal or nginx? If so, those might > be the cause. > I am running perlbal in front of apache, yes. perlbal is a complete lifesaver

Re: At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Fred Moyer
On Tue, Aug 25, 2009 at 8:09 AM, Igor Chudov wrote: > My website algebra.com has been moved to a new server running Ubuntu Hardy. > > While everything seems to be working well, esp. the kernel and solid state > disk, I have one issue. > > The issue is that at random moments, usually once or twice a

At random moments, mod_perl starts returning empty pages

2009-08-25 Thread Igor Chudov
My website algebra.com has been moved to a new server running Ubuntu Hardy. While everything seems to be working well, esp. the kernel and solid state disk, I have one issue. The issue is that at random moments, usually once or twice a day, my webserver starts returning completely empty pages ins