IBM Support

Semaphore create failure! when you restart Connect:Enterprise for UNIX

Troubleshooting


Problem

Issue restarting Connect:Enterprise UNIX ERROR - Semaphore create failure!

Symptom

IBM Sterling Connect:Enterprise for UNIX V2.5.00 Patch3 (2.5.0.3) iFix7 Build 87
IBM and the IBM logo are Trademarks of International Business Machines.
U.S. Patent Numbers 5,734,820 6,981,278
Mailbox daemon - Active records in database: 585452
ERROR - Semaphore create failure!

during restart of Connect:Enterprise on Linux server

Cause

System kernel semaphore settings are set too low

Environment

Linux
RedHat

Diagnosing The Problem

1) To determine the current values of the semaphore parameters, run:
# cat /proc/sys/kernel/sem
250 32000 32 128
These values represent SEMMSL, SEMMNS, SEMOPM, and SEMMNI.
Alternatively, you can run:
# ipcs -ls
------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767

2) To determine the current values of the shared memory parameters, run:
# cat /proc/sys/kernel/shmall
4294967296
# cat /proc/sys/kernel/shmmax
68719476736

Resolving The Problem

1) Semaphore: Increase these values to a minimum (or higher) of

SEMMSL - 250
SEMMNS - 256000 (this should be the value of SEMMSL * SEMMNI)
SEMOPM - 512
SEMMNI - 1024

2) Shared memory: Increase these values to a minimum (or higher) of

SHMMAX - 1048576
SHMALL -1024

[{"Product":{"code":"SSFVK3","label":"IBM Sterling Connect:Enterprise for UNIX"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Maintenance","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.5;2.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

More support for:
IBM Sterling Connect:Enterprise for UNIX

Software version:
2.5, 2.4

Operating system(s):
Linux

Document number:
275255

Modified date:
17 December 2019

UID

swg21973430

Manage My Notification Subscriptions