Re: [otrs] Memory usage rising from 4.x -> 5.0.9

2016-06-28 Thread Ralf Hildebrandt
* Martin Gruner :
> Hello Ralf,
> 
> this is strange. The biggest changes would have to be expected when upgrading 
> to OTRS 4, because there we added a centralized in-memory cache which should 
> increase performance but partly also could lead to higher memory usage. For 
> OTRS 5 there should be no such effect.
> 
> How big are your apache processes? 

10210 www-data   20   0  163M 72016 12468 S  0.0  2.3  0:04.00 
/usr/sbin/apache2 -k start
10155 www-data   20   0  161M 69604 12724 S  0.0  2.2  0:01.11 
/usr/sbin/apache2 -k start
10031 www-data   20   0  159M 67152 12452 S  0.0  2.2  0:01.48 
/usr/sbin/apache2 -k start
10209 www-data   20   0  158M 66724 12304 S  0.0  2.2  0:01.11 
/usr/sbin/apache2 -k start
10524 www-data   20   0  157M 64336 10940 S  0.0  2.1  0:01.08 
/usr/sbin/apache2 -k start
10649 www-data   20   0  155M 63860 12452 S  0.0  2.1  0:00.98 
/usr/sbin/apache2 -k start
10610 www-data   20   0  155M 63156 12412 S  0.0  2.0  0:00.72 
/usr/sbin/apache2 -k start
11086 www-data   20   0  137M 42880 10532 S  0.0  1.4  0:00.28 
/usr/sbin/apache2 -k start
 1658 root   20   0  116M 35264 22520 S  0.0  1.1  0:03.27 
/usr/sbin/apache2 -k start

> Which worker do you use (prefork)? 

prefork

> What’s the maximum requests per child setting for the processes?

MaxRequestWorkers 150

-- 
Ralf Hildebrandt   Charite Universitätsmedizin Berlin
ralf.hildebra...@charite.deCampus Benjamin Franklin
http://www.charite.de  Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Re: [otrs] Memory usage rising from 4.x -> 5.0.9

2016-06-10 Thread Martin Gruner
Hello Ralf,

this is strange. The biggest changes would have to be expected when upgrading 
to OTRS 4, because there we added a centralized in-memory cache which should 
increase performance but partly also could lead to higher memory usage. For 
OTRS 5 there should be no such effect.

How big are your apache processes? Which worker do you use (prefork)? What’s 
the maximum requests per child setting for the processes?

Best regards, 

Martin Gruner
Team Lead R

OTRS AG
Bahnhofplatz 1a
94315 Straubing

T: +49 (0)6172 681988 0
F: +49 (0)9421 56818 18
I:  www.otrs.com/

Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: 
DE256610065
Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann 
(Vorsitzender), Christopher Kuhn, Sabine Riedel

Mobile Kommunikation und transparente Prozesse - Mit der OTRS Business 
Solution™ Managed 5 schnell und ohne eigene IT-Ressourcen starten  - Jetzt neue 
Features entdecken und bestellen
https://www.otrs.com/neu-in-otrs-business-solution-5-mobile-kommunikation-transparente-prozesse/?lang=de

> Am 20.04.2016 um 16:16 schrieb Ralf Hildebrandt :
> 
> I successfully upgraded from the most recent 4.x version of OTRS to
> 5.0.9 and noticed a sudden increase in memory usage:
> 
> The machine starts to use swap, and when checking which processes
> are using the most swap I'm seeing:
> 
> otrs:~#  { date;for f in /proc/[0-9]*/status; do awk '{k[$1]=$2} END { if 
> (k["VmSwap:"]) print
> k["Pid:"],k["Name:"],k["VmSwap:"];}' $f 2>/dev/null; done | sort 
> -n ; }
> 
> Mi 20. Apr 15:55:05 CEST 2016
> 1 init 600
> ...
> 26138 otrs.Daemon.pl 8240
> 26169 /usr/sbin/apach 4964
> 26243 /usr/sbin/apach 4832
> 26311 /usr/sbin/apach 4916
> 26835 /usr/sbin/apach 5136
> 27219 /usr/sbin/apach 5136
> 27701 /usr/sbin/apach 8528
> 27711 /usr/sbin/apach 5108
> 27746 /usr/sbin/apach 5256
> 27747 /usr/sbin/apach 8532
> 
> So it's apache/mod_perl. Is that normal?
> 
> 
>
> 
> -- 
> Ralf Hildebrandt   Charite Universitätsmedizin Berlin
> ralf.hildebra...@charite.deCampus Benjamin Franklin
> http://www.charite.de  Hindenburgdamm 30, 12203 Berlin
> Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155
> -
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs