Re: [SQU] How to Increase Filedescriptors?(Success!!)

From: ssdd sdsds <w1mirza74@dont-contact.us>
Date: Fri, 5 Jan 2001 21:31:43 -0800 (PST)

Hi,
Thanx a lot for your help.
Thing which worked was " make clean" before reconfig.

Regards,

Henrik Nordstrom <hno@hem.passagen.se> wrote:
> See http://squid.sourceforge.net/hno/ for some
> instructions
>
> The ulimit command you used looks very wrong.
> a) It changes the core dump size limit, not the
> number of open files
> (files is the -n option, not -c)
> b) The amount (1048) looks a bit small if your goal
> is to get well above
> 1024...
>
> Please note that you must also run the ulimit
> command prior to starting
> Squid, or else the kernel will still limit Squid to
> only 1024 open
> files.
>
> --
> Henrik Nordstrom
> Squid hacker
>
> ssdd sdsds wrote:
> >
> > Hi,
> >
> > What is the complete procedure of increasing
> > Filedescriptors on Linux 6.1 squid2.3.stable4?
> >
> > Kernal has proc/sys/fs/file-max 4096. But squid
> > process takes only 1024.
> > I edited #define_FD_SETSIZE 2048 in
> > /usr/include/bits/types.h
> > ulimit -Hsc 1048
> >
> > AND also edited
> >
> > open-Max in /usr/include/linux/limits.h to 1024
> > then reboot m/c and recomplie Squid.
> >
> > But it increased Max-swap space to 2048MB instead
> of
> > File descriptors:!??
> >
> > Thanx
> >
> > Regards,
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Shopping - Thousands of Stores. Millions of
> Products.
> > http://shopping.yahoo.com/
> >
> > --
> > To unsubscribe, see
> http://www.squid-cache.org/mailing-lists.html
>
> --
> To unsubscribe, see
> http://www.squid-cache.org/mailing-lists.html
>

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Jan 05 2001 - 22:35:25 MST

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