ネットワークケーブルが抜けているなどでssh セッションが終了し、親プロセスが終了しても子プロセスが終了しない
Issue
- 子プロセスがあり、その親が終了するときに子プロセスに SIGTERM を送信して適切に削除されるようにオペレーティングシステムを設定しましたが、ネットワーク接続が終了したときに SIGTERM を受け取らないのはなぜですか?
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
