How do SIGTERM and SIGKILL differ when stopping a process?
Interactive Practice Mode
Formulate your thoughts or take notes before revealing the model solution.
Saved automatically
Model Answer & Deep-Dive Explanation
SIGTERM requests termination and can be handled so the application stops accepting work, finishes or cancels tasks, and releases resources. SIGKILL cannot be caught, blocked, or handled by the process, so application cleanup does not run. Use the service manager’s normal stop path first and allow an appropriate grace period before forced termination. An uninterruptible ke el wait can delay even a pending kill from taking effect. Investigate why shutdown stalls rather than making force-kill the default operating procedure for stateful services.
Related Questions in Unix / Linux
Unix/Linux administration interview questions
Advanced level • 828 views
Linux admin interview questions
Intermediate level • 744 views
Nix Application Programming
Intermediate level • 701 views
Unix/Linux programming interview questions
Intermediate level • 569 views
Php and MySQL Important Questions
Advanced level • 508 views