Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-522

Memory leak in processing MCMP, wrong apr pool used for allocation

XMLWordPrintable

      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: rbcz_jsykora and jmsantuci_jira

      Illustrative memory overview - with constant number of Tomcats:

        1. screenshot-1.png
          screenshot-1.png
          80 kB
        2. mod_cluster-mem1.jpg
          mod_cluster-mem1.jpg
          102 kB
        3. mod_cluster-mem.jpg
          mod_cluster-mem.jpg
          106 kB

              rhn-engineering-jclere Jean-Frederic Clere
              mbabacek1@redhat.com Karm Karm
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: