building system's libmilter with poll() support?

2008-01-02 Thread Vivek Khera
What's the procedure to configure buildworld to get sendmail to build libmilter using poll() instead of select()? There is discussion on the postfix mailing list that some high-load performance issues could be solved by switching this, but the fix was to hack the libmilter header file to

Re: building system's libmilter with poll() support?

2008-01-02 Thread Vivek Khera
On Jan 2, 2008, at 11:08 AM, Gregory Shapiro wrote: What's the procedure to configure buildworld to get sendmail to build libmilter using poll() instead of select()? Add this to /etc/make.conf: SENDMAIL_CFLAGS+=-D_FFR_WORKERS_POOL [ ... ] Note that bug 118824 has already asked for this to

Re: building system's libmilter with poll() support?

2008-01-02 Thread Vivek Khera
On Jan 2, 2008, at 11:08 AM, Gregory Shapiro wrote: SENDMAIL_CFLAGS+=-D_FFR_WORKERS_POOL Do I want this one or just -DSM_CONF_POLL ? I'm running into issues with postfix failing to connect to the milter because it is too busy (specifically the dkim milter) and one theory was to use poll

Re: building system's libmilter with poll() support?

2008-01-02 Thread Jose-Marcio Martins da Cruz
Vivek Khera wrote: What's the procedure to configure buildworld to get sendmail to build libmilter using poll() instead of select()? There is discussion on the postfix mailing list that some high-load performance issues could be solved by switching this, but the fix was to hack the libmilter

Re: building system's libmilter with poll() support?

2008-01-02 Thread Gregory Shapiro
SENDMAIL_CFLAGS+=-D_FFR_WORKERS_POOL Do I want this one or just -DSM_CONF_POLL ? It would probably be safest to just use -DSM_CONF_POLL as that has had more testing and will get by the select() limits on fd_set. ___ freebsd-stable@freebsd.org mailing

Re: building system's libmilter with poll() support?

2008-01-02 Thread Gregory Shapiro
What's the procedure to configure buildworld to get sendmail to build libmilter using poll() instead of select()? Add this to /etc/make.conf: SENDMAIL_CFLAGS+=-D_FFR_WORKERS_POOL And then rebuild/reinstall libmilter: cd /usr/src/lib/libmilter/ make clean make depend make make install Note