My Oracle Support Banner

Random TNS-01115: OS error 22 creating shared memory segment of 117 bytes with key though under the project.max-shm-memory cap (Doc ID 2409271.1)

Last updated on JULY 05, 2022

Applies to:

Solaris Operating System - Version 11.3 and later
Information in this document applies to any platform.

Symptoms

Database instances randomly crashing with the following (example):

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=ASMNET1LSNR_ASM)))
TNS-01114: LSNRCTL could not perform local OS authentication with the listener
TNS-01115: OS error 22 creating shared memory segment of 117 bytes with key 1797290500

However, the /etc/project files show really high project.max-shm-memory cap:

system:0::::process.max-file-descriptor=(priv,4096,deny);project.max-sem-ids=(priv,2048,deny);project.max-shm-ids=(priv,512,deny);project.max-shm-memory=(priv,824633720832,deny)
user.root:1::::process.max-file-descriptor=(priv,4096,deny)
noproject:2::::
default:3::::process.max-file-descriptor=(priv,4096,deny)
group.staff:10::::
oinstall:100::::process.max-sem-nsems=(privileged,1024,deny);process.max-sem-ops=(privileged,512,deny);project.max-msg-ids=(privileged,4096,deny);project.max-sem-ids=(privileged,65535,deny);project.max-shm-ids=(privileged,4096,deny);project.max-shm-memory=(privileged,934584254464,deny)
user.oracle:101::::process.max-file-descriptor=(basic,65536,deny);process.max-sem-nsems=(privileged,1024,deny);process.max-sem-ops=(privileged,512,deny);process.max-stack-size=(basic,10737418240,deny);project.max-msg-ids=(privileged,4096,deny);project.max-sem-ids=(privileged,65535,deny);project.max-shm-ids=(privileged,4096,deny);project.max-shm-memory=(privileged,934584254464,deny)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.