Tag

Kill

0 views collected around this technical thread.

Data Thinking Notes
Data Thinking Notes
Dec 14, 2022 · Big Data

Why Spark Jobs Keep Running After You Kill Them: Daemon Threads and Driver Behavior

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.

BigDataDaemonThreadDriver
0 likes · 8 min read
Why Spark Jobs Keep Running After You Kill Them: Daemon Threads and Driver Behavior
Qunar Tech Salon
Qunar Tech Salon
Mar 17, 2022 · Databases

Killing Slow Queries in MySQL: Problems, Drawbacks, and Practical Design Solutions

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 PerformanceKillSQL signature
0 likes · 16 min read
Killing Slow Queries in MySQL: Problems, Drawbacks, and Practical Design Solutions
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 25, 2021 · Databases

Observing When MySQL DDL Operations Are Killed Using GDB

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.

DDLGDBInnoDB
0 likes · 5 min read
Observing When MySQL DDL Operations Are Killed Using GDB
Laravel Tech Community
Laravel Tech Community
Jan 5, 2021 · Fundamentals

Understanding Linux Signals, kill Command, and trap Command

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.

KillOSSignals
0 likes · 7 min read
Understanding Linux Signals, kill Command, and trap Command
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 31, 2020 · Databases

Diagnosing MySQL High CPU Usage with Processlist and Performance Schema

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.

CPUDatabase TroubleshootingKill
0 likes · 3 min read
Diagnosing MySQL High CPU Usage with Processlist and Performance Schema