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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why IPC share Memory was set to 0,How to do ?

Status
Not open for further replies.

mingx98

Technical User
Mar 16, 2000
78
CA
When I issued&nbsp;&nbsp;sysdef in our machine, I found<br>that all IPC share memory parameters were set to zero, like<br>*<br>* IPC Shared Memory<br>*<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;max shared memory segment size (SHMMAX)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;min shared memory segment size (SHMMIN)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;shared memory identifiers (SHMMNI)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;max attached shm segments per process (SHMSEG<br><br>&nbsp;and phisical memory seems not enough,<br>and more,<br>if<br>SHMMAX =0, I should see these settings in /etc/system,<br>but I can't see this in the file,<br>what I can do for this ?<br><br>can I increase these parameter as<br>SHMMAX =50 m,<br>SHMMIN = 1,<br>SHMMNI=100,<br>SHMSEG=64, in /etc/system,<br>then I reboot the BOX ,<br>can The box reboot normally ?<br><br>Thanks all of you<br><br>
 
The changes you suggest should be OK.&nbsp;&nbsp;Don't forget to change that 50M figure to bytes, though.&nbsp;&nbsp;As an example, here's the same figures from one of our production servers:<br><br>*<br>* IPC Shared Memory<br>*<br>4294967295&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;max shared memory segment size (SHMMAX)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;min shared memory segment size (SHMMIN)<br>&nbsp;&nbsp;&nbsp;300&nbsp;&nbsp;shared memory identifiers (SHMMNI)<br>&nbsp;&nbsp;&nbsp;&nbsp;20&nbsp;&nbsp;max attached shm segments per process (SHMSEG)<br><br>Hope that helps. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
Thanks you very much,<br>Have a good day
 
and more ,<br>Can any of you<br>tell me Max and Min of these Parameters,<br>and what will will happen if these 4 parameters<br>were set to zero ?<br>Thanks<br>&nbsp;&nbsp;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top