Hi everyone;

I'm an old time reader of linux forums but this is the first time I post a question:

I am used to run a lot of processes using nohup. In order to do so, I use a script in which the executables are called, as in:

$cat process_list.sh

nohup ./exec --options_set1 &
nohup ./exec --options_set 2

nohup ./exec --options_set 3 &

.
.
.

EOF


With the use or not of the "&", I can control how many processes run at (roughly) the same time. In the above example, two processes. Just to be sure, I run the script itself with nohup.

I used this method for months with no problem at all, loggin in from the outside on a host and from it to different machines within a intranet.

Now, when I am logged in directly in one of the intranet machines, if I proceed as I used to do, all processess run at once, as if I have asked all them to run in background with "&", which I am NOT doing. If I run the script without nohup, it runs ok. Time-wise, is much better for me to run two, four at most processes at the same time, not two hundred. They wont get killed by the OS, but they take simply too much time this way.

So I have a two-folded question:

The first is a typical newbie question:

As I can simply call the script without nohup, what would happen if my terminal or (intranet) connection is lost? Inside the script the processes are ran with nohup, but the script itself were not. Should I call the script with nohup, but not the executables? This way I guess I could lose some particular executions of the executables.

The other is a curiosity:

Why the hell this is happening? I am using ubuntu 9.10 (yes yes yes, I should have upgraded those machines, but at least is up to date with the version updates).


Thanks a lot.