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


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

Re: Memory continusely increase

Started byChet Ramey <chet.ramey@case.edu>
First post2018-12-21 11:51 -0500
Last post2018-12-21 11:51 -0500
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 continusely increase Chet Ramey <chet.ramey@case.edu> - 2018-12-21 11:51 -0500

#14939 — Re: Memory continusely increase

FromChet Ramey <chet.ramey@case.edu>
Date2018-12-21 11:51 -0500
SubjectRe: Memory continusely increase
Message-ID<mailman.6063.1545411089.1284.bug-bash@gnu.org>
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 in bash-4.4.0, I can't trace
> which patch fixed the issue or which new feature was introduced in
> bash-4.4.0.
> 
> Here is bash script:
> ------------------------------------------------------------------------------
> #!/bin/bash
> 
> logger "Started testing"
> while(true);do 
>  while (true); do 
>    ls > /dev/null 
>  done
> done

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/

[toc] | [standalone]


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


csiph-web