|
From: | Chet Ramey |
Subject: | Re: The memory occupied by bash has been increasing due to the fork bomb |
Date: | Fri, 10 Mar 2023 17:11:55 -0500 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
Second, When bash fork is a child process, it always creates a memory to manage the job, even if the maximum number set by the ulimit command is reached ```
If the maximum number of child processes is exceeded, fork(2) fails, and this code is not executed. -- ``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] |