all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Lassieur" <clement@lassieur.org>
To: Eric Bavier <ericbavier@centurylink.net>
Cc: help-guix@gnu.org
Subject: Re: Problems with GNU Parallel and ulimit
Date: Fri, 22 Jun 2018 00:55:26 +0200	[thread overview]
Message-ID: <874lhvagwx.fsf@lassieur.org> (raw)
In-Reply-To: <20170814235837.0a42fe85@centurylink.net>

Eric Bavier <ericbavier@centurylink.net> writes:

> Sending response to the list this time...
>
>> Arun Isaac <address@hidden> writes:
>> 
>> > 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
>> >>> > 
>> >>> > $ ls | parallel echo
>> >>> > 
>> >>> > 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?
>> 
>> 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 help.
> 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ément

  parent reply	other threads:[~2018-06-21 22:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-15  4:58 Problems with GNU Parallel and ulimit Eric Bavier
2017-08-17 15:00 ` Arun Isaac
2018-06-21 22:55 ` Clément Lassieur [this message]
2018-08-11 10:04   ` Arun Isaac
  -- strict thread matches above, loose matches on Subject: below --
2017-08-15  4:41 ericbavier
2017-08-14  2:31 Arun Isaac
2017-08-14  2:46 ` Ben Woodcroft
2017-08-14 16:14   ` Leo Famulari
2017-08-14 18:44     ` Arun Isaac
2017-08-14 19:16       ` Marius Bakke
2017-08-14 20:07       ` myglc2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874lhvagwx.fsf@lassieur.org \
    --to=clement@lassieur.org \
    --cc=ericbavier@centurylink.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.