Re: [squid-users] Open User Ports For Squid

From: Ow Mun Heng <Ow.Mun.Heng@dont-contact.us>
Date: Thu, 25 Nov 2004 11:01:17 +0800

On Sat, 2004-11-20 at 11:31, Venkatesh K wrote:
> On Sat, 20 Nov 2004 00:06:39 +0800, Ow Mun Heng <ow.mun.heng@wdc.com> wrote:
> > I was reading about Tsunami's literature on "Designing a web caching
> > infrastructure" and came upon this line
> >
> > [snip]
> > ...
> > have a large pool of ports available for usage. As with file
> > descriptors, most systems do not have enough open ports by default. A
> > Swell Tsunami is configured to allow the complete port range from 1024
> > through 32768.
> > ...
> > [snip]
> >
> > Does anyone know how This can be configured in a Linux Squid Install?
> >
> You can add the following line to /etc/sysctl.conf if your distro supports
>
> net.ipv4.ip_local_port_range = 1024 32768

The other question is, what the difference between that port range and
that which is already in my kernel?

cat /proc/sys/net/ipv4/ip_local_port_range
32768 61000

There's a difference of ~3K+ ports for the range Tsunami listed.

Thanks

-- 
Ow Mun Heng
Gentoo/Linux on D600 1.4Ghz 
CPU kernel 2.6.9-gentoo-r4 
Neuromancer 11:01:15 up 1:51, 6 users, load average: 0.52, 0.53, 0.39 
Received on Wed Nov 24 2004 - 20:03:05 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:02 MST