-
Notifications
You must be signed in to change notification settings - Fork 10
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
Port busy: process fails to close properly #94
Comments
This is available in 0.10.0-preview5 release. Yaci CLI now creates PID files for all sub-processe such as Node, Submit API, Ogmios, and Yaci-Store during startup. These files are removed when the CLI stops cleanly. During the up command, Yaci CLI checks for any existing PID files and attempts to kill those processes before starting the node and other components. Similarly, a PID file is created when Yaci CLI starts via start.js in the npm distribution, which handles cleanup before beginning a new session of Yaci CLI. This works in most scenarios, though there may still be a few edge cases we need to identify and fix. All other subprocesses (like node, etc.) are managed directly by Yaci CLI and are now terminated properly. |
When sending a shutdown signal to yaci-devkit (via npm), the process is not shut down properly leaving services running on port
10000
and8090
I have to kill these manually every time, which is really annoying for debugging. I would prefer properly cleaning up over any patch like #10 because dynamic ports are also harder to compose with other tools
The exact error you see when this error happens is either
or
The text was updated successfully, but these errors were encountered: