cc:  [email protected]  [email protected]
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
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to