[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memory leak in bash only during boot up in Bash-3.2.48
From: |
Chet Ramey |
Subject: |
Re: memory leak in bash only during boot up in Bash-3.2.48 |
Date: |
Fri, 21 Dec 2018 11:50:52 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 |
On 12/19/18 12:54 AM, abhishpaliwal wrote:
> create a shell script from below given code. name it testing.sh.
>
> #!/bin/bash
> logger "Started testing"
> while(true); do
> while (true); do ls > /dev/null ; done
> done
>
> Steps.
> # chmod 755 /root/testing.sh
> modify any /etc/init.d/"service" file add "/root/testing.sh" inside the
> start case.
> "service" is any service file starting during start up.
> Make sure above service is started during the startup.
What is the hard limit on the number of processes for a process started in
this environment? (The value of `ulimit -n'.)
--
``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/