[PATCH] apr_memcache memory leak with persistent connections

2009-01-05 Thread Sami Tolvanen
Hello all, We ran into a problem with apr_memcache after upgrading from httpd 2.0 to 2.2. Depending on the TTL passed to apr_memcache_server_create in our Apache module, we were either leaking lots of memory or grinding to a halt a few seconds after httpd was started due to an overwhelming number

Re: [PATCH] apr_memcache memory leak with persistent connections

2009-01-05 Thread Bojan Smojver
On Mon, 2009-01-05 at 13:07 +0200, Sami Tolvanen wrote: I would appreciate it if someone more familiar with the memcache code could review the patch and let me know if there are any gotchas with this approach. Unless there's a better way for fixing the memory leak without modifying the API, I