Unix Signal Handling in Erlang and ODBC memory leaks.

Thu Oct 4 00:29:13 CEST 2001

"Martin J. Logan" <martin@REDACTED> wrote:
>    Does anyone have any examples of unix signal handling in erlang. I would like
>to make a loadbalancer that I have written respond to sighup.

Not exactly an example, but you could have a look at:


There is no provision for handling signals in Erlang "itself", i.e. you
will need to use a driver - or a port program of course, might actually
be a better idea. Also for the driver case, the emulator has its own
handler for a number of signals, and interfering with that will probably
have "interesting" results - but SIGHUP should be OK I believe.

--Per Hedeland

More information about the erlang-questions mailing list