httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: mod_proxy debug warnings
Date Sun, 28 Nov 2004 18:54:02 GMT
Mladen Turk wrote:
> Stas Bekman wrote:
> 
>> I know those are debug level warnings, but are those really needed?
>>
>> I get 34 of these identical lines every time the module is initialized:
>>
>> [Sat Nov 27 15:37:42 2004] [debug] proxy_util.c(1444): proxy: 
>> initialized worker 0 for (rabbit.stason.org:8529) min=0 max=2 smax=2
>>
>> why so many identical traces? Can we possibly get rid of this noise?
>>
> 
> Probably adding getpid() would give more sense to that log line.

That's a good idea, but the amount of output doesn't make much sense to 
me, since I start only 2 procs (prefork). why do I get 34 reports then? 
I'd expect 2 lines, no?

> Also it has it's purpose cause those logged numbers for max
> and smax can be different then the one you've put in the config,
> and are depending on mpm and AP_MPMQ_MAX_THREADS.

(I'm talking about prefork, no threads in this particular case)

> We can log that only in child_init, cause on post_conf we don't
> have a scoreboard yet.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message