Re: [squid-users] filedescriptors help

From: Adam Aube <[email protected]>
Date: Tue, 14 Oct 2003 21:03:26 -0400

> Still having troubles to assign more filedescriptors (RedHat v9).

> Have this running at boot:
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ulimit -HSn 8192
> echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
> echo 65536 > /proc/sys/fs/file-max

Did you verify in your shell (using the ulimit command) that the
filedescriptor limit was still 8192 before rebuilding the rpm?

> Then I did:
> rpmbuild --rebuild squid-2.5.STABLE3-1rh.src.rpm and installed
> from /usr/src/redhat/RPMS/i386/ the rpm like this:
> rpm -ivh squid-2.5.STABLE3-1rh.src.rpm

I just checked the rpm man page, and it looks like the rpm -ivh is not
necessary - the --rebuild is supposed to install the package after it
compiles it. (I checked this on RedHat 7.3 - RedHat 9 may be different).

Adam
Received on Tue Oct 14 2003 - 19:03:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:29 MST