News for hackers. Stuff that matters.
Re:Upgrading Executable on the Fly by bogomipz on Tuesday January 04, 2022 @05:18PM (#29801424)
I am curious does anyone know why Nginx uses SIGWINCH for this? I know Apache uses WINCH as well which makes me wonder if there was some historical reason a server process wound up using a signal meant for a TTY?
Re:Upgrading Executable on the Fly by xyzzy_plugh on Tuesday January 04, 2022 @08:25PM (#29803678)
It's otherwise unused in the context of a daemon. SIGHUP is similarly popular and historically designed for use with a TTY.
Re:Upgrading Executable on the Fly by bogomipz on Tuesday January 04, 2022 @08:38PM (#29803806)
That's what I suspected - that it would pretty much be guaranteed to not to be needed however I was not able to find any historical UNIX lore mentioning it specifically. Cheers.