Steve Lawrence wrote:
> On Wed, Oct 03, 2007 at 10:37:30PM +0200, Menno Lageman wrote:
>> Steve Lawrence wrote:
>>> Have you considered also implementing project.max-processes?  This would
>>> give a zone admin some control over workloads within the zone.  I would
>>> follow suit and make project 0 in the global zone exempt from its 
>>> project.max-processes rctl.
>> I hadn't considered project.max-processes yet, mainly because what I see 
>> in the field is that most people seem to consider project rctls to be 
>> too much detail. Configuring limits at the zone level seems to be the 
>> preferred option. But it can't hurt to see what it would take to also 
>> have project.max-processes.
> Besides another rctl_test in cfork, you'll also need to have a test in
> tasksys_settaskid().  Very similar to rc_project_nlwps.

Thanks for the pointer to tasksys_settaskid(). My rctl_test() is in 
getproc() btw, as that seems the most logical place.

Menno Lageman - Sun Microsystems -
zones-discuss mailing list

Reply via email to