** UPDATE ** Kernel Tuning Parameter Values Solaris 8

From: FREEHOME SunManager (sunmanagers@freehome.ch)
Date: Thu Aug 19 2004 - 17:25:01 EDT


Hi Sunmanagers

Now I found the reason why it is not working! It is the RAM itself it means
I have absolutly the same machine with 256 RAM (not like the actual one with
128 RAM) and with NO application installed and there it is working in the
following way:

**************************************************************************
* modification for CA Antivirus

forceload: sys/msgsys
forceload: sys/shmsys
forceload: sys/semsys

set semsys:seminfo_semmap=258
set semsys:seminfo_semmni=256
set semsys:seminfo_semmns=512
set semsys:seminfo_semmnu=128
set semsys:seminfo_semmsl=128
set semsys:seminfo_semopm=20
set semsys:seminfo_semume=40
set semsys:seminfo_semusz=96
set semsys:seminfo_semvmx=128000
set semsys:seminfo_semaem=16384
set shmsys:shminfo_shmmax=256000000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=512
set shmsys:shminfo_shmseg=50
set msgsys:msginfo_msgmap=2048

set msgsys:msginfo_msgmax=32768
set msgsys:msginfo_msgmnb=65535
set msgsys:msginfo_msgmni=128
set msgsys:msginfo_msgssz=32
set msgsys:msginfo_msgtql=256
set msgsys:msginfo_msgseg=32767

set rlim_fd_cur=1024
set rlim_fd_max=1024

sysdef -i | more

*
* IPC Messages
*
 32768 max message size (MSGMAX)
 65535 max bytes on queue (MSGMNB)
   128 message queue identifiers (MSGMNI)
   256 system message headers (MSGTQL)
*
* IPC Semaphores
*
   256 semaphore identifiers (SEMMNI)
   512 semaphores in system (SEMMNS)
   128 undo structures in system (SEMMNU)
   128 max semaphores per id (SEMMSL)
    20 max operations per semop call (SEMOPM)
    40 max undo entries per process (SEMUME)
128000 semaphore maximum value (SEMVMX)
 16384 adjust on exit max value (SEMAEM)
*
* IPC Shared Memory
*
 256000000 max shared memory segment size (SHMMAX)
     1 min shared memory segment size (SHMMIN)
   512 shared memory identifiers (SHMMNI)
    50 max attached shm segments per process (SHMSEG)

If I use the values on the other machine with 128 RAM it is NOT working
because of less memory and the only thing which is different is Disksuite is
installed for mirroring boot disk and on /export is attached a raid. It
seems that disksuite needs a lot of memory and the errors are coming because
there is NOT enough memory installed to do it with the values above! The
error seems a little bit funny because it tells you not finding any
definition in a module but in real the values could not be set. Also the
forceload in /etc/system will not function because of no chance to set this
vaules.

Now I'm wondering if there is a way to configure it anyway it means to
allocate the applications in a other way! Is there a way?

Andrea

No I'm trying to install CA Antivirus 7.1 on Solaris 8 Sparc latest
recommended Cluster from June 2004 on a Ultra 5 270MHz with 128MB RAM (I
know not much RAM but at the moment..). Actually the software is installable
but the Realtime Monitor needs some special Parameters in /etc/system. I
tried different values and entries but allways if I'm rebooting I have
errors which indicates:

genunix: sorry, variable 'seminfo_msgmax' is not defined in the 'semsys'
genunix: module
genunix:
genunix: sorry, variable 'seminfo_msgmnb' is not defined in the 'semsys'
genunix: module
genunix:
genunix: sorry, variable 'seminfo_msgmni' is not defined in the 'semsys'
genunix: module
genunix:
genunix: sorry, variable 'seminfo_msgtql' is not defined in the 'semsys'
genunix: module
genunix:
genunix: sorry, variable 'seminfo_shmmni' is not defined in the 'semsys'
genunix: module
genunix:
genunix: sorry, variable 'seminfo_shmmax' is not defined in the 'semsys'
genunix: module
Agenunix:
genunix: sorry, variable 'seminfo_shmseg' is not defined in the 'semsys'
genunix: module
genunix:

                      N O T E
The following kernel tunable parameters are set to values
lower than their minimum recommended values for a Computer
Associates $CA_PROD_NAME installation on this platform.
Please examine the current and minimum recommended values.

Parameter Current Recommended
               value value
--------- ------- -----------
msgmax 2048 32768
msgmnb 4096 65535
msgmni 50 128
msgtql 40 256
shmmni 100 512
shmmax 1048576 256000000
shmseg 6 50

In the /etc/system I used following entries:

*************************************************************************
* modification for CA Antivirus

set msgsys:msginfo_msgmnb=65535
set msgsys:msginfo_msgmni=128
set msgsys:msginfo_msgtql=256
set semsys:seminfo_shmmni=512
set shmsys:shminfo_shmmax=256000000
set semsys:seminfo_shmseg=50
set semsys:seminfo_semume=40
set semsys:seminfo_semmns=512
set semsys:seminfo_semmap=258
set semsys:seminfo_semmni=256

I'm not really common with these tuning parameters! I read some info about
semaphores etc. but I was not able to configure the stuff without these
errors! Could anybody help me which entries I should use. The software will
make a check in the startup process and if the values are not set correctly
the Realtime Monitor will not start. All other stuff is starting and could
be used as normal. Without Realtime Monitor the whole thing is not
usefull....any help appriciated!

Kind regards

Andrea Soliva
_______________________________________________
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:29:19 EDT