Tagged articles
35 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Apr 30, 2026 · Operations

Master Core Dumps to Diagnose Linux Crashes Like a Pro

This guide explains what a Core Dump is, why it is essential for Linux crash analysis, how the kernel creates it, common signals that trigger it, typical causes of crashes, and step‑by‑step configuration and GDB techniques to capture and debug Core Dump files effectively.

ELFcore dumpcrash analysis
0 likes · 37 min read
Master Core Dumps to Diagnose Linux Crashes Like a Pro
Code Wrench
Code Wrench
Jan 28, 2026 · Backend Development

Mastering Graceful Shutdown in Go: Signal Handling Best Practices

This article explains why proper signal handling is crucial for Go services, details common Unix signals, demonstrates common pitfalls, and provides a robust, context‑driven approach with code examples for graceful termination, including Kubernetes considerations.

BackendGoGraceful Shutdown
0 likes · 10 min read
Mastering Graceful Shutdown in Go: Signal Handling Best Practices
Top Architect
Top Architect
Dec 22, 2025 · Backend Development

Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator

This article explains how to perform a graceful shutdown of Java services by using Linux kill signals, configuring JVM SignalHandler and Runtime shutdown hooks, releasing resources such as thread pools and sockets, and exposing a Spring Boot Actuator endpoint for controlled termination, complete with code examples and configuration details.

Graceful ShutdownJVMJava
0 likes · 16 min read
Graceful Shutdown of Java Applications: kill Commands, JVM Hooks, and Spring Boot Actuator
Alibaba Cloud Observability
Alibaba Cloud Observability
Nov 10, 2025 · Mobile Development

Building a Reliable Android Crash Collection Framework: Java & Native Solutions

This article explains the challenges of Android app crashes and presents a comprehensive, cloud‑native solution that captures both Java/Kotlin and native crashes, details the underlying mechanisms such as UncaughtExceptionHandler, signal handling, minidump generation, stack unwinding, and offers practical guidance for integrating reliable crash reporting into mobile applications.

AndroidCrash ReportingJava
0 likes · 19 min read
Building a Reliable Android Crash Collection Framework: Java & Native Solutions
Cloud Native Technology Community
Cloud Native Technology Community
Jun 3, 2025 · Cloud Native

Custom Stop Signals for Containers in Kubernetes v1.33 (Alpha Feature)

Starting with Kubernetes v1.33, the Alpha feature ContainerStopSignals introduces a Pod‑level lifecycle.stopSignal field that lets platform teams specify which Unix signal (e.g., SIGINT, SIGUSR1) should be sent to containers on termination, overcoming the previous reliance on image‑defined STOPSIGNAL and improving graceful shutdown control across Linux and Windows workloads.

Alpha FeatureContainerStopSignalsGraceful Shutdown
0 likes · 6 min read
Custom Stop Signals for Containers in Kubernetes v1.33 (Alpha Feature)
FunTester
FunTester
Mar 4, 2025 · Backend Development

Mastering Graceful Shutdown in Go: Clean Exit for Servers and Goroutines

This guide explains why graceful shutdown matters in Go programs, outlines the steps to capture termination signals, use context for coordinated goroutine exit, and properly close HTTP servers without data loss or resource leaks.

Graceful ShutdownHTTP serverResource Cleanup
0 likes · 9 min read
Mastering Graceful Shutdown in Go: Clean Exit for Servers and Goroutines
Linux Kernel Journey
Linux Kernel Journey
Nov 30, 2024 · Fundamentals

How a SIGPIPE Signal Crashed Our Service and the Fix We Applied

During a gray‑release, a Go‑Rust service repeatedly crashed when a dependent process was hot‑upgraded; the root cause was an unhandled SIGPIPE signal generated by the kernel on a broken TCP connection, which terminated the process without a core dump, and the article explains the kernel mechanics and the solution of ignoring SIGPIPE.

GoLinux signalsRust
0 likes · 16 min read
How a SIGPIPE Signal Crashed Our Service and the Fix We Applied
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 31, 2023 · Backend Development

Graceful Shutdown Library for Go (G.S): Design, Usage, and Code Walkthrough

This article introduces the Go‑based G.S library for graceful application shutdown, analyzes common container‑related pitfalls, explains its lightweight architecture with TerminateSignal and WaitingUnit modules, provides installation steps, a complete usage example, and detailed code explanations to help developers implement reliable signal handling.

Graceful ShutdownLibrarysignal handling
0 likes · 12 min read
Graceful Shutdown Library for Go (G.S): Design, Usage, and Code Walkthrough
Top Architect
Top Architect
Jul 18, 2023 · Cloud Native

Java Containerization Guide: Base Image Selection, JDK/JRE Choice, JVM Options, Signal Handling, Memory Limits, DNS Caching, and Native Compilation

This comprehensive guide explains how to containerize Java applications by choosing appropriate base images, deciding between JDK and JRE, selecting a JVM, handling graceful shutdown signals, configuring memory limits, managing DNS caching, and optionally compiling to native binaries with GraalVM.

DockerJVMJava
0 likes · 23 min read
Java Containerization Guide: Base Image Selection, JDK/JRE Choice, JVM Options, Signal Handling, Memory Limits, DNS Caching, and Native Compilation
Liangxu Linux
Liangxu Linux
Jun 27, 2023 · Fundamentals

How to Access and Communicate with Linux Serial Ports Using C

This guide explains Linux serial port device files, shows how to list them, and provides four C programming methods—polling, select‑based interrupt, SIGIO signal handling, and threaded reading—complete with code examples and detailed configuration steps.

CDevice FilesLinux
0 likes · 10 min read
How to Access and Communicate with Linux Serial Ports Using C
MaGe Linux Operations
MaGe Linux Operations
Nov 19, 2022 · Fundamentals

Mastering Unix Signals: Types, Handling, and Practical Code Examples

This article explains what Unix signals are, categorizes reliable and unreliable signals, describes how they are generated by hardware and software, and provides detailed examples of registration, blocking, pending states, and custom handling using C functions such as kill, sigprocmask, sigaction, and signal.

CLinuxUnix
0 likes · 18 min read
Mastering Unix Signals: Types, Handling, and Practical Code Examples
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 11, 2021 · Mobile Development

How Android Handles ANR SIGQUIT: Signal Interception Explained

This article explains how Android captures ANR events by intercepting the SIGQUIT signal, covering the relevant signal‑handling functions (kill, signal, sigaction, sigwait, pthread_sigmask), their differences, the SignalCatcher thread implementation, and how developers can create custom SIGQUIT monitors for ANR analysis.

ANRAndroidC
0 likes · 15 min read
How Android Handles ANR SIGQUIT: Signal Interception Explained
WeChat Client Technology Team
WeChat Client Technology Team
Jul 19, 2021 · Mobile Development

How to Build a Complete ANR Monitoring Solution on Android

This article explains the Android ANR workflow, analyzes the system's appNotResponding logic, and presents a robust monitoring strategy that captures SIGQUIT signals, validates true ANR events, and hooks trace writes to reliably detect and diagnose ANRs in mobile apps.

ANRAndroidPerformance Monitoring
0 likes · 22 min read
How to Build a Complete ANR Monitoring Solution on Android
Open Source Linux
Open Source Linux
May 14, 2021 · Operations

Master Bash Conditionals, Loops, and Signal Traps: Practical Scripts Explained

This article provides a comprehensive guide to Bash scripting, covering conditional statements (if/elif/else), case selections, various loop constructs (for, while, until, select), loop control commands, parameter shifting, signal trapping with trap, and includes numerous practical code examples with detailed analysis.

BashConditionalsLoops
0 likes · 17 min read
Master Bash Conditionals, Loops, and Signal Traps: Practical Scripts Explained
Sohu Tech Products
Sohu Tech Products
Apr 14, 2021 · Operations

Comprehensive Bash Scripting Guide: Conditionals, Loops, and Signal Traps

This article provides a detailed Bash scripting tutorial covering conditional statements (if/elif/else, case), various loop constructs (for, while, until, select), control commands (break, continue, shift), signal handling with trap, and several practical example scripts such as a multiplication table, colored triangle, and chessboard pattern.

BashConditionalsLoops
0 likes · 16 min read
Comprehensive Bash Scripting Guide: Conditionals, Loops, and Signal Traps
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 31, 2020 · Mobile Development

Decoding Android Native Crashes: From Signal Handling to Tombstone Analysis

This article explains how Android native exceptions (NE) are captured, processed, and logged as tombstone files, detailing the signal registration, debuggerd workflow, crash_dump execution, unwinder backtrace generation, and how developers can analyze the resulting data using tools like addr2line.

AndroidDebuggingMobile Development
0 likes · 11 min read
Decoding Android Native Crashes: From Signal Handling to Tombstone Analysis
JD Retail Technology
JD Retail Technology
Dec 24, 2019 · Mobile Development

Implementing Java and Native Crash Monitoring on Android with the Eagle Eye System

This article explains how to capture and report both Java and native crashes on Android using the Eagle Eye monitoring system, detailing the use of Thread.UncaughtExceptionHandler, Linux signal mechanisms, sigaction registration, alternative stacks, and native stack parsing with libbacktrace to improve app stability.

AndroidEagle EyeMobile Development
0 likes · 12 min read
Implementing Java and Native Crash Monitoring on Android with the Eagle Eye System
iQIYI Technical Product Team
iQIYI Technical Product Team
Jun 21, 2019 · Mobile Development

xCrash: An Open-Source Android Crash Capture SDK Overview

xCrash is an open‑source Android SDK that reliably captures both Java and native crashes across Android 4.0‑9.0 and multiple CPU architectures by using async‑signal‑safe handlers, a dedicated dumper process, and pre‑allocated resources to generate tombstone‑style dump files without root, offering richer diagnostics than BreakPad and extensible future features.

AndroidCrash ReportingSDK
0 likes · 17 min read
xCrash: An Open-Source Android Crash Capture SDK Overview
360 Tech Engineering
360 Tech Engineering
Jun 6, 2019 · Backend Development

Hot Reloading Go Configuration Files Using System Signals

This tutorial explains how to implement hot‑reloading of Go configuration files by manually sending Unix signals, covering the creation of a signal‑listening goroutine, use of the signal.Notify API, selective handling with select, and a complete example that loads JSON config on SIGUSR1.

ConfigurationGoGoroutine
0 likes · 10 min read
Hot Reloading Go Configuration Files Using System Signals
Tencent Cloud Developer
Tencent Cloud Developer
Mar 14, 2019 · Backend Development

Implementing Graceful (Hot) Restart for Go HTTP Services

To implement a graceful hot restart for a Go HTTP service, the program listens for SIGHUP, forks a child process that inherits the listening socket via an extra file descriptor, the parent stops accepting new connections and shuts down while the child begins serving, ensuring uninterrupted client requests.

GoProcess Forkgraceful restart
0 likes · 10 min read
Implementing Graceful (Hot) Restart for Go HTTP Services
Dada Group Technology
Dada Group Technology
Jun 16, 2017 · Backend Development

Ensuring Safe JVM Shutdown with Shutdown Hooks and Signal Handling

To prevent loss of asynchronous tasks and data corruption during application restarts, this article explains how to safely shut down the JVM using shutdown hooks, custom signal handling, and proper hook implementation, while highlighting risks of forced termination and best‑practice considerations.

BackendJVMJava
0 likes · 12 min read
Ensuring Safe JVM Shutdown with Shutdown Hooks and Signal Handling
ITPUB
ITPUB
Nov 5, 2016 · Fundamentals

Understanding Linux Zombie Processes and How to Prevent Them

This article explains what zombie processes are in Linux, how they are created when a child exits without its parent calling wait, demonstrates their detection with ps, provides sample C code to reproduce and handle them, and shows techniques to avoid their accumulation.

Cprocess managementsignal handling
0 likes · 8 min read
Understanding Linux Zombie Processes and How to Prevent Them