misc/118824: libmilter in FreeBSD is using select (3) by default
that has FD_SETSIZE restriction on descriptor's number
Vsevolod Stakhov
vsevolod at FreeBSD.org
Tue Dec 18 07:10:01 PST 2007
>Number: 118824
>Category: misc
>Synopsis: libmilter in FreeBSD is using select (3) by default that has FD_SETSIZE restriction on descriptor's number
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 18 15:10:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Vsevolod Stakhov
>Release: FreeBSD 7.0-BETA1 amd64
>Organization:
>Environment:
System: FreeBSD mailsupport 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Thu Oct 25 17:57:49 MSD 2007 citrin at mailsupport:/usr/obj/usr/src/sys/MAIL amd64
>Description:
Libmilter in FreeBSD is using select (3) by default that causes ERANGE faults on loaded system, when number of
descriptors that are used in milter are too high to fit in FD_SETSIZE limit.
>How-To-Repeat:
>Fix:
Build libmilter with poll (3) support by default.
--- lib/libmilter/Makefile.orig 2007-11-23 17:38:51.000000000 +0300
+++ lib/libmilter/Makefile 2007-11-23 17:39:30.000000000 +0300
@@ -14,7 +14,7 @@
.endif
# User customizations to the sendmail build environment
-CFLAGS+=${SENDMAIL_CFLAGS}
+CFLAGS+=${SENDMAIL_CFLAGS} -DSM_CONF_POLL
INCSDIR=${INCLUDEDIR}/libmilter
INCS= ${SENDMAIL_DIR}/include/libmilter/mfapi.h \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list