On Tue, 6 Jun 2000, Tom Lancaster wrote:

> Here's the output of gdb: ( now what does this mean?)

You should compile mod_perl with PERL_DEBUG=1, see the SUPPORT file.

> 
> Starting program: /usr/sbin/apache -X
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...Breakpoint 1 at 0x400ddd35
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...
> Breakpoint 1, 0x400ddd35 in exit () from /lib/libc.so.6
> (gdb) bt
> #0  0x400ddd35 in exit () from /lib/libc.so.6
> #1  0x80851e1 in ap_start_restart ()
> #2  0x8085454 in ap_start_restart ()
> #3  0x80862d7 in ap_child_terminate ()
> #4  0x8086a4d in main ()
> #5  0x400d5a42 in __libc_start_main () from /lib/libc.so.6
> (gdb) 
> 
> 
> Stas Bekman wrote:
> > 
> > On Tue, 6 Jun 2000, Tom Lancaster wrote:
> > 
> > > Hi,
> > > I've got this strange behavior in a production site that until a recent
> > > upgrade never showed this kind of thing:
> > > I've set maxclients to 50, maxrequestsperchild 1.
> > > What happens is that the server runs fine, is fast, etc, but the number
> > > of apache processes climbs gradually until it reaches ~maxclients, then
> > > will no longer serve pages.
> > > I thought this was due to children not exiting, but some of them
> > > apparently do, as the number of processes rises and falls on its way to
> > > the top.
> > >
> > > What is Apache supposed to do when you set maxrequestsperchild to 1?
> > > I'd have thought each process would exit immediatley after serving
> > > something.
> > > I'm inclined to think there's something in my code that's hanging, but I
> > > read that the symptom of that is processes consuming large amounts of
> > > CPU - they're not, and memory usage is normal, too (~10M).
> > >
> > > Another symptom: sometimes when the processes are nearing the top,
> > > they'll start haging, but one by one; if I hit stop on a non-responsive
> > > request, then re-try, it serves fine.
> > >
> > > I'm using the debian package of modperl 1.21 statically linked with
> > > apache 1.3.9, and HTML::Embperl 1.2.1 ( I think).
> > >
> > >
> > > Any insight greatly appreciated.
> > >
> > > Tom
> > >
> > 
> > try this:
> > 
> > Date: Thu, 25 May 2000 12:13:20 -0700 (PDT)
> > From: Doug MacEachern <[EMAIL PROTECTED]>
> > To: Roberto Bourgonjen <[EMAIL PROTECTED]>
> > cc: [EMAIL PROTECTED]
> > Subject: Re: httpd exits with apache-1.3.12 and mod_perl-1.21 on Redhat
> > 6.2
> > 
> > On Wed, 24 May 2000, Roberto Bourgonjen wrote:
> > 
> > > Hi all,
> > >
> > > I am encountering strange problems on redhat 6.2 installations with
> > > rpm's apache-1.3.12-2 and mod_perl-1.21-10 (the latest available
> > > versions from redhat. I _have_ to use rpm's). I've tried two machines.
> > >
> > > As soon as load certain modules the server exits immediately, without
> > > producing the slightest error message.
> > 
> > try this:
> > 
> > % gdb httpd
> > (gdb) b exit
> > (gdb) run -X
> > 
> > whether it core dumps or exit() is called, post the output of:
> > 
> > (gdb) bt
> > 
> > _____________________________________________________________________
> > Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
> > http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
> > mailto:[EMAIL PROTECTED]   http://perl.org     http://stason.org/TULARC
> > http://singlesheaven.com http://perlmonth.com http://sourcegarden.org
> 



_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide 
mailto:[EMAIL PROTECTED]   http://perl.org     http://stason.org/TULARC
http://singlesheaven.com http://perlmonth.com http://sourcegarden.org

Reply via email to