bugparallel - Bugs: bug #56516, env_parallel gives 'parallel:...

 
 

bug #56516: env_parallel gives 'parallel: Error: No more processes: cannot run a single job. '

Submitter:  None
Submitted:  Tue 18 Jun 2019 05:13:46 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 18 Jun 2019 05:13:46 AM UTC, original submission:  

I'm running debian 10, with env_parallel.  Yes my bash environment is customized.

GNU parallel 20161222

I'm trying to run a command on every file in a large directory.

for a in {1..300};do touch $a'kind of a long filename this is a a long filename this is a long filename wa long filename this is a long filename wlong filename with lots of characters and maybe a pathname'; done

This should generate a argument length of about 50K, but `getconf ARG_MAX` is about 2M

What breaks is :
find -type f|env_parallel  --tty -m -j1 /bin/ls -l

using the option '-N 4' seems to fix the problem, and also using a shorter filenames in the test directory also seems to fix the problem.

the error i get is: 'parallel: Error: No more processes: cannot run a single job. Something is wrong at < one long line at this point> '

Thanks for your help!




Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-461b.
Corresponding source code