When I run docker and use the --ulimit memlock=-1:-1 option, what do the soft/hard values of -1 mean? Does it mean that I am allowing an unlimited amount memory to be locked by this container/process?
Asked
Active
Viewed 2.3k times
1 Answers
10
Yes you are right. Check the definition of memlock here
memlock
maximum locked-in-memory address space (KB)
This is memory that will not be paged out. It is frequently used by
database management applications such as Oracle or Sybase to lock
shared memory for a shared pool so that it is always in memory for
access by multiple sessions.
vishnu viswanath
- 201
- 1
- 5