TimesTen Error Messages

TT-00836

Cannot create database shared-memory segment, error os_error_number


Cause

Unable to create a shared memory segment during a database creation or database connection operation.

On Linux or UNIX systems, the shmget call can receive UNIX error EINVAL due to an inability to allocate a shared memory segment of the requested size. Common causes for this are:

  • The daemon is configured to use huge pages but huge pages are not configured or unavailable (under configured or being used by another process) on the system.

  • The operating system denies the request because the kernel parameters shmmax or shmall are set too low.

  • The configured swap space is insufficient for the requested shared memory segment. It is possible that some Linux or UNIX systems have additional possible causes for the error. The shmget man page lists the possibilities.


Action

Diagnose and troubleshoot the operating system error. For more information see Manage semaphores and shared memory segments in Oracle TimesTen In-Memory Database Monitoring and Troubleshooting Guide.


Additional Information

You may be unable to connect to the database or load it into memory.