Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
Showing results for 
Search instead for 
Did you mean: 

configuration of shared memory ..

Siddhartha Das
Occasional Contributor

configuration of shared memory ..

Following things has been done from my end ..

1) /sbin/sysconfig -r ipc shm_max=33554432

2) Changed the value from CDE Karnel tuner.

3) added on sysconfigdb also.

Quary :

1) /sbin/sysconfig -s shm_max
shm_max:loaded and configured

2) /sbin/sysconfig -q ipc shm_max
showing 33554432

Now if I run ipcs then it is not showing any shared memory.

but if I run /usr/field/shmx -m 33554432 and then run ipcs it is showing shared memory segments.

What needs to be done to automatically run the process during boottime.

Han Pilmeyer
Esteemed Contributor

Re: configuration of shared memory ..

You have just taken all the necessary steps to allow the maximum size of a shared memory segment to be increased to 33554432(32 MB). However you haven't actually allocated any segments. This is up to an application to do that. The shmx program is a shared memory exercisor that will allocate such a segment for the duration of its run.
Ivan Ferreira
Honored Contributor

Re: configuration of shared memory ..

Yes, after setting the shared memory parameters, the application will then create the shared memory segment.

But, isn't too low your shared memory configuration?

For oracle, the default shared memory is 2GB and can be increased to 4GB-16M. It depends also of the available memory on your system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Hein van den Heuvel
Honored Contributor

Re: configuration of shared memory ..

Just echoing what has been said before:

You have taken all the rigth steps to allow for a 32M shm section to be created by an application, but it is still op to the application to create it wih shmget.

field/smhx is amn excerciser (try with -h) and will create a shm section, but just for its own use and only during its own time

What is your application?
32M seem a little low for shmmax.
I am used to 2GB give or take 8mb.

If you use Oracle, you may want to run $ORACLE_HOME/bin/maxmem

If you use SAP then you may want to run: