[help]strange problem about gethostbyname/getaddrinfo

stutiredboy stutiredboy at gmail.com
Tue Dec 23 18:31:06 PST 2008


Hajimu UMEMOTO 写道:
> 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/
>   
hi, thanks for your response, but the testing server we use is FreeBSD 6.3,
%uname -a
FreeBSD localhost 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 
04:45:45 UTC 2008 root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

Best Wishes !



More information about the freebsd-net mailing list