[asterisk-users] exceeds the maximum size of ast_fdset error on Asterisk-1.8.0

Tilghman Lesher tilghman at meg.abyt.es
Tue Feb 1 12:11:28 CST 2011


On Tuesday 01 February 2011 02:24:20 Benny Amorsen wrote:
> Tilghman Lesher <tilghman at meg.abyt.es> writes:
> > Correct; and Asterisk needs to be started as root, even if it will
> > drop privileges after startup.  Do this, and there should be no
> > problems.
> 
> Starting as root + dropping privileges is fine. Running configure as
> root is not so fine; that basically makes building RPMS impossible.

Alternatively, if you can set "ulimit -n 32768" in your RPM build
environment (this needs to be set as a login requirement), you can sidestep
the need for configure to run as root.  The only reason it needs root is to
expand the file descriptor limit so it can test using a file descriptor
beyond 1023 (the usual limit).

-- 
Tilghman



More information about the asterisk-users mailing list