Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
予期しない障害が発生した場合に備えて、perl スクリプトのすべての子プロセスでコア ファイルを生成する必要があります。ulimitでは、どうすればunlimited内部の perlに設定できますか?
ulimit
unlimited
perl スクリプトを起動するユーザーの openfiles パラメータを変更する必要があります。したがって、次のようにしてオンザフライで制限を変更できます。
ulimit -n unlimited && perl path/to/your/script.pl
または、bash スクリプトを作成することもできますfoo.sh。
foo.sh
#!/bin/bash ulimit -n unlimited perl path/to/your/script.pl