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

From: Venkatesh K <kaevee@dont-contact.us>
Date: Sat, 20 Nov 2004 09:01:41 +0530

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

and do "sysctl -p /etc/sysctl.conf"

Else, you can execute the following command as root and also put
somewhere in startup scripts preferably /etc/rc.d/rc.local

sysctl -w "net.ipv4.ip_local_port_range=1024 32768"

> Is there are concern like this?
>
> --
> Ow Mun Heng
> Gentoo/Linux on D600 1.4Ghz
> CPU kernel 2.6.9-gentoo-r1
> Neuromancer 00:03:49 up 3:26, 5 users, load average: 0.19, 0.17, 0.40
>
>
Received on Fri Nov 19 2004 - 20:31:43 MST

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