[ntp:bugs] [Bug 614] dup_fd code broken (ntp-dev / p252 RC)
bugzilla at ntp.isc.org
bugzilla at ntp.isc.org
Sat Jun 24 12:11:53 UTC 2006
http://bugs.ntp.isc.org/614
kardel at ntp.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CLOSED |REOPENED
Resolution|FIXED |
----------------------------------------------------------------------------
Additional Comments From kardel at ntp.org (Frank Kardel)
Submitted on 2006-06-24 12:11
As indicated in comment #10 a fixed limit may not sufficient. As it happens
FOPEN_MAX in AIX 5 is 32k - current actual limits fall below that.
This makes it necessary to follow a more generic scheme as indicated.
BTW: the initial limit in comment #10 is wrong. It should be max(0,
min(getdtablesize() - FD_CHUNK, FOPEN_MAX))
will fix that.
--
Frank Kardel <kardel at ntp.org>
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the bugs
mailing list