mod_substitute bugs 47220, 47215 48291

2010-01-22 Thread Nick Gearls
Hello, Is somebody still working on mod_substitute, or is this module abandoned? The first bug is an enhancement, but the last 2 ones are blocking ones. Could somebody work on this? Thanks Nick

reopening of logs without restarting

2010-01-22 Thread Mikhail T.
Hello! Some of our web-servers take a while to restart (because some custom modules need to login to database backends, etc.) This makes it undesirable for us to use the SIGUSR1 (for graceful restart) and we currently log to stdin of an easier to restart command-line utility. How hard would it

Re: reopening of logs without restarting

2010-01-22 Thread Jeff Trawick
On Fri, Jan 22, 2010 at 1:43 PM, Mikhail T. mi+t...@aldan.algebra.com wrote: Hello! Some of our web-servers take a while to restart (because some custom modules need to login to database backends, etc.) This makes it undesirable for us to use the SIGUSR1 (for graceful restart) and we

Re: reopening of logs without restarting

2010-01-22 Thread Mikhail T.
22.01.2010 14:03, Jeff Trawick написав(ла): Currently there are ap_run_open_logs and worker_open_logs. Can my hypothetical signal-handler simply go through the list of opened descriptors, set them to new values and close the old? You'd need to do that in every child process, without

mod_fcgid versioning question

2010-01-22 Thread Chris Darroch
Chris Darroch wrote: Jeff Trawick wrote: Chris Darroch has a patch for that, which is a small part of http://people.apache.org/~chrisd/patches/mod_fcgid_auth/mod_fcgid-1auth-trunk.patch [snip] Yes -- and I'm really, really going to prioritize breaking this patchset up (I know I'm a

Re: reopening of logs without restarting

2010-01-22 Thread Graham Leggett
On 22 Jan 2010, at 8:43 PM, Mikhail T. wrote: Some of our web-servers take a while to restart (because some custom modules need to login to database backends, etc.) This makes it undesirable for us to use the SIGUSR1 (for graceful restart) and we currently log to stdin of an easier to restart

Re: reopening of logs without restarting

2010-01-22 Thread Mikhail T.
22.01.2010 14:18, Graham Leggett написав(ла): What you're probably after are piped logs: http://httpd.apache.org/docs/2.2/logs.html#piped If you pipe the log to something like cronolog, cronolog is able to rotate logs for you without needing to restart httpd. Thanks for the pointer, sir. We

Re: mod_fcgid versioning question

2010-01-22 Thread Jeff Trawick
On Fri, Jan 22, 2010 at 2:14 PM, Chris Darroch chr...@pearsoncmg.com wrote: Chris Darroch wrote: Jeff Trawick wrote: Chris Darroch has a patch for that, which is a small part of http://people.apache.org/~chrisd/patches/mod_fcgid_auth/mod_fcgid-1auth-trunk.patch [snip]   Yes -- and I'm

Re: reopening of logs without restarting

2010-01-22 Thread Jeff Trawick
2010/1/22 Mikhail T. mi+t...@aldan.algebra.com: 22.01.2010 14:03, Jeff Trawick написав(ла):  Currently there are ap_run_open_logs and worker_open_logs. Can my  hypothetical signal-handler simply go through the list of opened  descriptors, set them to new values and close the old? You'd

Re: reopening of logs without restarting

2010-01-22 Thread Mikhail T.
22.01.2010 14:33, Jeff Trawick написав(ла): the open_logs hook runs only in the parent I see... And the children simply inherit it after forks? Thank you, -mi

Re: reopening of logs without restarting

2010-01-22 Thread Graham Leggett
On 2010/01/22 9:24 PM, Mikhail T. wrote: Thanks for the pointer, sir. We are using cronolog now. But it is, quite obviously, a hack -- a work-around for Apache's inability to handle log-rotation on its own. It is not a hack. Apache httpd isn't a single process, but rather many potential

Re: reopening of logs without restarting

2010-01-22 Thread Jeff Trawick
2010/1/22 Mikhail T. mi+t...@aldan.algebra.com: 22.01.2010 14:33, Jeff Trawick написав(ла): the open_logs hook runs only in the parent I see... And the children simply inherit it after forks? yes

Re: reopening of logs without restarting

2010-01-22 Thread Brian J. France
On Jan 22, 2010, at 1:43 PM, Mikhail T. wrote: Hello! Some of our web-servers take a while to restart (because some custom modules need to login to database backends, etc.) This makes it undesirable for us to use the SIGUSR1 (for graceful restart) and we currently log to stdin of an easier

Re: reopening of logs without restarting

2010-01-22 Thread Mikhail T.
22.01.2010 14:50, Brian J. France написав(ла): Funny you should bring this up, at work we have been look at out patches to apr and httpd that we can give back to the up stream public source and one of those patches is to apr to allow hupless log rotation in httpd 2.x. The patch adds

Logging server wait duration

2010-01-22 Thread Idzerda, Edan
I've loved using %D microsecond request duration logging for helping track down performance issues. But I've always thought, wouldn't it be cool if you could log how long Apache spent processing the request, versus how long it spent *sending* the request? So finally last week I said, Self,

Re: reopening of logs without restarting

2010-01-22 Thread Akins, Brian
On 1/22/10 2:18 PM, Graham Leggett minf...@sharp.fm wrote: What you're probably after are piped logs: The amount of context switches this can create is almost mind boggling... -- Brian Akins

Re: reopening of logs without restarting

2010-01-22 Thread Akins, Brian
On 1/22/10 2:39 PM, Graham Leggett minf...@sharp.fm wrote: Trying to signal all the processes, all the threads, and all the event loops to close and reopen a file simultaneously simply isn't feasible or accurate enough to be useful. Each process (not thread) has an open filehandle with

Re: reopening of logs without restarting

2010-01-22 Thread Mikhail T.
22.01.2010 15:28, Akins, Brian ???(??): Each process (not thread) has an open filehandle with mod_log_config, correct? Except for the ErrorLog... Perhaps, that handle is reachable from a module somehow too? -mi

Re: [VOTE] Release httpd 2.3.5-alpha

2010-01-22 Thread Jeff Trawick
On Thu, Jan 21, 2010 at 5:34 PM, Paul Querna p...@querna.org wrote: Test tarballs for Apache httpd 2.3.5-alpha are available at:  http://httpd.apache.org/dev/dist/ Your votes please;  +/- 1  [+1]  Release httpd-2.3.5 as Alpha tested with -deps tarball and Event MPM on OpenSolaris

Re: mod_fcgid versioning question

2010-01-22 Thread Chris Darroch
Jeff Trawick wrote: mod_fcgid doesn't currently provide a callable API. There are no public functions or structures. That's what I thought, but it's great to have it confirmed. 2.3.4 is GA already. 2.3.5 is being tested now and hopefully will be a GA too. Plz hold off on any serious

Re: reopening of logs without restarting

2010-01-22 Thread Brian J. France
On Jan 22, 2010, at 3:15 PM, Mikhail Teterin wrote: 22.01.2010 14:50, Brian J. France ???(??): I was going to bring up the patch during the Monday/Tuesday hack days along with a few others. Can you send me the patch directly /today/? Thanks! Here is the patch:

Re: reopening of logs without restarting

2010-01-22 Thread Graham Leggett
On 22 Jan 2010, at 10:26 PM, Akins, Brian wrote: What you're probably after are piped logs: The amount of context switches this can create is almost mind boggling... My experience with this has been on multiprocessor RHEL machines, the cost of piped logging in our case was minimal. If

Re: reopening of logs without restarting

2010-01-22 Thread Graham Leggett
On 22 Jan 2010, at 10:28 PM, Akins, Brian wrote: Trying to signal all the processes, all the threads, and all the event loops to close and reopen a file simultaneously simply isn't feasible or accurate enough to be useful. Each process (not thread) has an open filehandle with

Re: svn commit: r898102 - in /httpd/httpd/trunk: CHANGES include/ap_mmn.h include/util_ldap.h modules/ldap/util_ldap.c

2010-01-22 Thread Eric Covener
URL: http://svn.apache.org/viewvc?rev=898102view=rev Log: Introduce new config option LDAPTimeout to set the timeout for operations like bind and search. For operations other than search, the support of the timeout depends on the LDAP SDK supporting LDAP_OPT_TIMEOUT (e.g. OpenLDAP = 2.4.4).

Re: svn commit: r898102 - in /httpd/httpd/trunk: CHANGES include/ap_mmn.h include/util_ldap.h modules/ldap/util_ldap.c

2010-01-22 Thread Eric Covener
On Fri, Jan 22, 2010 at 6:36 PM, Eric Covener cove...@gmail.com wrote: URL: http://svn.apache.org/viewvc?rev=898102view=rev Log: Introduce new config option LDAPTimeout to set the timeout for operations like bind and search. For operations other than search, the support of the timeout

Re: [VOTE] release mod_fcgid-2.3.5

2010-01-22 Thread Chris Darroch
Jeff Trawick wrote: mod_fcgid users, please try out mod_fcgid-2.3.5.tar.gz (or .tar.bz2) or the win32/netware suitable package mod_fcgid-2.3.5-crlf.zip from http://httpd.apache.org/dev/dist/mod_fcgid/ and cast your vote: +1 to release as 2.3.5-GA Chris. -- GPG Key ID: 366A375B GPG Key