The following has been sent to the Debian bug tracker for ksh. ------- Forwarded Message
Date: Wed, 01 Dec 2010 23:56:39 +0100 From: =?UTF-8?Q?Pawe=C5=82?= Kalinowski <[email protected]> To: Debian Bug Tracking System <[email protected]> Subject: Bug#605630: ksh: Unreasonable and big use of resources by: while(true) ; do true; done Package: ksh Version: 93s+20080202-1 Severity: normal `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 - -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.35.7 (SMP w/2 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ksh depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ksh recommends no packages. ksh suggests no packages. - -- no debconf information ------- End of Forwarded Message _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
