DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44026>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44026





------- Additional Comments From [EMAIL PROTECTED]  2007-12-19 04:41 -------
Thanks for the error log and the pmap file. To be honest currently I do not see
the memory usage going somewhere to the size you described (10 GB RSS). The pmap
file showed "only" about 256 MB. Given that you have 8 processes we end up with
about 2 GB in total and that is not even RSS.
Nevertheless I think I identified another leak. Could you please try the
following *additional* patch on top of my last one and let me know the results?

Index: proxy_util.c
===================================================================
--- proxy_util.c        (revision 605503)
+++ proxy_util.c        (working copy)
@@ -1655,7 +1655,7 @@
     if (conn->close || !worker->is_address_reusable) {
         apr_pool_t *p = conn->pool;
         apr_pool_clear(p);
-        memset(conn, 0, sizeof(proxy_conn_rec));
+        conn = apr_pcalloc(p, sizeof(proxy_conn_rec));
         conn->pool = p;
         conn->worker = worker;
         apr_pool_create(&(conn->scpool), p);
@@ -1743,7 +1743,7 @@
      */
     apr_pool_create(&scpool, ctx);
     apr_pool_tag(scpool, "proxy_conn_scpool");
-    conn = apr_pcalloc(pool, sizeof(proxy_conn_rec));
+    conn = apr_pcalloc(ctx, sizeof(proxy_conn_rec));
 
     conn->pool   = ctx;
     conn->scpool = scpool;


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to