Date: Sat, 7 Sep 2002 00:06:24 -0700 (PDT) From: Michael Meiszl <michael@meiszl.de> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/42498: tcp connections not shown with netstat, tcp channels cease working after some days Message-ID: <200209070706.g8776OOQ053494@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 42498 >Category: kern >Synopsis: tcp connections not shown with netstat, tcp channels cease working after some days >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 07 00:10:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Michael Meiszl >Release: 4.6-stable (cvsup 9/7/02) >Organization: >Environment: FreeBSD Proxy.Meiszl.De 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Sat Sep 7 08: 21:58 CEST 2002 mam@Proxy.Meiszl.De:/usr/src/sys/compile/MAMSMP i386 >Description: Some three or four weeks ago, the phenomen occured. The box was not able anymore to establish a tcp channel to the outside world. IP and UDP is working fine, but TCP won't go anymore. Rebooting the system seems to cure the problem, but after two or three days it happened again. There are no errors or warnings, the sessions simply hang (no timeout!). The only thing I've discovered so far: netstat does not show up any tcp ports anymore. Look at this: Proxy:root:/home/mam#netstat Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) udp4 0 0 proxy.netbios-dgm *.* udp4 0 0 proxy.netbios-ns *.* udp4 0 0 localhost.ntp *.* udp4 0 0 proxy.ntp *.* Active UNIX domain sockets Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr cd97ce60 dgram 0 0 0 cd95df00 0 cd97cdc0 cd97cdc0 dgram 0 0 0 cd95df00 0 cd97cf00 cd97cf00 dgram 0 0 0 cd95df00 0 0 cd95df00 dgram 0 0 cd9587c0 0 cd97ce60 0 /var/run/log This is done from an rlogin session! So, where is that channel??? Today I've tried a new kernel, GENERIC and LINT without SMP. Nothing changed :-( The system was once installed with 2.24 (I guess, it's running for over three years) and cvsup-s STABLE every week. First notice of the problem was shortly after the first 4.6 fixes. >How-To-Repeat: Just wait a few days. I suspect, the kernel runs out of buffers or something. Once reaching a certain limit, it won't create any more sockets for TCP. Applications are blocked and put to sleep. >Fix: Reboot (temporary fix) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209070706.g8776OOQ053494>