From 22c7a8db2325c054dbfa404ce55d48802799727b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Sun, 29 Apr 2012 02:01:14 -0700 Subject: [PATCH] Increase default memory limit in ./run file --- run | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run b/run index a6d0c6b..53878c7 100755 --- a/run +++ b/run @@ -2,7 +2,9 @@ QMAILDUID=`id -u smtpd` NOFILESGID=`id -g smtpd` LANG=C -exec /usr/local/bin/softlimit -m 75000000 \ +# by default limit qpsmtpd to 150MB memory which should be several +# times what is needed. +exec /usr/local/bin/softlimit -m 150000000 \ /usr/local/bin/tcpserver -c 10 -v -R -p \ -u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \ ./qpsmtpd 2>&1