How much memory eats OTRS 4.0.6?

Moderator: crythias

Locked
zbigniew
Znuny newbie
Posts: 53
Joined: 11 Dec 2014, 13:30
Znuny Version: 5.0.23
Real Name: Zbigniew Luszpinski

How much memory eats OTRS 4.0.6?

Post by zbigniew »

Hello,

just wondering how much memory eats OTRS? So far it ate 1.4GB for 1 user and always used memory is growing. Never goes down so wonder if otrs4 is not memory leaking.
CentOS Linux release 7.1.1503 (Core)
OTRS 4.0.6+ITSM4.0.6

ps -A --sort -rss -o comm,pmem | head -n 11
COMMAND %MEM
/usr/sbin/httpd 5.4
/usr/sbin/httpd 5.3
/usr/sbin/httpd 5.2
/usr/sbin/httpd 5.2
/usr/sbin/httpd 5.2
/usr/sbin/httpd 5.0
/usr/sbin/httpd 4.9
/usr/sbin/httpd 4.9
/usr/sbin/httpd 4.9
/usr/sbin/httpd 4.7
EXG133
Znuny expert
Posts: 217
Joined: 06 Aug 2012, 18:12
Znuny Version: 3.1.7 & 4.04

Re: How much memory eats OTRS 4.0.6?

Post by EXG133 »

htop reports that fresh thread of apache uses about 250MB RAM. When it's killed off it's around 400MB.
Right now there are 15 apache threads so roughly 5GB total in use. As a comparison (16GB VM):

[user@server ~]$ ps -A --sort -rss -o comm,pmem | head -n 19
COMMAND %MEM
httpd 2.4
httpd 2.3
httpd 2.0
httpd 2.0
httpd 1.9
httpd 1.9
httpd 1.9
httpd 1.9
httpd 1.8
httpd 1.8
httpd 1.8
httpd 1.8
httpd 1.8
httpd 1.8
httpd 1.5
puppetd 0.8
httpd 0.6
otrs.Scheduler. 0.2


By default OTRS kills a thread after 4000 requests, see apache2-httpd.include.conf :


# Limit the number of requests per child to avoid excessive memory usage
MaxRequestsPerChild 4000
Locked