Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-DAQ›Data Acquisition and Global Control #44976

Crash of FbmMain due to typo in config file?

At 16:45 UTC, after doing a restart of the PySFP process to change something small [1], almost the complete DMS went grey. After a few minutes, we understood that the problem was that FbmMain had crashed. Rolling back the change and restarting it again did still crash FbmMain. The interferometer unlocked about a minute later, but it will be hard to understand the cause due to the hole in the data.

Comparing the FDOUT_CM line with similar processes, it seemed that the last line of PySFP.cfg was changed from
FDOUT_CM FbmMain "#ADC V1:INJ_SFP_ZOOM #SER V1:INJ_SFP* V1:DAQ_PYSFP*" 0 -1
to
FDOUT_CM FbmMain "*" 0 -1 "ADC V1:INJ_SFP_ZOOM #SER V1:INJ_SFP* V1:DAQ_PYSFP*"
which seems a typo. The process was running since April 2018, and looking at the VPM log file, its config file was changed during this period at least twice without a restart. This file is saved under svn, which shows that the error was already there in December. After mostly [2] correcting the error, we could restart PySFP and everything seems fine again.

[1] I changed the application of PySFP in the VPM config file from PyALP to PyALPtest, which changed the path from "source {{INSTALL_ROOT}}/{{PACKAGE}}/{{VERSION}}/cmt/setup.sh;python {{INSTALL_ROOT}}/{{PACKAGE}}/{{VERSION}}/src/main.py" to path="python {{INSTALL_ROOT}}/{{PACKAGE}}/{{VERSION}}/src/main.py". This should not have changed the version, just removed some obsolete cmt stuff.
[2] The 'tag' was changed to "ADC ...", but it should likely have been "#ADC ...". Another restart of PySFP is needed, but better to do that after the next unlock.

1 comment

narnaud · 25 Feb 2019 · 15:25 #45001

I wrote a script that

  • looks for the VPM logfiles that have been updated in the past 60 minutes (to get the processes that are currently running);
  • uses the UTC time stamp ending the logfile name to infer when the corresponding process was started;
  • gets the process configuration file and the unix time of its last modification (then converted to UTC);
  • prints the process information if its configuration has been updated since it was started.

It currently finds 10 such processes, listed below:

VirgoOnline FbsMoni
VirgoOnline FdWRawFull
VirgoOnline ISYS_Acl
VirgoOnline LSC_Acl
VirgoOnline SDB1_LC
VirgoOnline SDB1_OMC
VirgoOnline SDB2_Photodiodes
VirgoOnline SegOnline
VirgoOnline SQZ_SDB2
VirgoOnline SSFS_phi

I did not check what the configuration file changes are in each case.