Unable to shutdown after bootstrap errors
See original GitHub issueRunning in “JVM mode” the demo rest-http-crud
at
This demo requires PostgreSQL to run. If you start it w/o the RDBMS being up, then the demo boots by printing appropriate exceptions about not being able to connect to the database - but then doesn’t respond to CTRL+C signals (nor kill -3), requiring a kill -9 to stop the demo.
If instead the RDBMS is available, then CTRL+C works as expected so I assume this relates with order of setup.
Let’s make sure the signal handlers are registered consistently as very first thing?
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Let It Crash: Best Practices for Handling Node.js Errors on ...
Some strategies to gracefully shutdown the Node.js process and quickly restart your application after a catastrophic error terminates your ...
Read more >Bootstrap failed and Connection refused errors occur ... - IBM
At a DB2 command prompt, run the following command: db2set DB2COMM=tcpip · Stop and restart the database with the following commands: db2stop
Read more >Kafka 1.0 stops with FATAL SHUTDOWN error. Logs directory ...
If I try to restart, the same error occurs. Deleting log files helps to start Kafka, but it fails again after the short...
Read more >First node fails to restart after bootstrap - Percona Forum
failed ! This is the log: root@pxc-node-1:~# cat /var/log/mysql/error.
Read more >Resolve the "bootstrap action returned a non-zero return code ...
The cluster fails to launch, and the bootstrap action returns an error similar to the following: "bootstrap action 1 returned a non-zero ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, great; can you use jstack to capture the stack of the “hung” process in JVM mode?
Well, I couldn’t get your demo to start, but I do have a fix (I think - well, at least it doesn’t break anything that isn’t already broken). Here comes the PR.