RE: [squid-users] Increasing File Descriptors - Fixed!!

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Wed, 12 May 2010 21:56:31 +0200

ons 2010-05-12 klockan 10:17 -0400 skrev Bradley, Stephen W. Mr.:
> I went ahead and updated /etc/sysctl.conf to allow for 1024-64000 ports open for connections.
>
> That should help; I just wish I could test it before August......... :-(

Reminds me that we should implement some smart address + port selection
algorithm. The default port selection algorithm provided by the
operating systems is very stupid and quickly runs out of free ports even
if you increase the range to max possible. A maximized range of 60K
ports can sustain only about 500 connections / second.

Thankfully that's quite sufficient for most Squid setups still, but not
all, and with improvements in multi-core support it will become much
more of an issue.

Regards
Henrik
Received on Wed May 12 2010 - 19:56:36 MDT

This archive was generated by hypermail 2.2.0 : Thu May 13 2010 - 12:00:05 MDT