← BYTES
Unix IPC·Starter·Ref: 15.1.12

What does SIGHUP ('hangup') conventionally signal to a process?

Have a question about this video? Mention reference 15.1.12 when you contact us.

a.Historically, that a terminal's connection was lost (e.g. a dial-up line hung up); modern daemons commonly repurpose it as 'please reload your configuration file'
b.That the process has run out of memory
c.That a disk write failed
d.That the process's parent has just started
SIGHUP's name comes from the literal hanging-up of a serial/modem terminal connection, which the kernel used to deliver as this signal to any process attached to that terminal. Since most long-running daemons today have no controlling terminal to lose, SIGHUP has been widely repurposed by convention as a 'reload your config without restarting' signal (e.g. many Unix daemons), a meaning with no connection at all to its original literal purpose.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES15112#UnixIPC