RT memory usage

Dear list, we are running RT on a xen virtual machine running Debian
etch (4.0), Linux rt.outernet 2.6.18-4-xen-686 #1 SMP Thu May 10
03:24:35 UTC 2007 i686 GNU/Linux

the VM had 256M RAM and a default apache installation. Versions of
apache and RT packages:
ii apache2 2.2.3-4+etch4 Next generation, scalable,
extendable web server
ii apache2-mpm-worker 2.2.3-4+etch4 High speed threaded model for
Apache HTTPD 2.1
ii apache2-utils 2.2.3-4+etch4 utility programs for
webservers
ii apache2.2-common 2.2.3-4+etch4 Next generation, scalable,
extendable web server
ii rt3.6-apache2 3.6.4-1 Apache 2 specific files for
request-tracker3
ii rt3.6-clients 3.6.4-1 Mail gateway and command-line ii

Because of out of memory problems we:

  • increased memory to 512M
  • limited the number of apache processes to 3 (including the root-owned
    process)
  • ran apt-get upgrade libdbix-searchbuilder-perl (it went from 1.49 to
    1.53)

Now, after a reboot, 320 MB is free. After a couple of small browsing
sessions free memory stabilizes around 130 MB. One day later it is still
80 MB, but I have a feeling where this is going.

Are there more suggestions you can give me to make RT / apache2 eating
all the memory?

Regards,
Karel

Strip apache of as many modules you can-----Original Message-----
From: Karel Vervaeke karel@outerthought.org

Date: Thu, 10 Jul 2008 08:21:14
To: rt-users@lists.bestpractical.com
Cc: all allall@outerthought.org
Subject: [rt-users] RT memory usage

Dear list, we are running RT on a xen virtual machine running Debian
etch (4.0), Linux rt.outernet 2.6.18-4-xen-686 #1 SMP Thu May 10
03:24:35 UTC 2007 i686 GNU/Linux

the VM had 256M RAM and a default apache installation. Versions of
apache and RT packages:
ii apache2 2.2.3-4+etch4 Next generation, scalable,
extendable web server
ii apache2-mpm-worker 2.2.3-4+etch4 High speed threaded model for
Apache HTTPD 2.1
ii apache2-utils 2.2.3-4+etch4 utility programs for
webservers
ii apache2.2-common 2.2.3-4+etch4 Next generation, scalable,
extendable web server
ii rt3.6-apache2 3.6.4-1 Apache 2 specific files for
request-tracker3
ii rt3.6-clients 3.6.4-1 Mail gateway and command-line ii

Because of out of memory problems we:

  • increased memory to 512M
  • limited the number of apache processes to 3 (including the root-owned
    process)
  • ran apt-get upgrade libdbix-searchbuilder-perl (it went from 1.49 to
    1.53)

Now, after a reboot, 320 MB is free. After a couple of small browsing
sessions free memory stabilizes around 130 MB. One day later it is still
80 MB, but I have a feeling where this is going.

Are there more suggestions you can give me to make RT / apache2 eating
all the memory?

Regards,
Karel
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Karel Vervaeke wrote:

Are there more suggestions you can give me to make RT / apache2 eating
all the memory?

The standard reply to “Apache uses too much memory” is “use FastCGI”.
See http://wiki.bestpractical.com/view/FastCGI for pages to help you
reconfigure along those lines. That said, Chaim’s response should be
taken seriously anyway: any Apache modules that you are not actually
using should NOT be loaded/configured.

Lower MaxRequestsPerChild apache’s directive.On Thu, Jul 10, 2008 at 10:21 AM, Karel Vervaeke karel@outerthought.org wrote:

Dear list, we are running RT on a xen virtual machine running Debian
etch (4.0), Linux rt.outernet 2.6.18-4-xen-686 #1 SMP Thu May 10
03:24:35 UTC 2007 i686 GNU/Linux

the VM had 256M RAM and a default apache installation. Versions of
apache and RT packages:
ii apache2 2.2.3-4+etch4 Next generation, scalable,
extendable web server
ii apache2-mpm-worker 2.2.3-4+etch4 High speed threaded model for
Apache HTTPD 2.1
ii apache2-utils 2.2.3-4+etch4 utility programs for
webservers
ii apache2.2-common 2.2.3-4+etch4 Next generation, scalable,
extendable web server
ii rt3.6-apache2 3.6.4-1 Apache 2 specific files for
request-tracker3
ii rt3.6-clients 3.6.4-1 Mail gateway and command-line ii

Because of out of memory problems we:

  • increased memory to 512M
  • limited the number of apache processes to 3 (including the root-owned
    process)
  • ran apt-get upgrade libdbix-searchbuilder-perl (it went from 1.49 to
    1.53)

Now, after a reboot, 320 MB is free. After a couple of small browsing
sessions free memory stabilizes around 130 MB. One day later it is still
80 MB, but I have a feeling where this is going.

Are there more suggestions you can give me to make RT / apache2 eating
all the memory?

Regards,
Karel


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.