Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 10 kernel tuning

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
0
0
GB
Hello,

I'm attempting to increase a kernel parameter on the fly using prctl and it's failing with the below error message. Can anyone advise on what I'm doing wrong and how to fix this issue?

id -p
uid=400(arbor) gid=200(arboradm) projid=3(default)
fpfeuska% prctl -n project.max-msg-ids -i project 3
project: 3: default
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-msg-ids
privileged 128 - deny -
system 16.8M max deny -
fpfeuska%
fpfeuska% prctl -n project.max-msg-ids -r -v 10k -i project 3
7953: csh
prctl: cannot set process privileges for pid 7953: Not owner


cheers

nick
 
Presumably you need to do this as root?

Who *does* own PID 7953?

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
Morning,

Yeah this was the mistake I was making, I was not root, D'oah:)

SO the next step is to make it perm, any good pointers on doing this?

cheers

nick
 
I'm guessing, since I've never used projects, but you probably need to create a project and add the user(s) in question to that project, along with the default resource control settings for that project. See man 4 project and man projadd for starters... or probably better head over to the Solaris documentation for an overview of projects in general?

Annihilannic
[small]tgmlify - code syntax highlighting for your tek-tips posts[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top