Increase default memory limit in ./run file
This commit is contained in:
parent
45ebc51c02
commit
22c7a8db23
4
run
4
run
@ -2,7 +2,9 @@
|
|||||||
QMAILDUID=`id -u smtpd`
|
QMAILDUID=`id -u smtpd`
|
||||||
NOFILESGID=`id -g smtpd`
|
NOFILESGID=`id -g smtpd`
|
||||||
LANG=C
|
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 \
|
/usr/local/bin/tcpserver -c 10 -v -R -p \
|
||||||
-u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
|
-u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
|
||||||
./qpsmtpd 2>&1
|
./qpsmtpd 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user