From owner-freebsd-net@FreeBSD.ORG Sun May 2 10:58:14 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32794106566B for ; Sun, 2 May 2010 10:58:14 +0000 (UTC) (envelope-from Roar.Pettersen@it.uib.no) Received: from alf.uib.no (alf.uib.no [129.177.30.3]) by mx1.freebsd.org (Postfix) with ESMTP id E9E728FC1C for ; Sun, 2 May 2010 10:58:13 +0000 (UTC) Received: from edprp by alf.uib.no for freebsd-net@freebsd.org with local-esmtp (Exim 4.69) id 1O8Wgl-0006Gk-Rj; Sun, 02 May 2010 12:46:19 +0200 Date: Sun, 2 May 2010 12:46:19 +0200 (CEST) From: Roar Pettersen X-X-Sender: edprp@alf.uib.no To: freebsd-net@freebsd.org Message-ID: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Sender: Roar Pettersen Subject: FreeBSD 8.0-STABLE & mpd -> system freeze X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2010 10:58:14 -0000 Hi ! Upgraded some servers from 7.2-stabel to 8.0-stable early april and since then I have seen stability problems with 8.0 servers which use mpd (vpn). I have tried several mpd version (5.5, 5.3 and 5.1), but the system freeze within 6 hours or 3-5 days. Early in april we got typical watchdog timeout error message just before the system freeze, but now we don't get any error message. Sometimes we also see that the mpd process goes into a none killeable stauts, and then when I execute a "shutdown -r" the system hang with this message : stopping mpd5 Waiting for PIDS : 114830 second watchdog timeout expired. Shutdown terminated. Apr 29 21:04:52 init : some process would not die; ps axl advised Waiting (max 60 seconds) for system process 'vnlru' to stop... We see this problem on both i386 and amd6 systems. FreeBSD vpn-gw4.uib.no 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun May 2 01:04:22 CEST 2010 root@vpn-gw.uib.no:/usr/obj/usr/src/sys/VPN-GW amd64 # Netgraph options NETGRAPH #netgraph(4) system options NETGRAPH_BPF options NETGRAPH_IFACE options NETGRAPH_KSOCKET options NETGRAPH_L2TP options NETGRAPH_MPPC_ENCRYPTION options NETGRAPH_PPP options NETGRAPH_PPTPGRE options NETGRAPH_SOCKET options NETGRAPH_VJC options NETGRAPH_NETFLOW # kern.ipc.shm_use_phys=1 kern.ipc.maxsockbuf=4194304 kern.ipc.somaxconn=4096 # net.inet.tcp.sendspace=131072 net.inet.tcp.recvspace=262144 net.inet.tcp.syncookies=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.reass.maxqlen=128 # net.inet.ip.intr_queue_maxlen=512 net.inet.ip.redirect=0 net.inet.ip.process_options=0 # net.inet.udp.recvspace=131072 # net.inet.icmp.icmplim=2000 net.inet.icmp.drop_redirect=1 # net.local.stream.recvspace=131072 net.local.stream.sendspace=131072 # net.graph.recvspace=262144 net.graph.maxdgram=262144 Systems with low network traffic doesn't have this problem, only observed on systems with ca +50 mpd tunnels or more. We also have other 8.0 servers with high network load, but they doen't use Netgraph. I don't have any core files, no crash files, etc so I can't give any more info. Downgrade to FreeBSD 7.3 solves the problem, but I would like to stay on version 8. -- Roar Pettersen Universitetet i Bergen - The University of Bergen