Tag

process crash

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Nov 25, 2024 · Fundamentals

Understanding SIGPIPE Signal and Preventing Service Crashes in Go‑Rust Integration

This article explains how the Linux SIGPIPE signal is generated during broken TCP connections, why the default kernel handling can terminate Go services that call Rust code via cgo, and provides practical code examples to ignore SIGPIPE and avoid silent process exits.

GoLinux SignalsRust
0 likes · 15 min read
Understanding SIGPIPE Signal and Preventing Service Crashes in Go‑Rust Integration
Deepin Linux
Deepin Linux
Nov 1, 2024 · Fundamentals

Will Data Be Lost When a Process Crashes During File Write?

This article examines the conditions under which data may be lost when a Linux process crashes while writing a file, explaining page cache behavior, the roles of stdio versus system calls, dirty page handling, write‑back mechanisms, and strategies such as fflush, fsync, and direct I/O to ensure data integrity.

Data IntegrityFile I/OLinux
0 likes · 22 min read
Will Data Be Lost When a Process Crashes During File Write?