IBM Support

ENOSPC error while allocating shared memory

Troubleshooting


Problem

Informix fails to allocate shared memory segment that may cause assertion failure.

Symptom

Informix is trying to create a shared memory segment using shmget() call but it fails and you find error messages in the message log similar to:

Message Log
14:41:44 shmget: [ENOSPC][28]: key 52574806: out of shmid's, check system SHMMNI
14:41:44 create_tcb: cannot allocate memory

14:41:45 shmget: [ENOSPC][28]: key 52574806: out of shmid's, check system SHMMNI
14:41:45 out of virtual shared memory


You may see recurrence of the above error messages in message log. If you let continue with these errors, eventually Informix may crash.

Note: The time stamps and the key value in the above errors may be different than those shown.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF027","label":"Solaris"}],"Version":"10.0;11.1;11.5;7.3;9.2;9.3;9.4;11.7;12.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21614434