Re: maximum connections

From: Mohammed Hamed <mhamed@dont-contact.us>
Date: Mon, 30 Nov 1998 13:00:51 +0200

>Chuck Pitre wrote:
>
>> I'm about to put up our transparent proxy server however i am
>> a bit worried about squid puking with a few hundred simultaneous
>> connections?? (I currently have a total of 600 + some dialup ports)
>
>You need to make sure that your OS supports enought file descriptors and
>sockets and that you have enought of memory available. You should have
>minimum 2000 filedescriptors and 1000 sockets available in a
>configuration like this, preferably the double or more.
>
>Figures that may help you make a calculation:
>
>* Each active browser user may use up to 4 TCP connections
Where does this limit come from ? isn't it implementation specific ?
>* Each TCP connection uses up to 3 filedescriptors of which 2 are
>sockets (one incoming socket, one outgoing socket and one cache file).
Why not use one socket for in/out traffic, as far as I know TCP supports
bidirectional transfers.

--Mohammed Hamed
Received on Mon Nov 30 1998 - 04:41:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:24 MST