My Oracle Support Banner

TimesTen: Shared Memory Segment Allocation Failure (error 28) On Linux (Doc ID 959412.1)

Last updated on JULY 07, 2023

Applies to:

Oracle TimesTen In-Memory Database - Version 7.0.0.0.0 to 11.2.2.8.13 [Release 7.0 to 11.2]
Generic Linux
This DocNote speaks to shared memory allocation problems that may be experienced on TimesTen on any Linux platform.


Symptoms

Attempts to allocate a TimesTen shared memory segment may fail on Linux even though the value of SHMMAX is larger then the segment size. Customers may see errors similar to the following:

ttadmin -cachestart <DSN NAME> 
*** [TimesTen][TimesTen 7.0.4.0.0 ODBC Driver][TimesTen]TT0836: Cannot create data store
shared-memory segment, error 28 -- file "db.c", lineno 9323, procedure "sbDbConnect"
*** ODBC Error = 08001, TimesTen Error = 836

*** [TimesTen][TimesTen 7.0.4.0.0 ODBC Driver][TimesTen]TT0703: Subdaemon connect to data store
failed with error TT836 -- file "db.c", lineno 9323, procedure "sbDbConnect"
*** ODBC Error = 08001, TimesTen Error = 703

"Error 28" in the error message refers to Linux errno=28, which indicates insufficient space available for the memory allocation. Since SHMMAX is larger then the shared memory segment that TimesTen is attempting to allocate, this error seems puzzling.

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

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