Tag

Kill Command

0 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Jun 3, 2025 · Backend Development

Graceful Shutdown of Spring Boot Applications: kill Commands, Signal Handlers, and Runtime Hooks

This article explains how to achieve graceful shutdown for Java applications by using Linux kill signals, JVM SignalHandler registration, Runtime.addShutdownHook, and Spring Boot's actuator shutdown endpoint, providing code examples and configuration details for safe resource cleanup.

Graceful ShutdownJavaKill Command
0 likes · 13 min read
Graceful Shutdown of Spring Boot Applications: kill Commands, Signal Handlers, and Runtime Hooks
Cognitive Technology Team
Cognitive Technology Team
Apr 1, 2025 · Operations

Four Powerful kill Command Techniques for Managing Linux Processes

This article explains how to use the Linux kill command with SIGTERM, SIGQUIT, SIGKILL, and SIGSTOP signals to gracefully terminate, debug, force‑stop, or pause processes while minimizing data loss and providing practical command examples.

Kill CommandSIGKILLSIGTERM
0 likes · 4 min read
Four Powerful kill Command Techniques for Managing Linux Processes
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 27, 2023 · Databases

Investigation of session_id source and bulk tenant connection termination in OceanBase via observer and obproxy

This article examines how session IDs are derived for the kill command in OceanBase, compares IDs obtained through show processlist, information_schema.processlist, and oceanbase.__all_virtual_processlist, and demonstrates methods to terminate all connections of a specific tenant across different observers and obproxies.

DatabaseKill CommandOBproxy
0 likes · 7 min read
Investigation of session_id source and bulk tenant connection termination in OceanBase via observer and obproxy
Top Architect
Top Architect
Dec 15, 2022 · Backend Development

Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 Pitfalls

This article explains why using the Linux kill -9 command to stop Java services can cause data loss, demonstrates the differences between forceful and graceful termination, and provides multiple Spring Boot shutdown solutions—including kill -15, actuator endpoints, custom Tomcat connectors, and @PreDestroy hooks—complete with code examples.

Graceful ShutdownJavaKill Command
0 likes · 21 min read
Graceful Shutdown of Spring Boot Applications: Avoiding kill -9 Pitfalls
Top Architect
Top Architect
Apr 14, 2021 · Backend Development

Graceful Shutdown of Spring Boot Applications and the Risks of Using kill -9

This article explains how the Linux kill -9 command can cause data loss and service instability, demonstrates safer alternatives such as kill -15 and Spring Boot's built‑in shutdown mechanisms, and provides code examples for implementing graceful termination, custom shutdown hooks, and pre‑destroy data backup in Java backend services.

Graceful ShutdownJavaKill Command
0 likes · 19 min read
Graceful Shutdown of Spring Boot Applications and the Risks of Using kill -9