From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B0604138010 for ; Thu, 23 Aug 2012 11:26:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF329E077F; Thu, 23 Aug 2012 11:26:09 +0000 (UTC) Received: from mta01.eah1.net (mta01.eah1.net [87.98.143.218]) by pigeon.gentoo.org (Postfix) with ESMTP id 4D8D5E06F9 for ; Thu, 23 Aug 2012 11:23:55 +0000 (UTC) Received: from web01.eah1.net (mta01.eah1.net [87.98.143.218]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: xavier@parizet.com) by mta01.eah1.net (Postfix) with ESMTPSA id B9D0F1580D8 for ; Thu, 23 Aug 2012 13:23:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gentooist.com; s=DKIM; t=1345721034; bh=bZpNo9x5pNn+kHue2Z35oIUB7kKBHK0OOmSD1hJhBxU=; h=Date:From:To:Subject:Reply-To:In-Reply-To:References; b=OWzi9zFDJWM5sglqfwsN/lgcJegMKe7xctG4TShIFK1petSC+a86LNI0rkJ8FrRC3 klseJsbDvKtMTgcHe78au9DoBMl5JX6gWKHXPbgFjDVTl2PAsiEuLGJp9HUFGK9VRX b4YhEmK2o+hkb4NIYBDJcdlbnv0f+8cO12KoJ3rM= Received: from host.226.146.23.62.rev.coltfrance.com ([62.23.146.226]) by webmail.linuxant.fr with HTTP (HTTP/1.1 POST); Thu, 23 Aug 2012 13:23:54 +0200 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 23 Aug 2012 13:23:54 +0200 From: Blakawk To: Subject: Re: [gentoo-user] xz memory =?UTF-8?Q?hungry=3F?= Mail-Reply-To: In-Reply-To: References: <5035439E.6090707@binarywings.net> <1345715258.16849.90.camel@troll> Message-ID: <505cd7dead7319bd580a586c6f288fe1@parizet.com> X-Sender: blakawk@gentooist.com User-Agent: RoundCube Webmail/0.8-beta X-Archives-Salt: 5eff02be-fffa-4940-982a-1dff4d33c957 X-Archives-Hash: 3d6100f3096a1751ef3c3ec40446cbfb On 23/08/2012 12:14, Jorge Almeida wrote: > On Thu, Aug 23, 2012 at 10:47 AM, Bill Kenworthy > wrote: > >>> Last time I had a problem like this I spent a lot of time googling >>> about ulimit/setting_limits/etc and found _nothing_ worth >>> mentioning. >>> This time I run "ulimit -v unlimited", but the question is who put >>> the former values there? Some hard-coded default? I couldn't find >>> anything in init scripts nor in bash rc files. I know that on >>> logout >>> the value is lost (I had to run ulimit again on chrooting). What is >>> the appropriate file to put "ulimit -v unlimited" in? Perhaps >>> ~/.bash_profile? And how can root set different hard limits for >>> different users? Maybe some bash guru will step in?:) >> probably rc.conf, or maybe login.defs depending on per user/or >> everyone > > It seems rc.conf has a variable for ulimit -u, not for the other > flags. > login.defs has ULIMIT but teh man page just says "Default ulimit > value" > Ah well... In /etc/security/limits.conf you can put any limits that can be set using ulimit command so they are kept between reboots. > Thanks > > J.A.