Can not set zone-wide rctl for process

Hi,

When I create a project, I can specify that all processes created in the project should have a max value for certain property (e.g. process.max-data-size). When I create a process in the project, that process gets this rctl value.

However, when I try to set process level rctl during zonecfg, it gives me an error. It would be good to see that zone is at par with project (or higher). Setting zone-wide rctls for processes will really help the administration.

zonecfg:zone1:rctl> set name=process.max-data-size

'process.max-data-size' is not a valid zone rctl name.

Whereas, the following command succeeds and gives me correct result when I start a process in the project.

projadd -K "process.max-data-size=(privileged,100000,deny)" proj3

prctl -P -i process 29824 shows me

<snip>

process.max-data-size privileged 100000 - deny -

Thanks!

[919 byte] By [van300] at [2007-11-26 11:23:30]
# 1
I think the resource functionality for zones is only available in solaris express.It may be part of solaris 10u3 due out in a month or so.
robertcohen at 2007-7-7 3:38:56 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Sol10u3 does not have this facility. It (beta copy) gives me the same error as update 2.

I wanted the following command to succeed.

zonecfg:zone1> add rctl

zonecfg:zone1:rctl> set name=process.max-data-size

It gives me the error -

'process.max-data-size' is not a valid zone rctl name.

For project, it is allowed during projadd. Zone should have the same facility, IMO.

van300 at 2007-7-7 3:38:56 > top of Java-index,Solaris Operating System,Solaris 10 Features...