Subject: Setting ulimits at boot
To: None <current-users@netbsd.org>
From: Rob Hoopman <rob@tuna.nl>
List: current-users
Date: 08/17/2001 16:11:08
A quick question:

I want to increase a ulimit variable for all user processes on my machine.
It seems to me the obvious way of doing this is adding something like this to 
/etc/sysctl.conf
proc.1.rlimit.maxproc.soft=180 

This works fine except for all processes started by rc on boot as rc is 
called before /etc/sysctl.conf is read to set this value. 
As xdm is called on boot by rc, logging into X leaves me with the old 
ulimit value.

Am I missing something here?

Rob