John Peacock wrote:
Someone who understands the Danga code would be best. ;-)
Matt committed a few changes and now './qpsmtpd' works again. 'qpsmtpd
--forkmode' and 'qpsmtpd-forkserver' also work, but the former spews
lines like this:
2005-12-30 16:06:46.829386500 epoll() returned fd 6 w/ state 1 for which we
have no mapping. removing.
but delivers the messages anyways, and the latter is 2.5 seconds slower
processing 10 messages in parallel than the basic pollserver:
qpsmtpd
16:14:20.952686
16:14:27.254697
6.302011 seconds
qpsmtpd-forkserver
16:09:07.836020
16:09:16.710305
8.874285 seconds
However, it seems like the 0.3x code is still faster than either:
qpsmtpd-forkserver (0.3x)
16:30:43.752910
16:30:49.281008
5.528098
though I suspect that the poll() implementation will scale better.
Assume these test numbers are not accurate since I was running both the
server and the test client on the same box. I'll rerun with multiple
boxes later.
Also, I still haven't rewritten the AV or auth_vpopmail_sql to be
poll()-aware, so those are still commented out.
John