Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 1999 13:02:33 -0800 (PST)
From:      Jesse <j@lumiere.net>
To:        freebsd-net@freebsd.org, freebsd-hackers@freebsd.org
Subject:   3.1-STABLE dies on 40+ connects
Message-ID:  <Pine.BSF.4.05.9903251255010.493-100000@leaf.lumiere.net>

next 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)
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-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9903251255010.493-100000>