Messages file fills up with the message: "vlrpc: kSemaphoreWait on -1[3]failed w/error 22"

  • 7011983
  • 19-Mar-2013
  • 19-Mar-2013


Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3


The /var/log/messages file was continually receiving the messages:
vlrpc: kSemaphoreWait on -1[3]failed w/error 22(Invalid argument)
Failed to initialize VLRPC for Linux Error -1006
adminus daemon: Unable to Singal ShardSeminfo->semID -1[6]lockj ,,retrying. Invalid argument
volmnd: Unable to Signal SharedSemInfo->semID -1[11]lock ..retrying. Invalid argument
volmnd: Apparent memory corruption  - Unable to wait on the Volume Manager Comms Thread Semaphore


The "ipcs -l" command showed  "max semaphores per array =100".
The system did not have enough semaphore to accommodate our needs.
Edit the /etc/sysctl.conf file and remark out the  line "kernel.sem = 100"  (The default is 250) or modify the value according to the system's needs.


We are not sure what application may have changed this from the default.