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 09251138010 for ; Thu, 23 Aug 2012 10:17:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0396AE076E; Thu, 23 Aug 2012 10:17:01 +0000 (UTC) Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 49BADE06FD for ; Thu, 23 Aug 2012 10:14:14 +0000 (UTC) Received: by obbup19 with SMTP id up19so1168004obb.40 for ; Thu, 23 Aug 2012 03:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=I4/SufvhaB1TWR3gMLIOLeHxXZnhwib0bRWCKQKAv2Y=; b=Hz3aq1CVE/Tss6Mtv9vL9g6lOno3R4o+7f+1W2S6hG1nbp6BamlzB1OqJwqfE9MV5q I8ZwMs7aY1d2PTYmDIdyn4+fqIn003kasFfE/9j6l8f4+Ic2DEYJcPdG1MJwksCfAJGP +TIwBslxJ3JNnDQ+XFXD5JKWWqxKtWPbVANv6h4YYwH+RsdG5WIiQxLIPPUZT9z5etFw X56HhV9K2eDtfBNB5U7J6UGTno3vUac11a5JoxlIIgxMkbp9nst5Leo7zvfmvvbAo2S5 k5h2p0R0pGvmLiZuE/TnNYHSGhhVtBJbLD0QDWRrPGstUcDQLteeC6I67bbmrdVjhM4q +VvA== 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 Received: by 10.182.64.47 with SMTP id l15mr675612obs.4.1345716854570; Thu, 23 Aug 2012 03:14:14 -0700 (PDT) Received: by 10.76.75.193 with HTTP; Thu, 23 Aug 2012 03:14:14 -0700 (PDT) In-Reply-To: <1345715258.16849.90.camel@troll> References: <5035439E.6090707@binarywings.net> <1345715258.16849.90.camel@troll> Date: Thu, 23 Aug 2012 11:14:14 +0100 Message-ID: Subject: Re: [gentoo-user] xz memory hungry? From: Jorge Almeida To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: b95146cc-516a-47ef-b705-6f7bc6c935a0 X-Archives-Hash: 987426462ddd82123f4585c3cae1a27f 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... Thanks J.A.