bug-bash
[Top][All Lists]
Advanced

[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: Chet Ramey
Subject: Re: The memory occupied by bash has been increasing due to the fork bomb
Date: Thu, 16 Mar 2023 15:46:11 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 3/10/23 9:50 PM, zju wrote:

So is it possible to optimize the continuous growth of memory occupied by child 
processes?

You'll have to show that it's an actual leak, not just memory bash is
allocating and using for its own purposes. Maybe a more controlled test
instead of a fork bomb that you can run valgrind on.

--
``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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]