[CentOS] Script consumes memory

2009-09-29 Thread Frank M. Ramaekers
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. SCRIPT

Re: [CentOS] Script consumes memory

2009-09-29 Thread Alan Sparks
Perhaps I'm missing it, but where are your definitions of DIRNAME and BASENAME? Without them, you're probably re-executing the script in the bactick references. Basically a fork-bomb. -Alan Frank M. Ramaekers wrote: I have the following script that when executed, consumes memory and makes the

Re: [CentOS] Script consumes memory

2009-09-29 Thread Frank M. Ramaekers
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Alan Sparks Sent: Tuesday, September 29, 2009 10:27 AM To: CentOS mailing list Subject: Re: [CentOS] Script consumes memory Perhaps I'm missing it, but where are your

Re: [CentOS] Script consumes memory

2009-09-29 Thread Les Mikesell
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

Re: [CentOS] Script consumes memory

2009-09-29 Thread nate
Frank M. Ramaekers wrote: I have the following script that when executed, consumes memory and makes the system inaccessible. All process are halted. You can probably drastically simplify your script by using ncftpput http://www.ncftp.com/ncftp/doc/ncftpput.html nate

Re: [CentOS] Script consumes memory

2009-09-29 Thread John R Pierce
nate wrote: Frank M. Ramaekers wrote: I have the following script that when executed, consumes memory and makes the system inaccessible. All process are halted. You can probably drastically simplify your script by using ncftpput http://www.ncftp.com/ncftp/doc/ncftpput.html

Re: [CentOS] Script consumes memory

2009-09-29 Thread Les Mikesell
I have the following script that when executed, consumes memory and makes the system inaccessible. All process are halted. You can probably drastically simplify your script by using ncftpput http://www.ncftp.com/ncftp/doc/ncftpput.html and simplify it even more using scp,