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

SHMSEG Kernel Parameter Won't Change

Status
Not open for further replies.

jenica

IS-IT--Management
Mar 19, 2002
35
0
0
US
Hi All,

I am trying to change the SHMSEG kernel parmater in Unixware 7.1.1. The default it 6 and I need to set it to the max which is 15. I ran this command:
/etc/conf/bin/idtune SHMSEG 15
/etc/conf/bin/idbuild -B
shutdown -y -g0
When the system comes up I ran the command to display the status: /etc/conf/bin/idtune -G SHMSEG and it says the current value it 15. But when I run: sysdef -i it still says 6 and my application won't work.

Any ideas would be very much appreciated!
Thank You!
Jenica
 
Hi Fabber,

I just tried: /etc/conf/bin/idtune -f -c SHMSEG
and rebuilt the kernel and rebooted.

sysdef -i still reports 6.

??

any thing else I can try?
Thanks for your help
 
You need to put value 15 after SHMSEG.

i.e. .../idtune -f -c SYSSEG 15
 
Ya, but accidently left it out of my last post.

Still doesn't seem to want to change.

Thanks
 
What do you have in the following files?

/etc/conf/cf.d/stune
/etc/conf/cf.d/stune.current

Should look something like this:

# pg stune
NUMREGPT 256
NUMSCOPT 32
RSTCHOWN 0
CONSOLE_SECURITY 0
SHMMNI 200
SHMSEG 15
SHMMAX 1300000
# pg stune.current
NUMREGPT 256
NUMSCOPT 32
RSTCHOWN 0
CONSOLE_SECURITY 0
SHMMNI 200
SHMSEG 15
SHMMAX 1300000
 
/etc/conf/cf.d/stune

NUMREGPT 256
NUMSCOPT 32
RSTCHOWN 0
CONSOLE_SECURITY 0
SHMMAX 16777216
SFNOLIM 204
SHMSEG 15

/etc/conf/cf.d/stune.current
NUMREGPT 256
NUMSCOPT 32
RSTCHOWN 0
CONSOLE_SECURITY 0
SHMMAX 16777216
SFNOLIM 204
SHMSEG 15

sysdef -i
* IPC Shared Memory
*
524288 max shared memory segment size (SHMMAX)
1 min shared memory segment size (SHMMIN)
100 shared memory identifiers (SHMMNI)
6 max attached shm segments per process (SHMSEG)

Thanks again for all your help!


 
The only thing I did different from you is instead of using shutdown, I did an init 6. and mine changed no problems.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top