bug-parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning: Starting 10 extra processes takes > 2 sec.


From: Aaron Paetznick
Subject: Re: Warning: Starting 10 extra processes takes > 2 sec.
Date: Fri, 15 Oct 2010 08:48:17 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4

I've installed the latest version from git, and it is working much better for me now. I'm requesting six processes and that's what I'm getting. Thanks so much for the quick response!

By the way I loved the "tail -f" and inotifywait examples you posted previously. I would love to see a "cookbook" or user-contributed examples of "stupid parallel tricks". Clever recipes people have come up with for using parallel IRL. maybe a little off topic for the bugs list, but I thought I'd mention it.


--Aaron



On 10/14/2010 04:16 PM, Ole Tange wrote:
On Thu, Oct 14, 2010 at 3:52 PM, Aaron Paetznick<address@hidden>  wrote:
I keep getting the following warning when using parallel:

Warning: Starting 10 extra processes takes>  2 sec.
Limiting to 1 jobs in parallel.

This is on an NFS server that is busy compressing tar archives all day.  I
appreciate that parallel is trying to protect me from myself, but I feel
like I should be able to force the number of processes and/or bypass this
warning if I need to.

I have given it some thought: The UNIX philosophy is that if you point
a gun at your foot and pull the trigger, UNIX will not ask you "Are
you sure?" or "Really?". Neither will UNIX refuse to do so. No, UNIX
will do its best to shoot your foot clean off.

So with that in mind the current behaviour is not wanted. I believe it
is OK to warn that this may cause problems, but GNU Parallel should go
ahead and do what it was told to do.

So the current git version of GNU Parallel will give you a warning
with advice of adjusting -j and pressing Ctrl-C to stop, but it will
continue instead of stopping. That should deal with your problem.


/Ole




reply via email to

[Prev in Thread] Current Thread [Next in Thread]