Memory locking operations fails with EAGAIN despite plenty of free memory and swap

(Doc ID 2079204.1)

Last updated on JULY 29, 2016

Applies to:

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

Symptoms

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.

Cause

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