Re: Files descriptors

From: Oskar Pearson <oskar@dont-contact.us>
Date: Thu, 20 Mar 1997 20:29:58 +0200

Hi

> > I'm running squid 1.NOVM.8 on a Linux box 1.3.77. The default
> > number of file descriptors are 256, and i have many problems with
> > the system because all transactions are store into files. I can't
> > use virtual memory because my box only have 32 Mb and the system
> > going down every hour.
> >
> > I would like to know if it's posible increment the file descriptors
> > number in the kernel ??
> Pick up this new patch to increase the number of FD.. will go upto 4K I
> think and more.. puts the buffers on stack.
> pull from http://www.cs.iitm.ernet.in/~vishnu/fd.patch

If this doesn't work - try http://www.linux.org.za/

You might also want to
/bin/echo "4096" > /proc/sys/kernel/file-max
/bin/echo "8192" > /proc/sys/kernel/inode-max

To increase your overall system limits...

Oskar
Received on Thu Mar 20 1997 - 10:44:09 MST

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