From owner-freebsd-net@FreeBSD.ORG Tue Feb 26 18:50:46 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9093F1065677 for ; Tue, 26 Feb 2008 18:50:46 +0000 (UTC) (envelope-from dave@raven.za.net) Received: from elektra.opteqint.net (elektra.opteqint.net [209.25.178.105]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8E113C43E for ; Tue, 26 Feb 2008 18:50:46 +0000 (UTC) (envelope-from dave@raven.za.net) Received: from [41.242.10.56] (helo=DHA12123) by elektra.opteqint.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.66 (FreeBSD)) (envelope-from ) id 1JU4t3-000Did-5U; Tue, 26 Feb 2008 10:50:48 -0800 From: "Dave Raven" To: "'Ingo Flaschberger'" References: <03cb01c8789b$04aade30$0e009a90$@za.net> <03cf01c8789e$f15b0860$d4111920$@za.net> <03d001c878a0$bf3d8680$3db89380$@za.net> <03de01c878a3$90cc7560$b2656020$@za.net> <03e501c878a5$588f1c50$09ad54f0$@za.net> <03e601c878a6$87380980$95a81c80$@za.net> In-Reply-To: Date: Tue, 26 Feb 2008 20:50:34 +0200 Message-ID: <03e701c878a8$7afefff0$70fcffd0$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ach4p6aZaaNqpAKrS8ufAZCs7zit+gAAJHSA Content-Language: en-us Cc: freebsd-net@freebsd.org Subject: RE: Hping/Ping 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: Tue, 26 Feb 2008 18:50:46 -0000 Hi Ingo, Unfortunately I am stuck using FreeBSD 4.11 for this, so the em driver options don't include rx_processing_limit. They do have rx and tx _int_delay which I have played with but hasn't made a different. As I understand polling might help if I had a load problem but my processor is idle and it only happens after a day or more? A netstat -na|wc -l gives over 7000 connections, but that shouldn't be a problem? I have plenty mbufs and mbuf clusters available .. Thanks Dave -----Original Message----- From: Ingo Flaschberger [mailto:if@xip.at] Sent: Tuesday, February 26, 2008 8:45 PM To: Dave Raven Cc: freebsd-net@freebsd.org Subject: RE: Hping/Ping Dear Dave, > I have set my icmplim to 1024. When it was 200 I would sometimes get a > warning about an OPEN port RST - which was also strange to me (that it was > open not closed). I suspected that it was because 5% of my packets where > being dropped though. > > The server is under reasonable load (networking wise) around 80-90mbits, but > the processor is 75% idle.. > > The other strange this is that a reboot solves this, and it takes around 1-2 > days to happen again.. you can try to enable polling: kern.polling.reg_frac=20 kern.polling.user_frac=10 kern.polling.burst_max=1000 and perhaps tune rx_processing limit: dev.em.0.rx_processing_limit: 100 you can also look at all open sessions when the server is in trouble: netstat -n Kind regards, Ingo Flaschberger