Search squid archive

RE: Linux: Cannot bind to socket ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2007-03-27 klockan 11:36 -0400 skrev NGUYEN, KHANH, ATTSI:
> multiple IP addresses on the server is not a problem. I can have more
> than one address bind to one network interface. What will it help if I
> already use up to 65K sockets on the time_wait state? should 65K limit
> is per box or per ip address? and why is this 65K limit? can I make
> 100K or higher?

We are now diverging a bit outside Squid and into the land of TCP/IP
communication and kernel stupidities.

In TCP/IP the limitation is 65K outgoing connections per source IP and
destination:port. (source IP:port, destination IP:port combination must
be unique).

In kernel land the limitation of "anonymous" outgoing connections with
automatically assigned local endpoint is 65K in total, no matter how
many local IPs you have or how many different destinations you talk to.

In kernel land the limitation of explicitly bound outgoing connections
is 65K per local IP.   (explicit bound to a local ip:port, each
different per connection)

outgoing connections == outgoing connections in any state from SYN_SENT
to TIME_WAIT, all included.


Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux