From owner-freebsd-hackers Thu Mar 25 13: 7:57 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 0BADD1557D; Thu, 25 Mar 1999 13:07:50 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id TAA13401; Thu, 25 Mar 1999 19:53:29 +0100 From: Luigi Rizzo Message-Id: <199903251853.TAA13401@labinfo.iet.unipi.it> Subject: Re: 3.1-STABLE dies on 40+ connects To: j@lumiere.net (Jesse) Date: Thu, 25 Mar 1999 19:53:29 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Jesse" at Mar 25, 99 01:02:14 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1818 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > I'm running a server on FreeBSD-STABLE, about a week since the last make > world. > > I was doing some stress testing with the icecast server (icecast.org) aren't you running out of mbufs by chance ? (it should not crash, but increasing the value could help...) luigi > which is an open replacement for Nullsoft's shoutcast server. It comes > with a stresstest app which opens a bunch of connections to the server. > > I found that when I opened 40 connections to the server (localhost), the > machine crashed. The icecast server is running as a normal user. I haven't > been able to get to the console yet so I don't know if there's more info > there. I'll be investigating that shortly. > > At first I thought, okay, maybe a bug in the loopback driver. So I tried > it from another machine on the network. Same result. > > Just to make sure it wasn't something specific to the icecast server, I > enabled chargen in /etc/inetd.conf and did another stress test over the > network. It survived 40 connections, so I tried 100. It was fine. I tried > 200 and the server crashed. > > It seems like the server crashed when it receives many connections that > require a high amount of data be sent back (icecast, which is mp3 streams > or chargen). > > Anyone have any idea what's going on? I really hate to think that my > server can be crashed this easily. I did similar stress testing with the > icecast server on my laptop, running Linux 2.0.36 and it accepted 300 > connections (vs. less than 40) without a problem. If Linux can do it, I > know FreeBSD can. > > Hope someone has some ideas. Thanks in advance. > > --- > Jesse > http://www.lumiere.net/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message