You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/03 06:44:31 UTC

DO NOT REPLY [Bug 28175] New: - memory leak in apache child process for proxypass

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=28175>.
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=28175

memory leak in apache child process for proxypass

           Summary: memory leak in apache child process for proxypass
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: wdstrom@erols.com


We are using Apache 2.0.49 to forward POST operations to another web server on 
the same machine.  The client is an applet that puts requests in the POST 
operation at a rate of several times/second.  The response goes back to the 
applet.  The POST is done to the same URL every time.

Apache seems to allocate memory for each POST and never releases the memory.  
After running for about a day, Apache has used about 2 GBytes of memory.  The 2 
GBytes are memory resident (not paged out).  Apache responsiveness with 2 
GBytes of memory is very slow even though the machine has 4 GBytes of memory.

There seems to be no indication of hung sockets or incomplete transactions.

More information - we are using multi-processor PCs running Windows 2000 SP3 
and we have set:
Win32DisableAcceptEx

Proxypass statements looks like:

<IfModule mod_proxy.c>
ProxyRequests On

<Proxy *>
    Order deny,allow
#    Deny from .yahoo.com
    Allow from all
</Proxy>

#
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#
ProxyVia On
ProxyPass /dfc2block2 http://dfc2appserver:7012/dfc2block2/
ProxyPass /CoMotion/ http://www.apacheserver:7787/CoMotion/
ProxyPass /network_monitor/ http://wl8/network_monitor/
ProxyPass /NetOps/ http://netopsserver:7003/NetOps/

</IfModule>
# End of proxy directives.

Apache 2.0.49 was installed with the standard Apache Windows installer and is 
running as a service.  No other modules were added.

We do not see this problem with Apache 2.0.47.  Unfortunately, we also suffered 
from the AcceptEx problem, forcing us to upgrade.

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