Linux Scroll

Just another WordPress.com site

Semaphores exhausted: OS support please check: 0 semaphores available.

Get current Semaphores value:

# cat /proc/sys/kernel/sem

# cat /etc/sysctl.conf
250 32000 32 128
max semaphores per array = 250
max semaphores system wide = 32000
max number of arrays = 128

Show current SEMAPHORES parameter:

# ipcs -l

Temporary increase Semaphores value:

# sysctl -w kernel.sem="500 32000 32 256"

Permanent increase Semaphores value:

# vi /etc/sysctl.conf

Load sysctl settings from the default file /etc/sysctl.conf.

# sysctl -p
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: