Ticket #240 (new defect)

Opened 5 years ago

Last modified 3 years ago

Graceful Death for NodeBooter

Reported by: tuan Owned by: iburbey
Priority: major Milestone: 0.9.0 (OSSIE)
Component: system Version: trunk
Keywords: termination Cc:

Description

Right now, in order to terminate NodeBooter?, Ctrl-C or kill is used. Other processes are still in the memory after NodeBooter? is killed.

Change History

Changed 5 years ago by tuan

  • status changed from new to assigned

Changed 5 years ago by balister

My recollection of the problem is that Control-C provides a (relatively) clean exit for the system and cleans up all components.

The problem is when something abnormal happens, then you are left with stuck processes that you need to kill -9.

I'd suggest running some actual tests to work out the exact problem, before wading into the code.

I think there is a method, maybe releaseObject, you can call on the Domain Manager to initiate a system shutdown, but this may turn into a lot of work, with numerous backward compatibility issues.

Changed 4 years ago by cdietric

  • milestone changed from Release 0.8.0 to Release 0.8.1

Changed 4 years ago by cdietric

  • owner changed from tuan to shereef
  • status changed from assigned to new

Changed 4 years ago by cdietric

  • priority changed from major to critical

Changed 3 years ago by shereef

  • cc tuan@… removed
  • priority changed from critical to major

As of 0.8.1, nodeBooter attempts to properly shutdown the system, but the shutdown will fail in most circumstances. There is only one test case that I have been able to achieve "proper" system shutdown. The reason for failure to shutdown resides in our misuse of CORBA that leads to "memory leaks" within the ORB. In other words, not all CORBA instances can be properly terminated. Also, child processes seem to stop responding at shutdown, so the parent process forces a "kill", most of the time. If the system experiences a run-time error, then the child process may or may not be killed, depending on the error. The current nodeBooter provides a mechanism that could lead to proper shutdown of the system, but the core needs to be rigorously reviewed and modified to achieve a true system shutdown.

Changed 3 years ago by cdietric

  • milestone changed from Release 0.8.1 to Release 0.8.2

Changed 3 years ago by cdietric

  • milestone changed from Release 0.8.2 to 0.8.2

Milestone Release 0.8.2 deleted

Changed 3 years ago by cdietric

  • milestone changed from 0.8.2 to 0.9.0

Changed 3 years ago by cdietric

  • owner changed from shereef to iburbey
Note: See TracTickets for help on using tickets.