zone.max-sem-ids -- ???


 
Thread Tools Search this Thread
Operating Systems Solaris zone.max-sem-ids -- ???
# 1  
Old 08-12-2010
zone.max-sem-ids -- ???

Hi,

OS = Solaris10

Can someone please advise what is the difference between the following two (2) output of the prctl commands?

Code:
# prctl -n zone.max-sem-ids $$
process: 18782: -sh
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
zone.max-sem-ids
        system          16.8M     max   deny                                 -


Code:
{oracle}> prctl -n zone.max-sem-ids $$
process: 9054: -ksh
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
zone.max-sem-ids
        privileged        100       -   deny                                 -
        system          16.8M     max   deny                                 -

Am mainly curious about what the 16.8M means.

FYI, am trying to correlate this with the pre-Solaris10 kernel parameters seminfo_semni.

Supposedly, pre-Solaris10, the total number of semaphores is SEMMSL*SEMMNI.

For Solaris10, if SEMMSL = process.max-sem-nsems = 512 = default and semmni = zone.max-sem-ids, how do I then get the total number of semaphores if zone.max-sem-ids is 16M? Or is the total number of semaphores dependent now on how much memory the server have, i.e. total number of semaphores = unlimited?

Please advise. Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

List of all ids,groups, privilege ids

I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd. Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies

2. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

3. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

4. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

5. Programming

shm sem fork etc... Please help

:confused: This is already my n-th attempt to write this program. Some help would be appreciated. I have created some children processes, a couple of them writes to a shared memory (array of ints, where the first element is the "counter" of all elements in the array). The other child deletes an... (1 Reply)
Discussion started by: Dana73
1 Replies
Login or Register to Ask a Question