×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Solaris 10 kernel tuning

Solaris 10 kernel tuning

Solaris 10 kernel tuning

(OP)
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
 

RE: Solaris 10 kernel tuning

Presumably you need to do this as root?

Who *does* own PID 7953?

Annihilannic
tgmlify - code syntax highlighting for your tek-tips posts

RE: Solaris 10 kernel tuning

(OP)
Morning,

Yeah this was the mistake I was making, I was not root, D'oahsmile

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

cheers

nick
 

RE: Solaris 10 kernel tuning

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
tgmlify - code syntax highlighting for your tek-tips posts

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close