Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 1999 14:42:11 -0800 (PST)
From:      Jesse <j@lumiere.net>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>, freebsd-net@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: 3.1-STABLE dies on 40+ connects
Message-ID:  <Pine.BSF.4.05.9903251436100.530-100000@leaf.lumiere.net>
In-Reply-To: <199903252231.OAA03635@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <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




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