Project

General

Profile

Bug #22702

Problem with LLRF OTSDaq interface process not dying

Added by Dennis Nicklaus 5 months ago.

Status:
Assigned
Priority:
Normal
Category:
UDP/CEC Driver
Target version:
-
Start date:
06/07/2019
Due date:
% Done:

0%

Estimated time:
Duration:

Description

The LLRF interface process spawns otsdaq_int:init.
But if the Interface process dies or is intentionally killed (to reset the connection to the llrf board), the spawned process isn't linked, so it doesn't die.
Then when the interface restarts, it tries to re-spawn the otsdaq_int process, but that new one will die of badmatch of {error,eaddrinuse} because the old process is still
around holding onto the OTSDAQ interface port.

Link the processes so when the parent dies, the child dies.



Also available in: Atom PDF