TimesTen: Shared Memory Segment Allocation Failure (error 28) On Linux
Last updated on MAY 10, 2018
Applies to:Oracle TimesTen In-Memory Database - Version 220.127.116.11.0 to 18.104.22.168.13 [Release 7.0 to 11.2]
This DocNote speaks to shared memory allocation problems that may be experienced on TimesTen on any Linux platform.
***Checked for relevance on 10-Mar-2015***
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:
*** [TimesTen][TimesTen 22.214.171.124.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 126.96.36.199.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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms