[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The memory occupied by bash has been increasing due to the fork bomb
From: |
wang yuhang |
Subject: |
Re: The memory occupied by bash has been increasing due to the fork bomb |
Date: |
Fri, 10 Mar 2023 18:04:49 +0800 |
> 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
```
Mar 10 08:52:58 localhost.localdomain sysmonitor[1191]: sysmonitor[1191]:
comm:bash exe:bash[384578](parent comm:bash parent exe:[384404]) send SIGTERM
to comm:bash exe:bash[384593].(systemd[1]) Mar 10 08:52:58
localhost.localdomain sysmonitor[1191]: sysmonitor[1191]: comm:bash
exe:bash[384404](parent comm:systemd parent exe:systemd[1]) send SIGTERM to
comm:bash exe:[384592]. Mar 10 08:52:58 localhost.localdomain sysmonitor[1191]:
sysmonitor[1191]: comm:bash exe:bash[384578](parent comm:bash parent
exe:[384404]) send SIGTERM to comm:bash exe:bash[384592].(systemd[1]) Mar 10
08:52:58 localhost.localdomain sysmonitor[1191]: sysmonitor[1191]: comm:bash
exe:bash[384578](parent comm:bash parent exe:bash[384404]) send SIGTERM to
comm:bash exe:[384587].(systemd[1]) Mar 10 08:52:58 localhost.localdomain
sysmonitor[1191]: sysmonitor[1191]: comm:bash exe:bash[384404](parent
comm:systemd parent exe:systemd[1]) send SIGTERM to comm:bash exe:bash[384587].
Mar 10 08:52:58 localhost.localdomain sysmonitor[1191]: sysmonitor[1191]:
comm:bash exe:bash[384578](parent comm:bash parent exe:bash[384404]) send
SIGTERM to comm:bash exe:[384586].(systemd[1]) Mar 10 08:52:58
localhost.localdomain sysmonitor[1191]: sysmonitor[1191]: comm:bash
exe:bash[384404](parent comm:systemd parent exe:systemd[1]) send SIGTERM to
comm:bash exe:bash[384586]. Mar 10 08:52:58 localhost.localdomain
sysmonitor[1191]: sysmonitor[1191]: comm:bash exe:bash[384404](parent
comm:systemd parent exe:systemd[1]) send SIGTERM to comm:bash exe:[384584]. Mar
10 08:52:58 localhost.localdomain sysmonitor[1191]: sysmonitor[1191]: comm:bash
exe:bash[384578](parent comm:bash parent exe:[384404]) send SIGTERM to
comm:bash exe:bash[384584].(systemd[1]) Mar 10 08:52:58 localhost.localdomain
sysmonitor[1191]: sysmonitor[1191]: comm:bash exe:bash[384578](parent comm:bash
parent exe:bash[384404]) send SIGTERM to comm:bash exe:[384583].(systemd[1])
Mar 10 08:52:58 localhost.localdomain sysmonitor[1191]: sysmonitor[1191]:
comm:bash exe:bash[384404](parent comm:systemd parent exe:systemd[1]) send
SIGTERM to comm:bash exe:bash[384583]. Mar 10 08:52:58 localhost.localdomain
sysmonitor[1191]: sysmonitor[1191]: comm:bash exe:bash[384578](parent comm:bash
parent exe:bash[384404]) send SIGTERM to comm:bash
exe:[384580].(systemd[1])
```
- The memory occupied by bash has been increasing due to the fork bomb, wang yuhang, 2023/03/10
- Re: The memory occupied by bash has been increasing due to the fork bomb,
wang yuhang <=
- Re: The memory occupied by bash has been increasing due to the fork bomb, zju, 2023/03/10
- Re: The memory occupied by bash has been increasing due to the fork bomb, zju, 2023/03/10
- Re: The memory occupied by bash has been increasing due to the fork bomb, Chet Ramey, 2023/03/10
- Re: The memory occupied by bash has been increasing due to the fork bomb, zju, 2023/03/10
- Re: The memory occupied by bash has been increasing due to the fork bomb, Greg Wooledge, 2023/03/10
- Re: The memory occupied by bash has been increasing due to the fork bomb, zju, 2023/03/11
- Re: The memory occupied by bash has been increasing due to the fork bomb, alex xmb ratchev, 2023/03/11
- Re: The memory occupied by bash has been increasing due to the fork bomb, Chet Ramey, 2023/03/16