[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-522) Memory leak in processing MCMP, wrong apr pool used for allocation

Michal Karm Babacek (Jira) issues at jboss.org
Wed Feb 27 04:20:00 EST 2019


    [ https://issues.jboss.org/browse/MODCLUSTER-522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13701158#comment-13701158 ] 

Michal Karm Babacek commented on MODCLUSTER-522:
------------------------------------------------

Hello, [~chandrajboss9],
currently we are distributing only Windows builds on https://ci.modcluster.io/job/mod_proxy_cluster-2.x-windows/
for Linux, you are going to have to compile mod_cluster yourself.
It is fairly straightforward though: https://modcluster.io/examples/#apache-http-server-examples

Cheers
Karm

> Memory leak in processing MCMP, wrong apr pool used for allocation
> ------------------------------------------------------------------
>
>                 Key: MODCLUSTER-522
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-522
>             Project: mod_cluster
>          Issue Type: Bug
>          Components: Native (httpd modules)
>    Affects Versions: 1.3.1.Final, 2.0.0.Alpha1
>         Environment: Solaris 10 x86_64, RHEL 6, Fedora 24, httpd 2.4.6, httpd 2.4.20
>            Reporter: Michal Karm Babacek
>            Assignee: Jean-Frederic Clere
>            Priority: Critical
>             Fix For: 1.3.5.Final
>
>         Attachments: mod_cluster-mem.jpg, mod_cluster-mem1.jpg
>
>
> There seems to be a wrong apr pool used for processing certain MCMP commands. We should use short life span pools for immediate processing and server-lifetime pools only for really persistent configuration.  In the current state, with 20+ tomcat workers (1 alias and 1 context each) and virtually no client requests, we could see slow, but steady growth of heap allocated memory.
> TODO: Investigate the offending logic, make sure we ain't using long-lived pools for immediate processing.
> Originally discovered by: [~j_sykora] and [~jmsantuci]
> Illustrative memory overview - with constant number of Tomcats:
>  



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the mod_cluster-issues mailing list