GNU Parallel 工作正常,但每当我尝试使用它时,我突然收到运行任何并行命令时收到的错误消息:
parallel: This should not happen. You have found a bug.
Please contact <[email protected]> and include:
* The version number: 20160222
* The bugid: pidtable format: 10390 1
* The command line being run
* The files being read (put the files on a webserver if they are big)
If you get the error on smaller/fewer files, please include those instead.
kill_sleep TERM
kill_sleep TERM
kill_sleep TERM
kill_sleep KILL
例子:
$ ls -1 | parallel echo
parallel: This should not happen. You have found a bug.
Please contact and include:
* The version number: 20160222
* The bugid: pidtable format: 10390 1
* The command line being run
* The files being read (put the files on a webserver if they are big)
If you get the error on smaller/fewer files, please include those instead.
采取的步骤:
- GNU 并行重装
- 机器重新启动
- 使用 sudo 和不使用 sudo 进行测试
- 将 ulimit“打开文件”更改为默认值 1024
$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 256635
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 65535
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 4096
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
另一个试验:
$ parallel -Dall -j0 ping -nc 3 ::: qubes-os.org gnu.org freenetproject.org
parallel: This should not happen. You have found a bug.
Please contact <[email protected]> and include:
* The version number: 20160222
* The bugid: pidtable format: 3694 1
* The command line being run
* The files being read (put the files on a webserver if they are big)
If you get the error on smaller/fewer files, please include those instead.
kill_sleep TERM
kill_sleep TERM
kill_sleep TERM
kill_sleep KILL
答案1
20160222已经4岁了。这是一个已知的问题。
升级到20201222