Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2000 12:02:19 +0100
From:      Mike Doyle <relyod@co-operation-ireland.ie>
To:        freebsd-questions@freebsd.org
Subject:   Question about sysctl
Message-ID:  <3.0.5.32.20000925120219.0083e1c0@199.107.2.1>

next in thread | raw e-mail | index | archive | help
I need a little pointer on the use of sysctl.

Background to the problem:
	This morning I noticed a warning on my server console
	"... squid[pid]: WARNING!  Your cache is running out of file descriptors"

Now this has never happened before.
Reading the old questions/answers on the Squid website, it refered to a
utility
called "ulimit". But "man ulimit" on FreeBSD returns nothing.

However I remembered the sysctl command, and one of the options sysctl
can set/change is "kern.maxfiles" (currently 1576)

Is this what I need to increase? If so, will I need to re-start the server
afterwards? Or simply re-start Squid?

I have never worried about this before now because the out-of-the-box
configurations have "just worked" for the last three years... 



<>< ============================================================ ><>
Michael Doyle                    email: relyod@co-operation-ireland.ie
Network Administrator            personal email:    relyod@indigo.ie
Co-operation Ireland	  http://www.co-operation-ireland.ie/
Phone: +353-1-661 0588                          Fax: +353-1-661 8456

*********************************************************************


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20000925120219.0083e1c0>