From owner-freebsd-net Thu Mar 25 14:42:40 1999 Delivered-To: freebsd-net@freebsd.org Received: from leaf.lumiere.net (leaf.lumiere.net [207.218.152.15]) by hub.freebsd.org (Postfix) with ESMTP id EC38314EF5; Thu, 25 Mar 1999 14:42:38 -0800 (PST) (envelope-from j@leaf.lumiere.net) Received: (from j@localhost) by leaf.lumiere.net (8.9.2/8.9.1) id OAA01393; Thu, 25 Mar 1999 14:42:11 -0800 (PST) Date: Thu, 25 Mar 1999 14:42:11 -0800 (PST) From: Jesse To: Matthew Dillon Cc: Luigi Rizzo , freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: 3.1-STABLE dies on 40+ connects In-Reply-To: <199903252231.OAA03635@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 25 Mar 1999, Matthew Dillon wrote: > On the face of it it sounds to me like icecast is perhaps making the > socket buffers bigger --- maybe too big. The default socket buffer > size is 16K receiving, 16K sending. 40 x 16K x 2 = 1MB. If > icecast is increasing the size of the socket buffers, this value can > explode. netstat -tn on a running system ought to give you some idea > about that by seeing how backed-up the socket buffers get. That certainly seems like the case. Assuming this is the culprit, is it still worthwhile to get the coredump/panic info to see why it's crashing? Here's the output of netstat -tn with 43 clients connected (icecast): leaf:~# netstat -tn Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 28086 207.218.152.15.8000 206.170.14.10.2229 ESTABLISHED tcp 0 28086 207.218.152.15.8000 206.170.14.10.2228 ESTABLISHED tcp 0 28086 207.218.152.15.8000 206.170.14.10.2227 ESTABLISHED tcp 0 28086 207.218.152.15.8000 206.170.14.10.2226 ESTABLISHED tcp 0 41181 207.218.152.15.8000 206.170.14.10.2225 ESTABLISHED tcp 0 41181 207.218.152.15.8000 206.170.14.10.2219 ESTABLISHED tcp 0 47021 207.218.152.15.8000 206.170.14.10.2210 ESTABLISHED tcp 0 29456 207.218.152.15.8000 206.170.14.10.2209 ESTABLISHED tcp 0 50830 207.218.152.15.8000 206.170.14.10.2208 ESTABLISHED tcp 0 98053 207.218.152.15.8000 206.26.192.14.57940 ESTABLISHED tcp 0 53867 207.218.152.15.8000 128.111.82.59.1516 ESTABLISHED tcp 0 61915 207.218.152.15.8000 128.151.43.91.1799 ESTABLISHED <... lots more similar output chopped ...> And for comparison, shoutcast with 40 clients: leaf:~# netstat -tn Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 0 207.218.152.15.8000 206.170.14.10.2280 ESTABLISHED tcp 0 7646 207.218.152.15.8000 206.170.14.10.2279 ESTABLISHED tcp 0 16015 207.218.152.15.8000 206.170.14.10.2278 ESTABLISHED tcp 0 0 207.218.152.15.8000 206.170.14.10.2277 ESTABLISHED tcp 0 4726 207.218.152.15.8000 206.170.14.10.2276 ESTABLISHED tcp 0 16015 207.218.152.15.8000 206.170.14.10.2275 ESTABLISHED tcp 0 16015 207.218.152.15.8000 206.170.14.10.2274 ESTABLISHED tcp 0 16015 207.218.152.15.8000 206.170.14.10.2273 ESTABLISHED tcp 0 6186 207.218.152.15.8000 206.170.14.10.2272 ESTABLISHED tcp 0 0 207.218.152.15.8000 206.170.14.10.2271 ESTABLISHED tcp 0 2875 207.218.152.15.8000 206.170.14.10.2270 ESTABLISHED tcp 0 16015 207.218.152.15.8000 206.170.14.10.2269 ESTABLISHED tcp 0 16015 207.218.152.15.8000 206.170.14.10.2268 ESTABLISHED <... yet more chopped ...> --- Jesse http://www.lumiere.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message