Search squid archive

RE: Increasing File Descriptors - Fixed!!

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

 



I wish I had snapshots of our stats when we were up and under full load so I could give you and idea of how it was working.

But it was working well right up until the ragged edge (and my FD limit at the time).

steve

-----Original Message-----
From: Henrik Nordström [mailto:henrik@xxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, May 12, 2010 3:57 PM
To: Bradley, Stephen W. Mr.
Cc: Squid Users
Subject: RE:  Increasing File Descriptors - Fixed!!

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




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

  Powered by Linux