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 2011/12/02 05:31:15 UTC

DO NOT REPLY [Bug 52275] New: memory leak in proxy_ajp_handler

https://issues.apache.org/bugzilla/show_bug.cgi?id=52275

             Bug #: 52275
           Summary: memory leak in proxy_ajp_handler
           Product: Apache httpd-2
           Version: 2.3.15-beta
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_ajp
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: naohiro.ooiwa@miraclelinux.com
    Classification: Unclassified


Created attachment 28017
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28017
remove-potential-for-memory-leak-in-mod_proxy_ajp.patch

Hello,

I use mod_proxy_ajp with keepalive connection.

When the client continued to request to the connection,
RSS of httpd has increased by 16 Kbytes per minute.

I found a memory leak in proxy_ajp_handler.
And I found r707163 in trunk too.

I attach a patch what I made based on r707163.
I confirmed that the memory leak is fixed by this patch.
Therefore, we should merge this fix to proxy_ajp_handler.

Please check my patch.

Regards,
Naohiro Ooiwa

-- 
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


[Bug 52275] memory leak in proxy_ajp_handler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52275

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #2 from Stefan Fritsch <sf...@sfritsch.de> ---
fixed in trunk r1334343

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 52275] memory leak in proxy_ajp_handler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52275

Naohiro Ooiwa <na...@miraclelinux.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28017|0                           |1
           is patch|                            |
  Attachment #28017|application/octet-stream    |text/plain
          mime type|                            |

-- 
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


DO NOT REPLY [Bug 52275] memory leak in proxy_ajp_handler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52275

Naohiro Ooiwa <na...@miraclelinux.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Platform|PC                          |All

-- 
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


[Bug 52275] memory leak in proxy_ajp_handler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52275

--- Comment #3 from Rainer Jung <ra...@kippdata.de> ---
Ported back to 2.4 as r1368450.
Released with 2.4.3.
Should probably be ported back to 2.2 as well.

-- 
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


DO NOT REPLY [Bug 52275] memory leak in proxy_ajp_handler

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52275

--- Comment #1 from Naohiro Ooiwa <na...@miraclelinux.com> 2012-03-28 04:29:13 UTC ---
Hi all

I tried to request stress test on the one session to the apache.
The memory leak of about 600 Kbytes per second had occurred.

And I tried to use mod_jk instead of mod_proxy_ajp.
In this case, the memory leak didn't happen.

Regards,
Naohiro Ooiwa

-- 
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