Database Connection Fails With Cannot create data store shared-memory segment, error 22
(Doc ID 1504153.1)
Last updated on JANUARY 10, 2020
Applies to:Oracle TimesTen In-Memory Database - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
TimesTen connection fails with error TT836:
836: Cannot create data store shared-memory segment, error 22
703: Subdaemon connect to data store failed with error TT836
The command failed.
On Linux and Unix, Error 22 means EINVAL - "Invalid Argument"
What that actually means in this case is that there is not enough memory to create the TimesTen shared memory segment as described in KM article, 1384897.1 - HOWTO : Resolve TimesTen Error TT14000: TimesTen daemon internal error: Error 22 creating shared (OS reports invalid shared segment size) .
User compared existing database sizing attributes, PermSize + TempSize + LogBufMB + ~20MB database overhead, and notices it is sized appropriately for the current kernel.shmmax and/or huge page settings (if they configured TimesTen to use huge pages).
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