[help]strange problem about gethostbyname/getaddrinfo

Hajimu UMEMOTO ume at freebsd.org
Wed Dec 17 01:05:31 PST 2008


Hi,

>>>>> On Wed, 10 Dec 2008 13:48:51 +0800
>>>>> "=?GB2312?B?s8LQocn6?=" <stutiredboy at 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 at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-net mailing list