From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 10 08:09:19 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC804106564A for ; Wed, 10 Dec 2008 08:09:19 +0000 (UTC) (envelope-from rdivacky@lev.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 92CD38FC12 for ; Wed, 10 Dec 2008 08:09:18 +0000 (UTC) (envelope-from rdivacky@lev.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D049B9CB1C5; Wed, 10 Dec 2008 09:04:34 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9dup-VmZn39m; Wed, 10 Dec 2008 09:04:32 +0100 (CET) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4D8249CB208; Wed, 10 Dec 2008 09:04:32 +0100 (CET) Received: (from rdivacky@localhost) by lev.vlakno.cz (8.14.2/8.14.2/Submit) id mBA84WbN030029; Wed, 10 Dec 2008 09:04:32 +0100 (CET) (envelope-from rdivacky) Date: Wed, 10 Dec 2008 09:04:31 +0100 From: Roman Divacky To: Cheng Renquan Message-ID: <20081210080431.GA29866@freebsd.org> References: <91b13c310812092236j7063f177yafd83948a891ea76@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91b13c310812092236j7063f177yafd83948a891ea76@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: ????????? , freebsd-hackers@freebsd.org Subject: Re: [help]strange problem about gethostbyname/getaddrinfo X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 08:09:19 -0000 On Wed, Dec 10, 2008 at 02:36:27PM +0800, Cheng Renquan wrote: > On Wed, Dec 10, 2008 at 1:57 PM, ????????? wrote: > > hi,all,we have a project which must resolv some domains in the server > > process > > our system in FreeBSD 6.2 or 6.3, the server process may open 7000+ > > sockets,not fork > > we have set the maxopensockets as 65536,as follows: > > Use strace to trace it, I personally found strace on fbsd to lie to me everytime. I'd avoid that and use ktrace/kdump instead...