Hello Tsao Kele,
You've missed ' ulimit -HSn 8192 ' command and You have
to Edit /usr/include/bits/types.h to define __FD_SETSIZE to at least the
amount of filedescriptors you'd like to have.
Note:When system restarts,you have to give ' ulimit -HSn 8192 ' again .
For more information have a look at http://devel.squid-cache.org/hno/linux-lfd.html .
Thanks and Regards,
-Kanchana
squid@visolve.com
www.visolve.com
----- Original Message -----
From: "Tsao Kele" <chinapop@hotmail.com>
To: <squid-users@squid-cache.org>
Sent: Tuesday, November 27, 2001 9:11 PM
Subject: [squid-users] How to change file descriptor number?
> 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!
>
>
> _________________________________________________________________
> 您可以在 MSN Hotmail 站点 http://www.hotmail.com/cn 免费收发电子邮件
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Tue Nov 27 2001 - 21:12:05 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:34 MST