Gnu-Parallel
GNU Parallel 停止工作
GNU Parallel 工作正常,突然每當我嘗試使用它時,我都會收到以下錯誤消息,我在執行任何並行命令時都會收到:
parallel: This should not happen. You have found a bug. Please contact <parallel@gnu.org> 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 和沒有測試
- 將 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 <parallel@gnu.org> 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
20160222 已經 4 歲了。這是一個已知問題。
升級到20201222