Spaze wrote:
I'm running pperl as I'm little concerned about the pure perl server
performance and haven't tried forkserver as there's no word about it
anywhere ;)

The only issue I ever had with pperl was forgetting that it kept things loaded (and hence I couldn't always tweak plugins on the fly).


On the subject of forkserver, here is my run file:

#!/bin/sh
exec 2>&1 \
envdir ./env \
sh -c '
    exec \
        softlimit ${DATALIMIT+"-d$DATALIMIT"} \
        perl5.8.1 -T ./qpsmtpd-forkserver \
        --listen-address "${IP-0}" \
        --port "${PORT-25}" \
        --limit-connections "${MAXCLIENTS-15}" \
        --user "${QPUSER-smtpd}"
'

where I have ./env entries for

        DATALIMIT  IP  MAXCLIENTS  PORT  QPUSER

with the appropriate values. I've been very happy with it, but then again I haven't done any metrics to see if it is faster/slower than pperl...

John

Reply via email to