On 7/2/10 1:25 AM, Siju George wrote:
Hi,

It is for Squid Optimizations from

http://wiki.squid-cache.org/SquidFaq/SystemSpecificOptimizations

Well your description is miss leading here.

The text on that page said:

"... increase the number of system-wide ..."

so, that would be

# sysctl | grep kern.maxfiles
kern.maxfiles=7030

and that is:

# The maximum number of open files that may be open in the system.

However, the name of the sysclt that your document refer at

kern.maxfilesperproc=8192

Of files per process is set in login.conf and as an example:
# Setting used by MySQL daemon

mysql:\
        :openfiles-cur=2048:\
        :openfiles-max=3072:\
        :tc=daemon:


So, you set that up under the class you will use.

man(5) login.conf

So, depend what you really want to do, use the right place, or if you are not sure, then don't touch it.

Best,

Daniel



thanks :-)

Siju

Reply via email to