Frank M. Ramaekers wrote:
I have the following script that when executed, consumes memory and makes the system inaccessible. All process are halted.
First, I don't understand what is wrong with the script Secondly, I'm surprised that Linux allows this to run unchecked to the detriment of the entire system.
Linux allows what you've set with ulimit or the administrator sets in /etc/security/limits.conf.