Apache memory consumption

Moderator: crythias

Locked
peters
Znuny newbie
Posts: 19
Joined: 02 Oct 2012, 15:18
Znuny Version: 5.0.15
Real Name: Peter S

Apache memory consumption

Post by peters »

Hello, we are using Apache 2.2.15 on Centos6.8 with MPM model (prefork.c) and more or less default configuration.
After 1-2 day usage (20 agents), the memory consumption rises to 2+GB of RAM and start swapping. Is this common behavior, or is some Apache tuning needed?
In case we restart Apache gracefully (while the same agents are connected), the RAM usage of Apache goes down, more than by 1-1,5GB.
What is best practice in this case?
We tried to use Nginx instead, but failed while loading huge tickets with more then 50-70 articles and therefore stayed with Apache.

Thank you
Peter
OTRS 5.0.15 on Centos 6 and Postgresql 9.1
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Apache memory consumption

Post by jojo »

you should add more RAM to your machine
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
peters
Znuny newbie
Posts: 19
Joined: 02 Oct 2012, 15:18
Znuny Version: 5.0.15
Real Name: Peter S

Re: Apache memory consumption

Post by peters »

We already have 4GB and it's 32bit machine... Probably need to move to 64bit.
OTRS 5.0.15 on Centos 6 and Postgresql 9.1
Locked