cc:  605...@bugs.debian.org  605630-forwar...@bugs.debian.org
Subject: Re: [ast-users] Unreasonable and big use of resources by: while(true)
--------


> `while(true); do true; done` uses all the RAM, one whole core of CPU and 
> makes 
> system almost irresponsible(after filling all the RAM)
> 
> Replacing true with other commands do not change anything
> 
> The same command works correctly in all other shells(constant and small
> use of memory, limited to ~15-20% use of CPU)
> 
> Version without spawning additional shell, `ksh -c "while true; do true; 
> done"`
>  works properly
> 
> 
> 

This problem does not exist in ksh93t or ksh93u.  ksh93s is over 3 years old
and should be replaced with ksh93u.

David Korn
d...@research.att.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to