Search squid archive

Re: commBind: Cannot bind socket FD 98 to *:0: (98) Address already in use

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

 



fre 2007-02-02 klockan 14:11 +0100 skrev Stefan Bohm:
> Hi all,
> 
> yesterday we had some strange problems running our reverse-proxy squid cluster.
> During some high-traffic sports event, squid starts to emit messages
> like:
> 
> commBind: Cannot bind socket FD 98 to *:0: (98) Address already in use

You have run out of free ports, all available ports occupied by
TIME_WAIT sockets.

Things to look into

1. Make sure you internally use persistent connections between Squid and
the web servers. This cuts down on the number of initiated connections/s
considerably.

2. Configure the unassigned port range as big as possible in your OS. On
Linux this is set in /proc/sys/net/ipv4/ip_local_port_range. The biggest
possible range is 1024-65535 and can sustain up to at least 500
connections/s continuous load squid->webservers.

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