9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] PC resuming execution of a terminated process on reboot
@ 1999-08-03  4:40 Christopher
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher @ 1999-08-03  4:40 UTC (permalink / raw)


Russ Cox wrote:

> sounds like the test program is either in your profile or termrc.
> that's what restarted it.  plan9 does not restore processes nor
> does it restore network connections.

You know, I think its time to crash for the night, I am definitely
fried-

I didn't explicitly call my program from termrc or lib

BUT !

termrc DOES call the plan 9 test utility!  (I forgot about that one!)

I happened to name my program test,  so when termrc was trying to run it
must have been calling my version of test. (It appears before the system
version in my namespace since it is in my home directory).



Thanks

-Chris






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] PC resuming execution of a terminated process on reboot
@ 1999-08-03  4:17 Christopher
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher @ 1999-08-03  4:17 UTC (permalink / raw)


I noticed something strange happen while testing a file system I
finished implementing.

I imported my file system into another PC terminal on the network.

I then wrote a simple program to run on the remote PC to read raw bytes
from the imported files system, but forgot to close the file.

Not thinking much about it, I ran to program 3 times, got the info I
needed then rebooted both machines.
(the hosting machine and the importing machine).

When I rebooted both computers I got 3 panic messages on the boot
screens that happened while running my lib/profile. Both systems
appeared to hang.

I then logged in as another user on one of the PCs, and deleted my test
program. This appeared to get everyone booting again. The other hanging
PC (That I did NOT log into as another user), resumed its boot, ignoring
the errors. When I checked the /proc and also did a ps I saw
descriptions for the 3 executions of the test program. It was listed as
broken.

Question:

What was going on here, I am just curious. Did Plan 9 try and restore a
connection and execution of my test program ?

Did deleting it cause Plan9 to give up on it. Is this some kind of
post-mortem feature ?


Thanks

-Chris






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-03  4:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-03  4:40 [9fans] PC resuming execution of a terminated process on reboot Christopher
  -- strict thread matches above, loose matches on Subject: below --
1999-08-03  4:17 Christopher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).