Date: Thu, 25 Mar 1999 19:53:29 +0100 (MET) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: j@lumiere.net (Jesse) Cc: freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: 3.1-STABLE dies on 40+ connects Message-ID: <199903251853.TAA13401@labinfo.iet.unipi.it> In-Reply-To: <Pine.BSF.4.05.9903251255010.493-100000@leaf.lumiere.net> from "Jesse" at Mar 25, 99 01:02:14 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <j@lumiere.net> > 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-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903251853.TAA13401>