Ticket #49 (new enhancement)

Opened 11 years ago

Startstop Crash

Reported by: stefan Owned by: somebody
Priority: minor Milestone: All Platforms
Component: ALL modules Version: 7.4
Keywords: Cc:


If startstop crashes, in some cases it will leave all it's modules running. Maybe the solution is to search through all startstop code for all platforms and find these cases, and kill all modules just before earthworm quits with a fatal error. But... It may be unrealistic to catch all these situations. In the case of an earthworm system running unattended, some modules running may be better than no modules running.

So I'm going to suggest that instead, if we see existing shared memory regions on start of startstop (in the same place as the regions we're about to create), we give the user the option to send a "pau"-like request before startstop starts to send a kill request to all modules.

Maybe pau gets run automatically after a timeout period occurs, in case startstop is getting started and no user is watching the console.

Note: See TracTickets for help on using tickets.