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/
On 12/19/18 1:10 AM, jake wrote:
> Hi all,
>
> I did a test about run a bash scriplt never quit,but met a memory usage
> issue that cause used memory continuous increase.
> This issue was present in bash-3.2.x, bash-4.0.x, bash-4.1.x, bash-4.2.x,
> bash-4.3.x. However, This issue was disappeared i
On 12/19/18 10:15 PM, Bize Ma wrote:
> Chet Ramey (mailto:chet.ra...@case.edu>>) wrote:
>
> And yet, when you look at the source, the signal handlers are installed
> with SA_RESTART. For example,
>
>
>
> # if defined (SIGWINCH)
> act.sa_flags = (sig == SIGWINCH) ? SA_RESTART