This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: accept() FreeBSD hangs when out of resources




Andrew Lunn wrote:
On Mon, Jun 11, 2007 at 04:05:57PM -0800, Tad wrote:
Andrew Lunn wrote:
On Mon, Jun 11, 2007 at 03:42:07PM -0800, Tad wrote:
accept() won't return and won't timeout (>12hrs) when listen() indicates a new connection, if out of sockets/file-descriptors and all TCP connections are in ESTABLISHED state.
Where exactly is it blocked. Please could you provide a call stack.
more info.
seems to be dependent on CYGNUM_FILEIO_NFILE rather than CYGPKG_NET_MAXSOCKETS. reducing NFILE < MAXSOCKETS causes accept to hang with fewer established connections than before reduction.



-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]