My Oracle Support Banner

Memory locking operations fails with EAGAIN despite plenty of free memory and swap (Doc ID 2079204.1)

Last updated on MARCH 08, 2021

Applies to:

Solaris Operating System - Version 10 and later
Information in this document applies to any platform.


Memory locking operations like memcntl(2), mlock(3C), mlockall(3C), mmap(2) can fail with EAGAIN although the system has plenty of free memory and swap.

In this case, the system has more than 30GB free memory and 360GB free swaps, but memcntl or mmap fails with EAGAIN.


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

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