From owner-freebsd-hackers Thu Jun 7 11:55:52 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailgw3a.lmco.com (mailgw3a.lmco.com [192.35.35.24]) by hub.freebsd.org (Postfix) with ESMTP id 2656837B403 for ; Thu, 7 Jun 2001 11:55:49 -0700 (PDT) (envelope-from rick.norman@lmco.com) Received: from emss01g01.ems.lmco.com ([129.197.181.54]) by mailgw3a.lmco.com (8.8.8/8.8.8) with ESMTP id OAA14641 for ; Thu, 7 Jun 2001 14:55:47 -0400 (EDT) Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-32 #38886) id <0GEK00O01PWNCT@lmco.com> for freebsd-hackers@freebsd.org; Thu, 7 Jun 2001 11:55:35 -0700 (PDT) Received: from cui1.lmms.lmco.com ([129.197.1.64]) by lmco.com (PMDF V5.2-32 #38886) with ESMTP id <0GEK00EVMPWI42@lmco.com> for freebsd-hackers@freebsd.org; Thu, 07 Jun 2001 11:55:30 -0700 (PDT) Received: from lmco.com (CONNECTICUT1.lmms.lmco.com [129.197.23.84]) by cui1.lmms.lmco.com (8.11.0/8.9.2) with ESMTP id f57ItSA10972 for ; Thu, 07 Jun 2001 11:55:28 -0700 (PDT) Date: Thu, 07 Jun 2001 11:55:43 -0700 From: rick norman Subject: Re: read(2) and ETIMEDOUT To: freebsd-hackers@freebsd.org Message-id: <3B1FCE2F.8B20E1EC@lmco.com> MIME-version: 1.0 X-Mailer: Mozilla 4.77 [en] (WinNT; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en References: <20010607171501.S50444@pobox.com> <200106071653.f57Grsn73369@earth.backplane.com> <20010607180011.U50444@pobox.com> <200106071733.f57HXov74249@earth.backplane.com> <20010607183535.X50444@pobox.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've seen this behavior in the past. My impression is that it is load related. If you do a grep on ETIMEDOUT in /usr/src/sys/netinet, you will see where the tcp stack may return this message. There may be some sysctl params relating to timers that you can muck with. Rick Graham Barr wrote: > On Thu, Jun 07, 2001 at 10:33:50AM -0700, Matt Dillon wrote: > > > > : > > :Thanks, I will try setting errno, but I don't think it is signals. > > :I have been running truss on the process. The relevant part is > > : > > :gettimeofday(0xbfbffa54,0x0) = 0 (0x0) > > :select(0x50,0x93f8c90,0x0,0x0,0xbfbffa74) = 3 (0x3) > > :read(0x16,0xa2da000,0x8000) ERR#60 'Operation timed out' > > : > > :In fact there are no signals in the whole truss output > > : > > :Graham. > > > > What type of descriptor is the read being performed on? A TCP > > connection or, say, a reading a file over NFS? > > It is a TCP/IP connection. > > Graham. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message