On Wed, May 04, 2005 at 11:13:26AM -0400, John Peacock wrote: > Robert Spier wrote: > >Unless the limit is very low, this sounds unlikely to me. > > Doesn't softlimit apply to all of the child processes as well as the > parent? Of course, we're assuming that Justin is running it that way (I > am, but I don't assume everyone is).
Nope. We're not using softlimit although we did before we switched to qpsmtpd-forkserver though. If it helps, our current 'run' script is: #!/bin/sh QMAILDUID=`id -u smtpd` NOFILESGID=`id -g smtpd` STARTPROC=200 MAXCONNPERIP=4 SERVICE=smtp # Set reasonable ulimits ulimit -n 4096 ulimit -c 20000000 # Change to ~smtpd/qpsmtpd first. cd /home/smtpd/qpsmtpd ./qpsmtpd-forkserver -p 25 -m $MAXCONNPERIP -c $STARTPROC 2>&1 We've set no other limits on memory or such. Thanks! -- justin
