WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Linux, UNIX, Open Source (http://www.wcm.at/forum/forumdisplay.php?f=13)
-   -   clamav, amavis, spamassasin & co memory usage in testing (http://www.wcm.at/forum/showthread.php?t=242058)

boo 12.05.2011 10:45

clamav, amavis, spamassasin & co memory usage in testing
 
Servus,

nachdem die aktualisierten Debian testing Versionen enorm viel mehr Speicher brauchen hab ich die /etc/init.d scripts jetzt so abgeändert,
dass sie nur noch 35MB RAM bekommen.

In der "start" sektion des init scripts ein ulimit -m 35 vor start-stop-daemon setzen, e.g. spamassassin:
Zitat:

case "$1" in
start)
echo -n "Starting $DESC: "
ulimit -m 35 start-stop-daemon --start --pidfile $PIDFILE --exec $XNAME \
$NICE --oknodo --startas $DAEMON -- $OPTIONS $DOPTIONS
echo "$NAME."
;;

colossus 31.05.2011 21:03

Und das ist gut, wenn dein Daemon durch ein signal verreckt, wenn er "zu viel" Speicher allokiert? ;)


Alle Zeitangaben in WEZ +2. Es ist jetzt 20:49 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag