Help on debug an apache module

2009-08-04 Thread Jorge Bastos
Hi people, Sorry if this is not the correct place for this post. I have some crashes with the libphp5.so, the thing is, if I start apache using gdb, I don't have any info available, just what I'm going to show below: Is there a best way to debug the module (libphp5.so)? On the kernel

Re: svn commit: r799334 - /httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c

2009-08-04 Thread jean-frederic clere
On 08/03/2009 08:02 PM, Paul Querna wrote: On Thu, Jul 30, 2009 at 8:37 AM,jfcl...@apache.org wrote: Author: jfclere Date: Thu Jul 30 15:37:22 2009 New Revision: 799334 URL: http://svn.apache.org/viewvc?rev=799334view=rev Log: Add the file logic for the handler. (Next step add the slotmem

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Petr Hracek
I have found in following link: (http://wiki.apache.org/httpd/ModuleLife) Race conditions during graceful restart During a graceful restart, old children are still serving old requests while new children are serving new requests. If the same lock must be used by old and new children, then the

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Graham Dumpleton
2009/8/4 Petr Hracek phrac...@gmail.com: I have found in following link: (http://wiki.apache.org/httpd/ModuleLife) Race conditions during graceful restart During a graceful restart, old children are still serving old requests while new children are serving new requests. If the same lock must

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Ruediger Pluem
On 08/04/2009 09:02 AM, Graham Dumpleton wrote: 2009/8/4 Petr Hracek phrac...@gmail.com: I have found in following link: (http://wiki.apache.org/httpd/ModuleLife) Race conditions during graceful restart During a graceful restart, old children are still serving old requests while new

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Graham Dumpleton
2009/8/4 Ruediger Pluem rpl...@apache.org: On 08/04/2009 09:02 AM, Graham Dumpleton wrote: 2009/8/4 Petr Hracek phrac...@gmail.com: I have found in following link: (http://wiki.apache.org/httpd/ModuleLife) Race conditions during graceful restart During a graceful restart, old children are

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Graham Dumpleton
2009/8/4 Graham Dumpleton graham.dumple...@gmail.com: 2009/8/4 Ruediger Pluem rpl...@apache.org: On 08/04/2009 09:02 AM, Graham Dumpleton wrote: 2009/8/4 Petr Hracek phrac...@gmail.com: I have found in following link: (http://wiki.apache.org/httpd/ModuleLife) Race conditions during

Re: Catching graceful restart in apache2 module

2009-08-04 Thread Petr Hracek
That's true. I have some changes and this function returns always. In my post_config handler function I have following code: if(!ap_graceful_stop_signalled()) { ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, base_server, !!! Graceful has not been called therefor kill all