Gentoo Archives: gentoo-user

From: Daniel Iliev <daniel.iliev@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Set "max locked memory" to unlimited
Date: Mon, 28 Jul 2008 14:11:39
Message-Id: 20080728171126.001e482f@ilievnet.com
In Reply to: Re: [gentoo-user] Set "max locked memory" to unlimited by Justin
1 On Fri, 25 Jul 2008 18:10:03 +0200
2 Justin <justin@×××××××××.net> wrote:
3
4 >
5 > >
6 > > Assuming your system is PAM-enabled, you can set the limits by
7 > > editing "/etc/security/limits.conf".
8 > >
9 > > The new limits will not affect sessions which are already started.
10 > > In other words you need to log off/on for the new settings to take
11 > > effect.
12 > >
13 > > More info: man(5) limits.conf
14 > >
15 > >
16 > >
17 >
18 > That works, but how can I set it to unlimited?
19 >
20
21
22 If you have no entry there should be no limit. Alternatively, I
23 believe, a dash ("-") can be used to specify "unlimited".
24
25
26
27 --
28 Best regards,
29 Daniel