What does "ulimit -l" mean?

Eric Yung picture Eric Yung · Jun 10, 2009 · Viewed 34.2k times · Source

According to the manpage, "-l" in ulimit means "The maximum size that may be locked into memory". What does this sentence mean, exactly? How may it affect running programs?

Answer

1800 INFORMATION picture 1800 INFORMATION · Jun 10, 2009

Memory that is locked may not be paged out - this reduces the amount of memory that is available for other processes. This setting limits the amount of memory that can be locked.