Re: [squid-users] How to change file descriptor number?

From: James <james343us@dont-contact.us>
Date: Wed, 28 Nov 2001 00:36:42 +0530

Hi,
    You have to edit the file /usr/include/bits/types.h to
define __FD_SETSIZE 8192(the amout you preferred)
and you should give
ulimit -HSn 8192
make sure you give ulimit command every time you start squid

Regards,
-Keerthi
Squid@visolve.com
www.visolve.com

> I have read FAQ and modified my limits.h OPEN_MAX = 8192 and rebuild my
> linux kernel 2.4.16-pre1. after reboot i checked file
/proc/sys/fs/file_max
> = 8192.
> but while i reconfigure squid 2.4st2 , the script still told me the
default
> and the max FD are both 1024. so, what can i do now?
> Thanks!
>
>
> _________________________________________________________________
> ?:2?:|:<??:2 MSN Hotmail ??|━? http://www.hotmail.com/cn
?a?∴?:o??∴?└
|━??│:?:?:o?t


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Received on Tue Nov 27 2001 - 11:58:06 MST

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