Originally Posted by debloxie
am using Fedora Core 4 with a default of 1024 of system filedesciptors as with most distros. Am using squid and on Redhat 9 i alwasy increase the number of filedescriptors to 8192 from the default 1024 just in case the load gets high. I perform the usual ulimit stuff as described in the squid FAQ site ( http://wiki.squid-cache.org/SquidFaq...9c235e59f50bc5
) before installing squid.
I have found this not to have worked on the Fedora Core 4 i have even after performing all rituals which worked for RH9.
Is there a way out of this on fedora 4 ?
there're two points to change the normal user's max open-file limit
root# echo 60000 > /proc/sys/fs/file-max
root# echo "* - nofile 60000" > /etc/security/limits.conf
and then, relogin. the ulimit -n will change to 60000, that's will be enough for a cache env.