From owner-freebsd-questions Thu Mar 25 13: 3: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from leaf.lumiere.net (leaf.lumiere.net [207.218.152.15]) by hub.freebsd.org (Postfix) with ESMTP id 6E6B81559A for ; Thu, 25 Mar 1999 13:03:04 -0800 (PST) (envelope-from j@leaf.lumiere.net) Received: (from j@localhost) by leaf.lumiere.net (8.9.2/8.9.1) id NAA00574; Thu, 25 Mar 1999 13:02:46 -0800 (PST) Date: Thu, 25 Mar 1999 13:02:46 -0800 (PST) From: Jesse To: freebsd-questions@freebsd.org Subject: 3.1-STABLE dies on 40+ connects Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@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) 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-questions" in the body of the message