Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Perrin Harkins
Brian Reichert wrote: Is this 'total_jobs' exposed somehow via an Apache object? The documentation for the Apache module doesn't say anything about it, so I think you have your answer. We just use a global for this in Apache::SizeLimit. - Perrin

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Brian Reichert
On Fri, Apr 04, 2003 at 08:38:53AM -0800, Bill Moseley wrote: > On Fri, 4 Apr 2003, Brian Reichert wrote: > > Eh? I'm confused. What is '$request' in that example? If you > > mean it's the request object, then that doesn't do what I expect. > > No, it's a simple counter. It's just a variable i

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Matt
> > > $request++; > > That's what I do in some handler, and then I log it along with the PID. Eh? I'm confused. What is '$request' in that example? If you mean it's the request object, then that doesn't do what I expect. This code: warn "request is [".$r."]\n"; yields: request is [Apache

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Bill Moseley
On Fri, 4 Apr 2003, Brian Reichert wrote: > > > In messing with Apache 1.x, is there a way, via mod-perl, of a > > > request knowing how many requests have been served by the current > > > child? > > > > > > $request++; > > > > That's what I do in some handler, and then I log it along with the

Re: MaxRequestsPerChild; which request am I?

2003-04-04 Thread Brian Reichert
On Thu, Apr 03, 2003 at 11:10:58PM -0800, Bill Moseley wrote: > On Fri, 4 Apr 2003, Brian Reichert wrote: > > > Dunno if someone has a good answer, or a suggestion of a better > > forum for this: > > > > Apache has a configuration directive: MaxRequestsPerChild > > > >

Re: MaxRequestsPerChild; which request am I?

2003-04-03 Thread Bill Moseley
On Fri, 4 Apr 2003, Brian Reichert wrote: > Dunno if someone has a good answer, or a suggestion of a better > forum for this: > > Apache has a configuration directive: MaxRequestsPerChild > > > > In messing with Apache 1.x, is t

MaxRequestsPerChild; which request am I?

2003-04-03 Thread Brian Reichert
Dunno if someone has a good answer, or a suggestion of a better forum for this: Apache has a configuration directive: MaxRequestsPerChild In messing with Apache 1.x, is there a way, via mod-perl, of a request knowing how many req