Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2008 18:05:18 +0900
From:      Hajimu UMEMOTO <ume@freebsd.org>
To:        "=?GB2312?B?s8LQocn6?=" <stutiredboy@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [help]strange problem about gethostbyname/getaddrinfo
Message-ID:  <yge3agnnpdd.wl%ume@mahoroba.org>
In-Reply-To: <a35775750812092148w6f3e835agd484dc6590299564@mail.gmail.com>
References:  <a35775750812092148w6f3e835agd484dc6590299564@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

>>>>> On Wed, 10 Dec 2008 13:48:51 +0800
>>>>> "=?GB2312?B?s8LQocn6?=" <stutiredboy@gmail.com> said:

stutiredboy> hi,all,we have a project which must resolv some domains in the server
stutiredboy> process
stutiredboy> our system in FreeBSD 6.2 or 6.3, the server process may open 7000+
stutiredboy> sockets,not fork

Umm, it seems your system is slightly old.  I believe 6.3-RELEASE is
okay.  But, there was a bug on 6.2 and earlier that rejected file
descriptors higher than FD_SETSIZE even when using kevent(2).

http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/resolv/res_send.c#rev1.2.2.5

Perhaps, it is your case.

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?yge3agnnpdd.wl%ume>