cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Semaphores

 
Highlighted
Occasional Contributor

Semaphores

I am running Diagnostics on a V2500 running HPUX 11.0. Early this morning the
syslog recorded the following error;
diagmond[11744]: Exit due to semaphore failure

Can anyone help me determine the cause of this? I need diagnostics to run
continously. THanks.
4 REPLIES 4
Highlighted
Frequent Advisor

Re: Semaphores

HI GARY,

YOU HAVE TO CHECK THE VALUES OF YOUR SEMVMX AND ALL THE OTHER SEM*** IN YOUR
KERNEL CONFIGURATION FILE.
eg: SEMVMX=32767.

Cheers!
Highlighted
New Member

Re: Semaphores

I work with Gary.
Currently, the kernel parameters for semaphores are:
sema 1
semaem 16384
semmap 3074
semmni 3072
semmns 16384
semmnu 2048
semume 2048
semvmx 32767
Highlighted
Frequent Advisor

Re: Semaphores

Hi charles,

Use the 'ipcs -mobs' command to add up the values of NSEMS at your system peak
time. With this you should be able to know the value to set your SEMMNS.

May I suggest you reduce the following values to:
SEMMAP=2048
SEMMNI=2046
SEMMNS=8192
SEMMNU=2048
SEMUME=1024

This will definitely require a system reboot.
Highlighted
New Member

Re: Semaphores

Thanks, Chris, but why would I want to reduce those values? Also, FYI, we have
3 other V2500s configured the exact same with no problems. Also, in the
syslog, I found this entry:
Mar 23 04:30:50 LVM[20748]: /usr/lbin/lvlnboot -v
Mar 23 04:30:54 diagmond[11744]: Exit due to semaphore failure

We have HAO which seems to be running the lvlnboot commands, as well as other
stuff, early in the AM.