Re: [SQU] How to Increase Filedescriptors???

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 26 Dec 2000 15:37:54 +0100

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
Received on Tue Dec 26 2000 - 08:52:37 MST

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