You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gerd Knorr <ge...@berlinonline.de> on 1998/10/07 16:40:50 UTC

mod_proxy/3161: detached proxy cache garbage collection broken

>Number:         3161
>Category:       mod_proxy
>Synopsis:       detached proxy cache garbage collection broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Oct  7 07:50:01 PDT 1998
>Last-Modified:
>Originator:     gerd.knorr@berlinonline.de
>Organization:
apache
>Release:        1.3.1
>Environment:
linux 2.0.35, RH 4.2, gcc
>Description:
The apache proxy module first forks of a new process for the detached
garbage collection (detached_proxy_garbage_coll()) and then checks if
there is anything to do (start of help_proxy_garbage_coll()).

Result is, apache forks off twice per proxyed request, which is a major
performance leak.
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]