Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2008 10:31:00 +0800
From:      stutiredboy <stutiredboy@gmail.com>
To:        Hajimu UMEMOTO <ume@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [help]strange problem about gethostbyname/getaddrinfo
Message-ID:  <49519EE4.7040109@gmail.com>
In-Reply-To: <yge3agnnpdd.wl%ume@mahoroba.org>
References:  <a35775750812092148w6f3e835agd484dc6590299564@mail.gmail.com> <yge3agnnpdd.wl%ume@mahoroba.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO 写道:
> 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/
>   
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@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386

Best Wishes !




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49519EE4.7040109>