From owner-freebsd-hackers Thu Jun 20 18:35:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from prioris.mini.pw.edu.pl (prioris.mini.pw.edu.pl [194.29.178.2]) by hub.freebsd.org (Postfix) with ESMTP id 848CF37B40B for ; Thu, 20 Jun 2002 18:35:35 -0700 (PDT) Received: from localhost (localhost.mini.pw.edu.pl [127.0.0.1]) by prioris.mini.pw.edu.pl (Postfix) with ESMTP id B2B497CEFE for ; Fri, 21 Jun 2002 03:35:33 +0200 (CEST) Received: by prioris.mini.pw.edu.pl (Postfix, from userid 250) id 86F647CEC8; Fri, 21 Jun 2002 03:35:25 +0200 (CEST) Date: Fri, 21 Jun 2002 03:35:25 +0200 From: Slawek Zak To: freebsd-hackers@freebsd.org Subject: Net resources problem? Message-ID: <20020621033525.A62535@prioris.mini.pw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Virus-Scanned: by AMaViS perl-11 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 Hi there, I have a problem with some application, which is supposed to receive lots of network connections. For some time now, it cannot accept any connections at all. Trussing it gives following output: # truss -p 57897 accept(0x4,0xbfbff9ac,0xbfbff9a8) ERR#35 'Resource temporarily unavailable' gettimeofday(0xbfbff9d4,0x0) = 0 (0x0) gettimeofday(0xbfbff9f4,0x0) = 0 (0x0) select(0x6,0xbfbffabc,0xbfbffa3c,0x0,0xbfbffa34) = 0 (0x0) gettimeofday(0xbfbff9c4,0x0) = 0 (0x0) gettimeofday(0xbfbff9b4,0x0) = 0 (0x0) accept(0x4,0xbfbff9ac,0xbfbff9a8) ERR#35 'Resource temporarily unavailable' gettimeofday(0xbfbff9d4,0x0) = 0 (0x0) gettimeofday(0xbfbff9f4,0x0) = 0 (0x0) ... and so on There are no resource limits in place: # cat /proc/57897/rlimit cpu -1 -1 fsize -1 -1 data 536870912 536870912 stack 67108864 67108864 core -1 -1 rss -1 -1 memlock -1 -1 nproc 7390 7390 nofile 14781 14781 sbsize -1 -1 Network memory is okay too: # netstat -m 114/496/128000 mbufs in use (current/peak/max): 112 mbufs allocated to data 2 mbufs allocated to packet headers 95/250/32000 mbuf clusters in use (current/peak/max) 624 Kbytes allocated to network (0% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Lsof doesn't show anything serious either. Any ideas? Anyone? Thanks, /S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message