Re: Server Shutdown and register_cleanup

2006-08-25 Thread Graham Dumpleton
David Fraser wrote .. > Trying to find relevant info on this from the Apache docs and other > module documentation: > http://httpd.apache.org/docs/2.2/stopping.html#gracefulstop > talks about advising children to exit after their current request. In > this case it would seem the cleanup methods s

Re: Server Shutdown and register_cleanup

2006-08-25 Thread David Fraser
Jim Gallacher wrote: > David Fraser wrote: >> Jim Gallacher wrote: >>> David Fraser wrote: Hi I thought it would be good to take this across to python-dev. I've read through https://issues.apache.org/jira/browse/MODPYTHON-109?page=all and the discussion in ht

Re: [jira] Updated: (MODPYTHON-184) Memory leak apache.table()

2006-08-25 Thread Jim Gallacher
Graham Dumpleton (JIRA) wrote: [ http://issues.apache.org/jira/browse/MODPYTHON-184?page=all ] Graham Dumpleton updated MODPYTHON-184: --- Attachment: MP184-2006-08-25-grahamd-1.diff Jim, can you test out this patch for the leak. It does away with t

Re: Server Shutdown and register_cleanup

2006-08-25 Thread Graham Dumpleton
On 26/08/2006, at 6:22 AM, Jim Gallacher wrote: There was a question on the mod_python list regarding mpcp, which provides a mod_python handler for cherrypy. Out of curiosity I took a look at mpcp. Low and behold, they use req.server.register_cleanup to stop the cherrypy server. I'm beco