maciejwalkowiak / just

Magical 🪄 command line toolkit for developing 🍃 Spring Boot apps
312 stars 6 forks source link

Killing `just run` doesn't completely kill the running processes #26

Closed odrotbohm closed 1 year ago

odrotbohm commented 1 year ago

I've used the following pattern for a while now

$ just run
CTRL+C to stop the process

Running jps after a couple such iterations shows the following:

$ jps
83587 MavenDaemon
39874 AcmeCommerce
6020 AcmeCommerce
65028 Launcher
83782 AcmeCommerce
22605 AcmeCommerce
37583 
20496 AcmeCommerce
22865 Launcher
65044 PvChargerApplication
5974 MavenDaemon
15702 MavenDaemon
20439 MavenDaemon
19480 AcmeCommerce
7964 AcmeCommerce
18463 AcmeCommerce
82409 MavenDaemon
21162 AcmeCommerce
22574 MavenDaemon
82414 AcmeCommerce
19439 MavenDaemon
21105 MavenDaemon
15730 AcmeCommerce
22901 AcmeCommerce
86903 MavenDaemon
1463 XMLServerLauncher
18423 MavenDaemon
75896 MavenDaemon
23289 Jps
86907 AcmeCommerce
39802 MavenDaemon
7932 MavenDaemon
37758 BootLanguageServerBootApp

It looks like just doesn't actually properly stop the AcmeCommerce applications. Also, the number of Mavne Daemon processes looks unusually high.

odrotbohm commented 1 year ago

Ignore me. It looks like these were all instances that ran into a deadlock on application start. 🤦🏼‍♂️