Hi,
I've got a client on an underpowered box (Duron 1100) on whcih I'm
running qpsmtpd 0.31. Load averages are ~5 permanently with 50/50
tcpserver connections.
I'm using the following run command:
#!/bin/sh
QMAILDUID=`id -u qpsmtpd`
NOFILESGID=`id -g qpsmtpd`
PORT=25
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
QPSMTPD_DIR=/var/qpsmtpd/0.31.1
cd $QPSMTPD_DIR
HOST=`head -1 config/IP`
exec /usr/local/bin/softlimit -m 25000000 \
/usr/local/bin/tcpserver -v -R -p \
-x /etc/tcp.smtp.cdb \
-c $MAXSMTPD \
-u $QMAILDUID \
-g $NOFILESGID \
$HOST $PORT \
./qpsmtpd 2>&1
(I have a separate supervise directory in
/var/qpsmtpd/supervise/qpsmtpd, hence the cd $QPSMTPD_DIR)
How would I change this to use PPerl?
Is it worth me trying the high_perf branch?
Thanks for any help,
R.
--
http://robinbowes.com
If a man speaks in a forest,
and his wife's not there,
is he still wrong?