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

From: Nyamul Hassan <mnhassan_at_usa.net>
Date: Thu, 13 May 2010 19:02:56 +0600

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_at_muohio.edu>
>
> 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_at_henriknordstrom.net]
> Sent: Wednesday, May 12, 2010 3:57 PM
> To: Bradley, Stephen W. Mr.
> Cc: Squid Users
> Subject: RE: [squid-users] 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
>
>
>
Received on Thu May 13 2010 - 13:03:39 MDT

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