Date: Tue, 18 Dec 2007 17:52:54 +0300 (MSK) From: Vsevolod Stakhov <vsevolod@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: misc/118824: libmilter in FreeBSD is using select (3) by default that has FD_SETSIZE restriction on descriptor's number Message-ID: <20071218145254.3FC21294@mailsupport.rambler.ru> Resent-Message-ID: <200712181510.lBIFA1Ix028553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071218145254.3FC21294>