Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Cleanup tool/internal service for resources of crashed applications #65

Open
elfenpiff opened this issue Nov 21, 2023 · 2 comments
Open

Comments

@elfenpiff
Copy link
Contributor

Brief feature description

When an application crashes, it can happen that a service is only partially removed and becomes unusable.
An internal service and/or a command line application shall cleanup the remainders of such services.

The following use cases shall be considered:

  • remove static service info, when only the dynamic service info exists
  • remove dynamic service info, when only the static service info exists
  • remove the data segment of a publisher if the owning process no longer exists
  • remove the publisher/subscriber as participant from the dynamic service info when the owning process no longer exists.
@elBoberido
Copy link
Collaborator

Could this be done on the startup of the application?

@elfenpiff
Copy link
Contributor Author

elfenpiff commented Nov 24, 2023

Could this be done on the startup of the application?

Yes. The basic idea would be to implement a "function" that does it in a thread-safe manner and then either everyone can do this in a decentral fashion or one central daemon or command line tool does this.

This is then up to the deployment/user.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants