Is it possible to have a CacheMgr parameter that shows the total number of ports that are being used by Squid? That might be complicated though. We use different IP addresses for outgoing requests, so number of ports would make sense if available on a IP wise breakdown. Regards HASSAN 2010/5/13 Bradley, Stephen W. Mr. <bradlesw@xxxxxxxxxx> > > 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 > > >