On 19 Aug 2005, at 20:03, Matthew Harrell wrote:
Robert Spier wrote:
What does your run script look like?
#!/bin/sh
QMAILDUID=`id -u smtpd`
NOFILESGID=`id -g smtpd`
exec /usr/bin/softlimit -m 25000000 \
/usr/bin/tcpserver -c 10 -v -R -p \
-u $QMAILDUID -g $NOFILESGID `head -1 config/IP` smtp \
./qpsmtpd 2>&1
And what version is this?
I get the same problem with a similar startup script on the latest
subversion
checkout. I just figured it was a "growing" pains thing that would be
worked
out shortly and haven't updated my production machines. Here's what
I'm
starting with
cd ${QP_BIN}
${Q_BIN}/softlimit -m 25000000 \
${Q_BIN}/tcpserver -v -q -x/etc/tcp.smtp.cdb \
-u ${QPUSER} -g ${QPGROUP} ${IP} smtp \
${QP_BIN}/qpsmtpd 2>&1 ${IP} \
${Q_BIN}/tai64n | \
${Q_BIN}/setuidgid root \
${Q_BIN}/multilog s5000000 n2 ${QMAIL}/log/smtp &
Does out of memory occur immediately?
Also there's very little point running the latest version with
tcpserver - you're far better off using forkserver or the multiplexing
server.
Matt.