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: Thu, 24 Jul 2008 13:26:03
Message-Id: 20080724162549.12e2b1c8@ilievnet.com
In Reply to: [gentoo-user] Set "max locked memory" to unlimited by Justin
1 On Thu, 24 Jul 2008 10:01:17 +0200
2 Justin <justin@×××××××××.net> wrote:
3
4 > Hi all,
5 >
6 > I tryed to set the "max locked memory" for a user to unlimited.
7 > I did this in that way,
8 > opened shell
9 > su
10 > ulimit -l unlimited
11 > exit
12 > ulimit -a
13 >
14 > And the unlimited was gone and reset to 32k. As root it was set right.
15 >
16 > What did I do wrong, or where else I have to change things?
17 >
18 >
19 > Thanks,
20 > justin
21 >
22
23 Assuming your system is PAM-enabled, you can set the limits by editing
24 "/etc/security/limits.conf".
25
26 The new limits will not affect sessions which are already started. In
27 other words you need to log off/on for the new settings to take effect.
28
29 More info: man(5) limits.conf
30
31
32 --
33 Best regards,
34 Daniel

Replies

Subject Author
Re: [gentoo-user] Set "max locked memory" to unlimited Justin <justin@×××××××××.net>