httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43897] Huge memory consumption httpd 2.2.6, mod_proxy - memory leak?
Date Wed, 02 Apr 2008 23:53:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=43897





--- Comment #6 from Rob <rstilmar@novell.com>  2008-04-02 16:53:24 PST ---
I had a similar problem with 2.2.6, using reverse proxy with persistent
connections on windows. I traced it to:

ap_proxy_connect_backend(...)
        if (!(connected = is_socket_connected(conn->sock))) {
             apr_socket_close(conn->sock);
                .....


is_socket_connected() returns 0 on the 'connected/persistent' socket (problem
1)

The sequence that then 'reopens' the socket doesn't clear the memory pool in 
proxy_conn_rec so memory assigned (from the apr_socket_create) to the pool just
accumulates (about 16k/req) until it gets an error (problem 2). 


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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message