Nicolas Williams wrote: > On Wed, May 27, 2009 at 10:50:56AM +0200, Darren Reed wrote: > >>> Another possibility would be to skip all this and just raise the >>> limit on the "system" project. >>> >> That's very tempting because it's an even smaller change... >> but whether it should be done by editting /etc/project or >> $SRC/uts/common/os/project.c? One might even argue that the >> limit should simply be removed for the simple reason that >> there isn't a limit on taskid's. What do we gain by having >> a low limit on contracts but not on taskid's or lwp's? >> > > There can be no more process contracts than there can be processes. > Therefore the limit on processes (and LWPs) is a good proxy resource > control on process contract creation. IMO the system project should > have no process contract limit. >
I would suggest that you read the PSARC material for both of the cases mentioned in my later email and then read $SRC/uts/common/os/contract.c. Darren