The Termination Grace Period Trap: Why Go Services Drop In-Flight Requests on Shutdown The Illusion of "SIGTERM" I was setting up graceful shutdown for a Go HTTP server. The kind every tutorial covers in 20 lines. Catch SIGTERM, call server.Shutdown(), done. So I wrote the textbook versOct 14 · 8 min readshtales.hashnode.dev
What is the real need of Saved User ID?CONTEXT: While learning about the 3 different UIDs of users and processes — Real UID(RUID), Effective UID(EUID), Saved UID(SUID, not to be confused with setuserid bit), I wondered why do we even need SUID when we are just using it for storing the pri...Mar 30, 2025 · 2 min readshtales.hashnode.dev
The Importance of the Set User/Group Bit in Linux SystemsPrerequisites: Basic Linux Knowledge like file permissions, users, and groups. Basic Privilege Management of root and standard user privileges. Purpose: The setuid (Set User ID) and setgid (Set Group ID) bits are designed to allow a user or group...1AMar 29, 2025 · 2 min readshtales.hashnode.dev