Re: [squid-users] Running out of file descriptors OSX

From: Jeff Donovan <donovan@dont-contact.us>
Date: Wed, 26 May 2004 08:47:11 -0400

On May 25, 2004, at 7:56 AM, Jeff Donovan wrote:

> greetings
> this is one of the problems. there is no setting ( that i can find )
> for kern.maxfilesperproc here are the numbers that come back.
> kern.maxvnodes = 33584
> kern.maxproc = 2048
> kern.maxfiles = 12288
> kern.argmax = 65536
>
> On an OSX machine there is no sysctl.conf ( not that i can find ).
>
> nor can i locate /usr/include/bits
> this may seem to be an Apple lists question. I thought someone might
> have known off hand.
>
> --jeff
> On May 24, 2004, at 2:50 PM, Arthur W. Neilson III wrote:
>
>> On FreeBSD the number of systemwide file descriptors and
>> number of file descriptors per process is controlled
>> via the following sysctls, respectively:
>>
>> kern.maxfiles
>> kern.maxfilesperproc
>>
>> You can set them in /etc/sysctl.conf then reboot
>>
>> kern.maxfiles=65534
>> kern.maxfilesperproc=8192
>>
>> or use the sysctl command to set them dynamically:
>>
>> sysctl kern.maxfiles=65534
>> sysctl kern.maxfilesperproc=8192
>>
>

Greetings
FYI

MacOSX 10.2.x kern.maxfilesperproc is not changeable. it can only be
edited in OSX 10.3.x

thanks for the help.

-jeff

-----------------------------------
jeff donovan
basd network operations
(610) 807 5571 x4
AIM xtdonovan
fwd# 248217
Received on Wed May 26 2004 - 06:47:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:02 MDT