Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminate Apalache server on Linux properly #1520

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

konnov
Copy link
Contributor

@konnov konnov commented Oct 1, 2024

When running massive experiments on a Linux machine, I have noticed that the instances of Apalache server are spawned via quint verify but not properly terminated. This is especially visible when running multiple model checking instances in parallel. In the end, the machine runs out of swap space.

The main reason for that is spawning apalache-mc via shell from NodeJS, which does not terminate the grandchild process (java). This PR simply changes the spawning option shell to false. I have checked it on a Linux machine. Now the server is terminating.

  • Entries added to the respective CHANGELOG.md for any new functionality

Copy link
Collaborator

@bugarela bugarela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! I was having some weird issues myself, this was probably the cause.

@konnov
Copy link
Contributor Author

konnov commented Oct 2, 2024

@bugarela Amazing! It looks like you have to merge it though.

@bugarela bugarela merged commit 15328f8 into informalsystems:main Oct 2, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants