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
How much memory eats OTRS 4.0.6?
Moderator: crythias
Re: How much memory eats OTRS 4.0.6?
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
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