Date: Fri, 21 Jun 2002 03:35:25 +0200 From: Slawek Zak <zaks@prioris.mini.pw.edu.pl> To: freebsd-hackers@freebsd.org Subject: Net resources problem? Message-ID: <20020621033525.A62535@prioris.mini.pw.edu.pl>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621033525.A62535>
