Gentoo Archives: gentoo-user

From: Blakawk <blakawk@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xz memory hungry?
Date: Thu, 23 Aug 2012 11:26:35
Message-Id: 505cd7dead7319bd580a586c6f288fe1@parizet.com
In Reply to: Re: [gentoo-user] xz memory hungry? by Jorge Almeida
1 On 23/08/2012 12:14, Jorge Almeida wrote:
2 > On Thu, Aug 23, 2012 at 10:47 AM, Bill Kenworthy <billk@×××××××××.au>
3 > wrote:
4 >
5 >>> Last time I had a problem like this I spent a lot of time googling
6 >>> about ulimit/setting_limits/etc and found _nothing_ worth
7 >>> mentioning.
8 >>> This time I run "ulimit -v unlimited", but the question is who put
9 >>> the former values there? Some hard-coded default? I couldn't find
10 >>> anything in init scripts nor in bash rc files. I know that on
11 >>> logout
12 >>> the value is lost (I had to run ulimit again on chrooting). What is
13 >>> the appropriate file to put "ulimit -v unlimited" in? Perhaps
14 >>> ~/.bash_profile? And how can root set different hard limits for
15 >>> different users? Maybe some bash guru will step in?:)
16 >> probably rc.conf, or maybe login.defs depending on per user/or
17 >> everyone
18 >
19 > It seems rc.conf has a variable for ulimit -u, not for the other
20 > flags.
21 > login.defs has ULIMIT but teh man page just says "Default ulimit
22 > value"
23 > Ah well...
24
25 In /etc/security/limits.conf you can put any limits that can be set
26 using ulimit command so they are kept between reboots.
27
28 > Thanks
29 >
30 > J.A.

Replies

Subject Author
Re: [gentoo-user] xz memory hungry? Jorge Almeida <jjalmeida@×××××.com>