Tagged articles
kill
23 articles · Page 1 of 1
This article explains Linux signal fundamentals—including generation, registration, dispatch, masking, and handling—covers standard and real‑time signals, common pitfalls like non‑reentrancy and EINTR, and provides concrete C/C++ code examples for each scenario.
C++LinuxPOSIX
0 likes · 44 min read

This article walks through essential Linux process management tools—including ps, top, kill, nice, jobs, pgrep, and advanced utilities like pstree, strace, and lsof—explaining their options, output fields, practical tips, and how to diagnose and control processes effectively.
LinuxProcess Managementkill
0 likes · 12 min read


UbuntuFeb 28, 2026 · Operations
Learn how to diagnose CPU, memory, and I/O bottlenecks on Linux by using Top, Htop, ps, kill, and background‑task commands to pinpoint resource‑hungry processes and resolve performance issues without blind reboots.
LinuxProcess ManagementSystem Monitoring
0 likes · 6 min read

The article explains that although kill ‑9 reliably kills a Linux process, using it in production can cause severe data corruption—especially with non‑transactional storage engines—making it unsuitable for safe program termination.
LinuxMyISAMkill
0 likes · 3 min read

Learn how to identify and safely terminate Linux processes using tools like ps, grep, pgrep, kill, killall, and pkill, while handling special cases such as zombie and unresponsive processes with best‑practice precautions to avoid system instability.
Linuxkillpkill
0 likes · 5 min read

This guide explains what port occupation means on Linux, demonstrates how to use lsof and netstat to pinpoint the process holding a specific port, and shows how to safely terminate that process to free the port for your applications.
Linuxkilllsof
0 likes · 6 min read

This guide explains why background loops in Bash scripts can linger after the script ends, how they become orphaned under init/systemd, and provides robust techniques—including trap, kill, pkill, and signal 0—to ensure all child processes are terminated when the script exits.
Process Managementbashkill
0 likes · 11 min read

This article investigates why Spark tasks that appear killed in the Web UI continue running on the driver, analyzes the role of daemon versus non‑daemon threads and SparkContext shutdown mechanisms, reproduces the issue with sample code, and provides practical solutions such as using daemon threads or checking SparkContext status.
DaemonThreadSparkbigdata
0 likes · 8 min read

This guide explains how to terminate Linux processes using the kill, killall, and pkill commands, covering signal types, how to find process IDs, command syntax, and practical examples for both foreground and background tasks.
LinuxSignalscommand-line
0 likes · 6 min read

Learn how to identify when a MySQL DDL statement is blocked, use SHOW PROCESSLIST and the sys.schema_table_lock_waits view to pinpoint the blocking session, and apply targeted KILL commands or transaction queries to safely unblock operations in both MySQL 5.7 and 8.0.
DDLMetadata LockMySQL
0 likes · 9 min read

The article analyses why indiscriminately killing slow MySQL queries is risky, enumerates the drawbacks of common kill‑based approaches, and proposes more reliable designs such as registration, signature‑based killing, and source‑code modifications to safely mitigate query‑induced database avalanches.
Database PerformanceMySQLSQL signature
0 likes · 16 min read

This article introduces essential Linux commands—including crypt for file encryption, kill variants for terminating processes, shred for secure deletion, zombie process identification, the at scheduler, and daemon management—explaining their usage, options, and practical examples for effective system administration.
Linuxcryptdaemons
0 likes · 7 min read

This guide explains what zombie processes are, how they are created when a child exits before its parent reaps it, and provides practical commands and sample C code to reproduce and safely remove zombie processes on a Linux system.
LinuxProcess Managementfork
0 likes · 7 min read

This article demonstrates how to use a GDB script to monitor the exact moments MySQL checks for a killed DDL operation, identifies the internal InnoDB functions involved, and explains why kill may not take effect immediately.
DDLInnoDBMySQL
0 likes · 5 min read

This article analyzes why MySQL connections remain in a KILLED state after a KILL command, detailing the internal execution flow, thread‑state handling, signal‑based wake‑ups, and reproducing cases that expose rollback, lock‑wait, and concurrency issues that delay connection termination.
InnoDBMySQLThread
0 likes · 22 min read

This guide explains how Linux treats programs and daemons as processes, shows how to list them with ps using various options, demonstrates extracting Chromium process IDs, and provides safe techniques for terminating unwanted processes with kill, killall, and advanced options, while warning about careful use.
ChromiumLinuxProcess Management
0 likes · 8 min read

This article explains the types and default actions of Linux signals, distinguishes between standard and real‑time signals, and demonstrates how to use the kill and trap commands with practical shell script examples for signal handling.
LinuxSignalskill
0 likes · 7 min read

This article explains Linux signal concepts, the three ways a process can handle signals, provides a concise reference of common signals with their default actions, and demonstrates practical usage of the kill and trap commands through clear shell script examples.
Signalskillos
0 likes · 9 min read

This article walks through a practical MySQL troubleshooting experiment that shows how to identify a CPU‑intensive query using the processlist, locate the offending thread with top‑H, interpret performance_schema IDs, and safely terminate the problematic SQL statement.
CPUMySQLdatabase troubleshooting
0 likes · 3 min read

This guide explains how to use the Linux ps and grep commands to identify zombie processes, interpret their status fields, and safely terminate them with kill -HUP, including steps to verify removal and alternative methods using top.
LinuxProcess Managementgrep
0 likes · 3 min read

This guide explains how to use the ps and grep commands to identify zombie processes on Linux, shows the command syntax, interprets the output, and provides step‑by‑step instructions for terminating the zombie and its parent process if needed.
Linuxgrepkill
0 likes · 3 min read

As Halloween approaches, this guide explores Linux commands with eerie names—crypt for encryption, kill families for terminating processes, shred for secure deletion, zombie processes, at midnight scheduling, and daemon services—providing examples and practical tips for each.
cryptdaemonskill
0 likes · 6 min read

This guide walks through essential Linux process‑monitoring tools—ps, top, and htop—detailing their options and output fields, and explains process control techniques using kill, killall, and job‑control commands, helping readers efficiently view, sort, and manage system processes.
LinuxProcess Managementhtop
0 likes · 8 min read
