Re: All entries in store.log are RELEASE'd immediatley

From: Brian <signal@dont-contact.us>
Date: Sat, 26 Jun 1999 11:30:44 -0500 (CDT)

On Sat, 26 Jun 1999, Gerben Welter wrote:

> At 00:48 6/27/99 +1000, you wrote:
>
> >PS haven't resolved the 256 fds yet but I suspect that this is
> >unrelated. (the ulimit -HSn 8192 [as root] sugessted to Brian
> >returns "operation not permitted" .

In order to do >1024 file descriptors, you must have a kernel that is
patched for that. The "ac" (alan cox) kernels will work for this. The
stock kernels do not have this support, it never made it into the tree in
time, but look for it shortly.

Once you have a patched kernel you can do the ulimit -HSn 8192. That is a
per process limit, you may wish to up your file-max in proc as well.

> >
> >PSS I'm running this RH version because 5.2 panic'd when trying to
> >install on my Adaptec 2742 dual SCSI - 5.0 didn't.
>
> Why don't you run RH 6.0? Standard 1024 fd's at your disposal and I can
> imagine that the adaptec drivers are much better now, since adaptec is very
> hepfull with writing linux drivers these days :)

If you're running 2.0.x kernels you can get the file-descriptor patches
talked about in the squid FAQ.

If your running RH5.2, the move to 2.2 kernels is PAINLESS!
Goto the redhat updates directory, and go into "kernel-2.2".

Download all those rpm's (their are 9)

rpm -Uvh *.rpm
download any linux-2.2 source tree (trust me, 2.2.5 or 2.2.7 is your best
bet). If you need >1024 file descriptors then get one of the ac patches.

2.2.8/9/10 have some wierdness. 2.2.8 has major file system corruption
and should never have been released, no one runs this for long. 2.2.9 and
2.2.10 still have some issues with corruption going on that evolve around
certain but common circumstances being discussed on the linux-kernel list.

If you grab 2.2.5 or 2.2.10, make sure you make the following change in
src/linux/net/ipv4/ip_options.c:

 error:
        if (skb) {
                icmp_send(skb, ICMP_PARAMETERPROB, 0, htonl((pp_ptr-iph)<<24));
- kfree_skb(skb);
        }
        return -EINVAL;
 }

basically just remove that line. Otherwise the script kiddies will be
taking your box down left and right (www.rootshell.com for more info).

Trust me though, you want 2.2, networking was nicely improved.

Brian

>
> Grtz Gerben.
>

-----------------------------------------------------
Brian Feeny (BF304) signal@shreve.net
318-222-2638 x 109 http://www.shreve.net/~signal
Network Administrator ShreveNet Inc. (ASN 11881)
Received on Sat Jun 26 1999 - 10:09:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:00 MST