Re: Hard-limits for kern.maxproc
Re: Hard-limits for kern.maxproc
- Subject: Re: Hard-limits for kern.maxproc
- From: mm w <email@hidden>
- Date: Thu, 29 Jan 2009 14:41:14 -0800
On Thu, Jan 29, 2009 at 2:08 PM, Nathan <email@hidden> wrote:
> On Thu, Jan 29, 2009 at 12:43 PM, mm w <email@hidden> wrote:
>> Hi Nathan, there is or was certainly a reason for this limit,
>> a hard limit is either more than or equal to a soft limit, as you said
>> the soft limit can be changed through sysctl command,
>>
>> this value wasn't always defined as 2500, for instance, NPROC is
>> using MAXUSERS, macosx is "by default" compiled with a "Medium scale" limit
>> you can change it at compile time to setup a "larger scale" limit
>> anyway these specifications are available in the UNIX03 process structure part
>>
>
> 1) Where can I download the kernel so I can look through some of the
> source myself? It's not on the list at macosforge.org.
http://developer.apple.com/opensource/index.html
must have an ADC account
http://developer.apple.com/products/membership.html
>
> 2) More description of NPROC, MAXUSERS, and "scales", and UNIX03 would
> be helpful. I'd be happy to read up on them if someone could point me
> in the right direction. Where should I look? The source code?
>
http://www.opengroup.org/openbrand/docs/UNIX03_Certification_Guide.html
and so
http://www.opengroup.org/platform/lfs.html
"hard limit
A system resource limitation that may be reset to a lesser or greater
limit by a privileged process. A non-privileged process is restricted
to only lowering its hard limit. "
...
(just for the example), you may find all what you need on the
opengroup website, it's a bit a mess, but it's like everything when
you will understand how to navigate, should be fine
but anyway A hardWARE limit is a physical limit, so there is a reason
> 3) Does anyone know what buttons I could push at Apple to get (at
> least) the server kernel compiled with "larger scale" or something
> like that? I'd like this fix to be available to the larger community,
> which really means getting it into an official OS update.
> Where should I look? The source code?
yes, change the default conf, and patch for non automated files
Cheers!
>
> ~ Nathan
>
--
-mmw
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden