Mismatch in semaphore values in /etc/system and sysdef -i

From: Vinay Sequeira (vinay.sequeira@maine.edu)
Date: Wed Mar 02 2005 - 11:06:53 EST


Hi Sunmanagers,

I am running Solaris 9 9/04 on a v440 with 16G of RAM. I am trying to
run a Oracle 10G server on it. After adding the recommended shmsys and
semsys parameters in /etc/system, and doing a reboot -r (also tried
/reconfigure and boot -r), it doesn't show the new values using sysdef
-i

/etc/system:

*Oracle required params
* forceload: misc/ipc
* forceload: sys/shmsys
* forceload: sys/semsys
* forceload: sys/msgsys
set noexec_user_stack=1
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
 
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
*
*end oracle

sysdef -i
 
*
* IPC Messages
*
  2048 max message size (MSGMAX)
  4096 max bytes on queue (MSGMNB)
    50 message queue identifiers (MSGMNI)
    40 system message headers (MSGTQL)
*
* IPC Semaphores
*
    10 semaphore identifiers (SEMMNI)
    60 semaphores in system (SEMMNS)
    30 undo structures in system (SEMMNU)
    25 max semaphores per id (SEMMSL)
    10 max operations per semop call (SEMOPM)
    10 max undo entries per process (SEMUME)
 32767 semaphore maximum value (SEMVMX)
 16384 adjust on exit max value (SEMAEM)

*
* IPC Shared Memory
*
   8388608 max shared memory segment size (SHMMAX)
   100 shared memory identifiers (SHMMNI)

Tried using adb to change the values:

sequeira@ginger # adb -kw /dev/ksyms /dev/mem
physmem 1f3746
shminfo_shmmax/D
shminfo_shmmax:
shminfo_shmmax: 0
shminfo_shmmax/W 0t394967295
shminfo_shmmax: 0 = 0x178ab8ff
shminfo_shmmax/D
shminfo_shmmax:
shminfo_shmmax: 394967295
 
 sysdef -i output after change: is the same

*
* IPC Messages
*
  2048 max message size (MSGMAX)
  4096 max bytes on queue (MSGMNB)
    50 message queue identifiers (MSGMNI)
    40 system message headers (MSGTQL)
*
* IPC Semaphores
*
    10 semaphore identifiers (SEMMNI)
    60 semaphores in system (SEMMNS)
    30 undo structures in system (SEMMNU)
    25 max semaphores per id (SEMMSL)
    10 max operations per semop call (SEMOPM)
    10 max undo entries per process (SEMUME)
 32767 semaphore maximum value (SEMVMX)
 16384 adjust on exit max value (SEMAEM)
*
* IPC Shared Memory
*
   8388608 max shared memory segment size (SHMMAX)
   100 shared memory identifiers (SHMMNI)
*
* Time Sharing Scheduler Tunables
*
60 maximum time sharing user priority (TSMAXUPRI)
SYS system class name (SYS_NAME)

sequeira@ginger # ps -ef
     UID PID PPID C STIME TTY TIME CMD
    root 0 0 0 10:37:00 ? 0:39 sched
    root 1 0 0 10:37:00 ? 0:00 /etc/init -
    root 2 0 0 10:37:00 ? 0:00 pageout
    root 3 0 1 10:37:00 ? 0:16 fsflush
    root 331 1 0 10:37:33 ? 0:00 /usr/lib/saf/sac -t 300
    root 276 274 0 10:37:29 ? 0:00
/usr/sadm/lib/smc/bin/smcboot
    root 211 1 0 10:37:28 ? 0:00 /usr/sbin/inetd -s
    root 58 1 0 10:37:12 ? 0:00
/usr/lib/sysevent/syseventd
    root 66 1 0 10:37:13 ? 0:01 /usr/lib/picl/picld
    root 190 1 0 10:37:27 ? 0:00 /usr/sbin/rpcbind
    root 261 1 0 10:37:28 ? 0:00 /usr/lib/utmpd
    root 225 1 0 10:37:28 ? 0:00 /usr/sbin/syslogd
    root 161 1 0 10:37:27 ? 0:00 ipmon -Dsn
    root 235 1 0 10:37:28 ? 0:00 /usr/sbin/cron
    root 275 274 0 10:37:29 ? 0:00
/usr/sadm/lib/smc/bin/smcboot
    root 244 1 0 10:37:28 ? 0:00 /usr/sbin/nscd
    root 319 1 0 10:37:33 ? 0:00 /usr/sbin/vold
    root 274 1 0 10:37:29 ? 0:00
/usr/sadm/lib/smc/bin/smcboot
    root 292 1 0 10:37:29 ? 0:00 /usr/sbin/mdmonitord
    root 287 211 0 10:37:29 ? 0:00 rpc.metad
    root 359 346 0 10:37:49 ? 0:00 /usr/lib/ssh/sshd
    root 332 1 0 10:37:33 console 0:00 /usr/lib/saf/ttymon -g -h
-p ginger console login: -T sun -d /dev/console -l c
  oracle 333 1 0 10:37:33 ? 0:00
/oracle/software/10g_DEV/bin/ocssd.bin
    root 344 331 0 10:37:33 ? 0:00 /usr/lib/saf/ttymon
    root 346 1 0 10:37:34 ? 0:00 /usr/lib/ssh/sshd
sequeira 361 359 0 10:37:54 pts/1 0:00 -bash
    root 366 361 0 10:37:57 pts/1 0:00 -sh
    root 378 366 0 10:38:10 pts/1 0:00 bash
    root 403 378 0 10:47:46 pts/1 0:00 ps -ef
sequeira@ginger #

I need Help!. Thanks, Vinay
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:15 EDT