Tagged articles
7 articles
Page 1 of 1
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
Efficient Ops
Efficient Ops
May 23, 2019 · Fundamentals

Understanding Real-Time Data Flow and SIGPIPE in Linux Pipes

This article explains how Linux pipes transmit data in real time, explores buffering modes, demonstrates practical experiments with Python scripts, and details read/write rules, including SIGPIPE handling, providing developers with essential insights for effective command-line pipeline usage.

BufferingInterprocess CommunicationLinux
0 likes · 11 min read
Understanding Real-Time Data Flow and SIGPIPE in Linux Pipes
MaGe Linux Operations
MaGe Linux Operations
Dec 21, 2018 · Fundamentals

How Linux Pipes Achieve Real‑Time Data Flow: Buffering, SIGPIPE & Tips

Linux pipes transmit data between commands concurrently, not after one finishes, and their behavior depends on kernel buffering, I/O modes, and signals like SIGPIPE; this article explains pipe internals, real‑time data flow, buffering strategies, read/write rules, and practical tips with illustrative experiments.

BufferingLinuxSIGPIPE
0 likes · 8 min read
How Linux Pipes Achieve Real‑Time Data Flow: Buffering, SIGPIPE & Tips