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

Killed or crashed daemon process kept in the registry until mvnd --stop is called #154

Closed
uweschaefer opened this issue Oct 26, 2020 · 0 comments · Fixed by #164
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@uweschaefer
Copy link

If you kill a daemon process for whatever reason, it'll stick around in mvnd --status until mvnd is stopped.

$ mvnd --status
                                    UUID      PID   Port   Status    RSS            Last activity  Java home
    2d49934d-77b3-4d5b-b762-3bfc7b5ebcf1  1918441  43609     Idle     2g  2020-10-26T20:21:46.238  /home/doc/.jabba/jdk/amazon-corretto@1.8.252-09.1
$ kill 1918441
$ mvnd --status
[main] WARN org.jboss.fuse.mvnd.common.OsUtils - ps -o rss= -p 1918441 exited with 1:
[main] WARN org.jboss.fuse.mvnd.common.OsUtils - Unexpected output of ps -o rss= -p 1918441:

                                    UUID      PID   Port   Status    RSS            Last activity  Java home
    2d49934d-77b3-4d5b-b762-3bfc7b5ebcf1  1918441  43609     Idle    -1k  2020-10-26T20:21:46.238  /home/doc/.jabba/jdk/amazon-corretto@1.8.252-09.1

$ mvnd --stop   
Stopping 1 running daemons
$ mvnd --status
                                    UUID      PID   Port   Status    RSS            Last activity  Java home

@uweschaefer uweschaefer changed the title Minor: mvnd does not recognize killed daemon process Minor: mvnd does not recognize killed daemon process on linux Oct 26, 2020
@gnodet gnodet added the bug Something isn't working label Oct 26, 2020
@ppalaga ppalaga self-assigned this Oct 27, 2020
@ppalaga ppalaga changed the title Minor: mvnd does not recognize killed daemon process on linux Killed or crashed daemon process kept in the registry until mvnd --stop is called Oct 27, 2020
ppalaga added a commit to ppalaga/mvnd that referenced this issue Oct 27, 2020
@ppalaga ppalaga added this to the 0.0.11 milestone Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants