In the ulimited command, I have the default file descriptor of 1024. As I hope to modify the file descriptor to 8192, the following procedure are as following:
Add the following line to /usr/include/bits/types.h
#define __FD__SETSIZE 8192
echo 8192 > /proc/sys/fs/file-max
Then I compile the Squid as usual and it shows following line as I run Squid in debug level 1.
2004/09/09 09:29:01| With 1024 file descriptors available
Would anybody provide information that how can I change the number of file descriptor in FC-2. Thank you.