[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.2

solaris 10 kernel process.max-sem-nsems setting not getting set?

Asked by uayneb in Sun Solaris, Unix Operating Systems

Short version:

Main problem is it seems prctl for process.max-sem-nsems is not working.  

When I do a prctl $$ I see the kernel parameter set, but when specifying it on the command line it doesn't think it exists (?)

Detailed version:

Going through the oracle 10 pre-installation config tasks on solaris 10, I see the kernel settings which need to be set:

noexec_user_stack  1 (/etc/system)
project.max-sem-ids 100
process.max-sem-nsems 256
project.max-shm-memory 4294967295
project.max-shm-ids 100

I added the kernel settings to all the projects also just because I'm over paranoid even though oracle is using user.oracle by default.

Anyway, all seem fine except for process.max-sem-nsems.  I get an error when trying to prctl it.


# cat /etc/project
system:0::::process.max-sem-nsems=(priv,256,deny);project.max-sem-ids=(priv,128,deny);project.max-shm-ids=(priv,128,deny);project.max-shm-memory=(priv,4294967295,deny)
user.root:1::::
noproject:2::::
default:3::::process.max-sem-nsems=(priv,256,deny);project.max-sem-ids=(priv,128,deny);project.max-shm-ids=(priv,128,deny);project.max-shm-memory=(priv,4294967295,deny)
group.staff:10::::
user.oracle:100:Oracle:oracle::process.max-sem-nsems=(priv,256,deny);project.max-sem-ids=(priv,128,deny);project.max-shm-ids=(priv,128,deny);project.max-shm-memory=(priv,4294967295,deny)
#  su - oracle
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
$ id -p
uid=50(oracle) gid=200(oinstall) projid=100(user.oracle)
$ prctl -n process.max-sem-nsems -i project user.oracle
prctl: cannot get/set process rctl on task or project
usage:
..
..
$ prctl $$ | more
..
..
process.max-sem-ops
        privileged        512       -   deny                                 -
        system          2.15G     max   deny                                 -
process.max-sem-nsems
        privileged        256       -   deny                                 -
        system          32.8K     max   deny                                 -
process.max-address-space
        privileged      16.0EB    max   deny                                 -
        system          16.0EB    max   deny                                 -
..
..
$ uname -a
SunOS hostname..com 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V245
$

Any idea what's going on?
[+][-]10/13/09 11:49 AM, ID: 25562979Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Sun Solaris, Unix Operating Systems
Sign Up Now!
Solution Provided By: turnbulld
Participating Experts: 2
Solution Grade: A
 
[+][-]10/13/09 12:09 PM, ID: 25563240Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/14/09 07:08 AM, ID: 25570610Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625