Failed to Attach to Shared Memory Segment for IPC

While using shared memory segment (SHM) as IPC, the application may see the following error message from the TimesTen Client ODBC Driver if the application reaches the system-defined per-process file-descriptor-limit.

SQLState    = S1000,
Native Error = 0,
Message     = [TimesTen][TimesTen 22.1 CLIENT]Failed to attach to shared memory 
segment for IPC. System error: 24

This may happen during a connect operation to the Client DSN when the shmat system call fails because the application has more open file descriptors than the system-defined per-process file descriptor limit. To correct this problem, you must increase your system-defined per-process file descriptor limit. For more information about file descriptor limits, see System Limits in the Oracle TimesTen In-Memory Database Reference.