|
From: | Chet Ramey |
Subject: | Re: The memory occupied by bash has been increasing due to the fork bomb |
Date: | Fri, 10 Mar 2023 09:21:39 -0500 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
> First, systemd will send a sigterm to bash, but in bash-5.1, the bash process will not be killed. this was caused by a > > > change in bash 5.1. The modified change information is as follows > ``` > sss. Fix a bug where receiving SIGTERM from a different process while readline was active could cause the shell to terminate > ``` Sorry, it's wrong. The sigterm signal is sent by bash instead of systemd, Relevant log information is as follows
Interactive shells always ignore SIGTERM. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |