http://thedjbway.b0llix.net/daemontools/softlimit.html


On 6/6/2016 8:39 PM, Steve Linberg wrote:

On Jun 6, 2016, at 1:21 PM, Eric <[email protected]
<mailto:[email protected]>> wrote:

Hi Steve,

My /var/qmail/supervise/submission/run is as follows:

<run>
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
export REQUIRE_AUTH=1

exec /usr/bin/softlimit -m 1280000000 \
   /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c "$MAXSMTPD" \
   -u "$QMAILDUID" -g "$NOFILESGID" 0 587 \
   $SMTPD $VCHKPW /bin/true 2>&1
</run>



Note the difference in our softlimits:
1280000000
160000000

Hi Eric. Thanks for this - and maybe I misunderstand either the scope,
or the intent, of this setting? I assumed the 160000000 figure was meant
to represent approximately 160 megabytes: 160,000,000, and that
likewise, your 1280000000 is 1.28 gigs (1,280,000,000) - am I off by a
factor of 10? Does this limit mean what I think it means?

The original setting was 64000000, or 64,000,000, unless I misplaced
something? I thought going to 128000000, and then 160000000, was going
roughly from 64megs to 128 megs to 160 megs, and that that should be
enough.

Sorry if I’m missing something stupidly obvious here…

- Steve

--
Steve Linberg, Chief Goblin
Silicon Goblin Technologies
http://silicongoblin.com
Be kind.  Remember, everyone you meet is fighting a hard battle.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to