Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14941 > unrolled thread

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

Started byABHISHEK PALIWAL <abhishpaliwal@gmail.com>
First post2018-12-22 14:17 +0530
Last post2018-12-22 14:17 +0530
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: memory leak in bash only during boot up in Bash-3.2.48 ABHISHEK PALIWAL <abhishpaliwal@gmail.com> - 2018-12-22 14:17 +0530

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

FromABHISHEK PALIWAL <abhishpaliwal@gmail.com>
Date2018-12-22 14:17 +0530
SubjectRe: memory leak in bash only during boot up in Bash-3.2.48
Message-ID<mailman.6096.1545468501.1284.bug-bash@gnu.org>
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:/root> ulimit -Su
1024
root@localhost:/root> ulimit -Sn
1024

Regards,
Abhishek

On Fri, Dec 21, 2018 at 10:20 PM Chet Ramey <chet.ramey@case.edu> wrote:

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


-- 




Regards
Abhishek Paliwal

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web