Skip to contentSkip to conversation

Effect of deleting executables of running programs

DISCUSSION Shriram R 2 participants 2 messages Aug 18, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Shriram R

author
#1 lore raw

Yes, the nodes were accessing the executable over NFS.

-shriram

Quoted 61 lines · --- Brian Pawlowski

How were the nodes accessing the executable? Over
NFS?

Quoted 3 lines

Hi,

Newbie here. I am not sure if I am sending this

email

Quoted 2 lines

to the right list. My apologies if I am not and I would be happy if someone can point me to the

right

Quoted 3 lines

mailing list.

We have a 24 node/48 processor cluster in our lab

with

Quoted 6 lines

the following specs.

AMD Athlon
Redhat 7.3
Kernel version - 2.4.19

Quoted 7 lines

I had around 10 jobs that had been running on the cluster for about 15 or so days. These were using a common executable "abcd.out" (compiled in fortran 90). After they had been running for about 15 days, I made the mistake of deleting abcd.out. Immediately about
3 or 4 of my jobs crashed with a "bus error".

But,

Quoted 2 lines

some 6-7 of my jobs
continued running. I had 2 questions with regards

to

Quoted 3 lines

this :

a) I always thought that once a job is running,

the

Quoted 2 lines

executable is
entirely loaded into memory and the abcd.out

file

Quoted 5 lines

is no longer needed.
If so, then why does the a running job crash on
deleting abcd.out ?

b) To what extent can I trust that the rest of the

6-7

Quoted 2 lines

jobs that are
running have not been affected by this deletion

of

Quoted 8 lines

"abcd.out" ?

Thanks in advance,
shriram.

Quoted 6 lines

__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
-
To unsubscribe from this list: send the line

Quoted 7 lines

"unsubscribe linux-kernel" in

Quoted 2 lines

the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 1 line

Please read the FAQ at http://www.tux.org/lkml/

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

#2 lore raw
Quoted 1 line · Shriram R

Yes, the nodes were accessing the executable over NFS.

My wild guess is that this has to do with executables paging themselves in on demand. In the NFS case, if the file disappears on the share, paging in will fail. However, on a local filesystem, the inode won't disappear until all users are gone, so paging in on demand will still work.

-Ryan