Skip to content
Snippets Groups Projects
Commit ff54adca authored by Jan David Mol's avatar Jan David Mol
Browse files

Make sure outputProc does not hang indefinitely. Allows at most 8 hours of...

Make sure outputProc does not hang indefinitely. Allows at most 8 hours of processing in non-real-time mode,but we aren't using that. Also improve the error message if the connection gpuproc<->outputproc is lost.
parent 9652d9a2
No related branches found
No related tags found
No related merge requests found
......@@ -134,8 +134,8 @@ bool process(Stream &controlStream)
setSelfDestructTimer(parset, outputProcTimeout);
} else {
// Kill any existing alarms
alarm(0);
// Non-real-time behaviour: give processing at most 8 hours
alarm(8*3600);
}
// Send id string to the MAC Log Processor as context for further LOGs.
......@@ -310,7 +310,7 @@ bool process(Stream &controlStream)
finalMetaData.read(controlStream);
} catch (LOFAR::Exception &err) {
success = false;
LOG_ERROR_STR("Failed to read broken tile information: " << err);
LOG_ERROR_STR("Error in connection with GPUProc: " << err);
}
if (parset.settings.realTime) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment