Question on SEMMNI on Solaris

Hi,

OS = Solaris 5.10

I need to check the settings of SEMMNI, can't find any /etc/system file and sysdef is not showing me any useful information so I ran prctl -i project default instead.

Can anyone please confirm whether the SEMMNI setting is the value as below?

zone.max-sem-ids
privileged 100 - deny -

Thanks in advance.

Apparently /etc/system is not the preferred method of setting shared memory limits anymore. You should run something like:

projadd -U oracle -G oinstall user.oracle
projmod -sK "project.max-shm-memory=(priv,14294967295,deny)" user.oracle
projmod -sK "process.max-sem-ids=(priv,1024,deny)" user.oracle
projmod -sK "process.max-sem-nsems=(priv,1024,deny)" user.oracle
projmod -sK "process.max-shm-ids=(priv,1024,deny)" user.oracle

I hope this helps....

Yes, /etc/system is deprecated in Solaris 10.

"In Solaris 10, you are not required to make changes to the /etc/system file to implement the System V IPC. Solaris 10 uses the resource control facility for its implementation. However, Oracle recommends that you set both resource control and /etc/system/ parameters. Operating system parameters not replaced by resource controls continue to affect performance and security on Solaris 10 systems."

Full details --> Preinstallation Tasks

:smiley: