From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: Problems with GNU Parallel and ulimit Date: Fri, 22 Jun 2018 00:55:26 +0200 Message-ID: <874lhvagwx.fsf@lassieur.org> References: <20170814235837.0a42fe85@centurylink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW8UK-0004WJ-7e for help-guix@gnu.org; Thu, 21 Jun 2018 18:55:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fW8UH-00018B-5a for help-guix@gnu.org; Thu, 21 Jun 2018 18:55:36 -0400 Received: from mail.lassieur.org ([83.152.10.219]:35462) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fW8UG-00016x-N3 for help-guix@gnu.org; Thu, 21 Jun 2018 18:55:33 -0400 In-reply-to: <20170814235837.0a42fe85@centurylink.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Eric Bavier Cc: help-guix@gnu.org Eric Bavier writes: > Sending response to the list this time... > >> Arun Isaac writes: >>=20 >> > Leo Famulari writes: >> > >> >> On Mon, Aug 14, 2017 at 12:46:25PM +1000, Ben Woodcroft wrote: >> >>> On 14/08/17 12:31, Arun Isaac wrote: >> >>> > Does `parallel' work for anybody? When I run >> >>> >=20 >> >>> > $ ls | parallel echo >> >>> >=20 >> >>> > I get the following error message, and nothing happens. >> >>> It works fine for me using Guix on a foreign OS, and has since I >> >>> can remember. >> >>> ben >> >> >> >> Same here. Arun, can you give some more details about your system? >> > >> > This is probably a problem only on GuixSD systems. Could you try on >> > GuixSD instead of using Guix on a foreign distro? >>=20 >> I tested it on GuixSD, works fine. Are you trying the command in a >> folder with > 1024 files perhaps? What does `ulimit -n` print? > > The problem appears if you do not have 'perl' available in $PATH. GNU > parallel calls it recursively for a few tasks: > > $ guix package -I | grep "perl" > $ echo $? > 1 > $ parallel echo ::: 1 2 3 > ... > parallel: Warning: Raising ulimit -u or /etc/security/limits.conf may hel= p. > parallel: Error: No more processes: cannot run a single job. Something is= wrong at 1. > $ guix environment --ad-hoc perl > [dev]$ parallel echo ::: 1 2 3 > 1 > 2 > 3 > > There is some path patching that goes on in the package recipe, but it > must have gone out of sync in latest versions. The 'post-install-test' > phase wouldn't catch this particular error without '(setenv "PATH" "")'. > > I wouldn't feel quite comfortable doing a "blind" update of the regex, > since some mentions of "perl" I think are meant to be executed by > remote hosts and so shouldn't be patched to absolute store references. Hi, This is fixed by 4e7950fdce5b83db018c44a80ec4a4059612d716 (it adds a wrap-program phase). Cl=C3=A9ment