Re: memory leak in bash only during boot up in Bash-3.2.48

2018-12-26 Thread Chet Ramey
On 12/22/18 3:47 AM, ABHISHEK PALIWAL wrote: > Hi Chet, > >>What is the hard limit on the number of processes for a process started in >>this environment? (The value of `ulimit -n'.) > > Here are the Hard and soft limits for open files and max user processes. > root@localhost:/root> ulimit -Hn >

Re: memory leak in bash only during boot up in Bash-3.2.48

2018-12-22 Thread ABHISHEK PALIWAL
Hi Chet, >What is the hard limit on the number of processes for a process started in >this environment? (The value of `ulimit -n'.) Here are the Hard and soft limits for open files and max user processes. root@localhost:/root> ulimit -Hn 1024 root@localhost:/root> ulimit -Hu 516046 root@localhost

Re: memory leak in bash only during boot up in Bash-3.2.48

2018-12-21 Thread Chet Ramey
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/

memory leak in bash only during boot up in Bash-3.2.48

2018-12-19 Thread abhishpaliwal
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. "se