We have been warned that after the reboot due to last saturday blackout the switch mtswitch-sdb is not reachable anymore.
We checked that on the network side in DAQ room all is working.
After agreement with Pacaud we swapped the transceivers on the general infrastructure switch between the sdb2 and sib2 ports and the link down remains on the sdb2 port.
The conclusion is that the failure is on the side of the LAPP mtswitch inside the SDB2 minitower
I stopped the following PyALP processes and marked them as optional in VPM, to stop them from appearing red: 2020-04-01-14h21m37-UTC info swinkels process:PyPhaseCamB1p stopped 2020-04-01-14h21m42-UTC info swinkels process:PyPhaseCamB4 stopped 2020-04-01-14h21m53-UTC info swinkels process:PySFP stopped 2020-04-01-14h21m58-UTC info swinkels process:PySpectral stopped 2020-04-01-14h22m06-UTC info swinkels process:PyUGF stopped 2020-04-01-14h22m27-UTC info swinkels process:PyAATuning stopped 2020-04-01-14h22m41-UTC info swinkels process:PySaturationPD stopped 2020-04-01-14h22m48-UTC info swinkels process:PySQZ stopped These should not be needed with the interferometer switched off. The only PyALP processes left running are PyDAQ (needed for DMS) and PyHVAC (needed for the HVAC loop of the laser lab).
To avoid a reoccurrence of the problem we had last week with /data/procdata/web/ filling up w/o anyone catching that in time, I've updated the PyDAQ server to monitor that area -- such as /opt/MonitoringWeb/ with which we had a similar problem some times ago. The ServersMoni configuration has been updated accordingly, so that this monitoring makes its way to the DMS. The warning threshold for /data/procdata/web/ is at 80% like for /virgoLog/ => it is currently active as this area is ~85% full. If we can't make more space there, we should probably raise that threshold. PyDAQ is also providing the rate at which these monitored areas are filling up but I did not include these channels to the Moni configuration yet, as I didn't know which thresholds would be meaningful.
I've freed about 12% of /data/procdata/web, as shown on the attached plot. The peak yesterday around 09 UTC is partly due to the creation of two core files during an DQR processing. I've deleted them close to the end of the GPS range on the plot. Future VirgoDQR tags will look for core files when the processing is over and delete such files if they are found.
Today, around 15h40 LT, I have found MdVim process stopped and several commands vimstart.sh (started by MdVim) hanged up on olserver117. Several root scripts started by those vimstart.sh commands were running since more than 12 minutes while they usually complete in less than 30 sec. I had to kill them manually. I suspect that the problem was the access to the data pointed by /virgoData/ffl/trend_ll.ffl. But I have no specific hint or proof.
A message for the operators: if a process like MdVim can not be restarted , even after you have done a "cm cleanup MdVim", you can try the "cm kill MdVim "command.
We made an exhaustive investigation and we didn't find any performance problem in the trenddata or rawdata disk buffers. Diagnosing further the problem we found that there are trouble trying to access data in the trend data short area: /data/trenddata/short-10800
The problem could be replicated just using dataDisplay and accessing the trend data of the last day. We think that MdVim is hitting the same problem. Going on with our investigation we think there is something wrong with the file (or around it): /data/trenddata/short-10800/V-trend-1239710400-10800.gwf because trend data are fine just around it.
It can also been inferred that something is wrong because it's size is the double of the other ones under: /data/trenddata/short-10800/ fcarbogn@ctrl3[/data/trenddata/short-10800]: ll ......... -rw-r--r--. 1 virgorun virgo 583498681 Apr 19 14:01 V-trend-1239699600-10800.gwf -rw-r--r--. 1 virgorun virgo 1003802889 Apr 19 17:00 V-trend-1239710400-10800.gwf
Removing that file didn't change much the situation because most probably both dataDisplay and the MdVIM processes do not like an hole in the data so we put it back. The whole short trendata tree snapshot around the problem has been saved under /data/archive/gwf_scratch
We expect the situation to recover as soon as this data area become old enough not to interfere any more with the MdVIM processes
The "cm kill MdVim " command should be used only if the host where this server is running is unreachable and you want to restart the server on an other host .
Looking at the MdVim troubles I found that
removing the file /data/trenddata//short-10800/V-trend-1239710400-10800.gwf doen't help as the ffl in this case is updated with V-trend-*1800.gwf files
but removing the file /data/trenddata/short/V-trend-1239712200-1800.gwf allows to recover the standard trend access from dataDisplay and MdVim
So there is a hole in the trenddata file from
from GPS1239712200 19 Apr 2019 12:29:42 UTC (19 Apr 2019 14:29:42 CEST)
to GPS1239713000 19 Apr 2019 12:43:02 UTC (19 Apr 2019 14:43:02 CEST)
To avoid others troubles, the FdWTrend has been restarted and the long trend file /data/trenddata/V-trend-1239667200-70200.gwf moved in the /data/archive/gwf_scracth '.
Unfortunately the file is already copied in the /data/archive_trenddata/2019/ directory meaning that all the access from the trend.ffl file will not work until the file will be removed .
Using the trend_ll.ffl file, there is no problem
The trenddata file for the 20190419 will be re-built later
The sequence of action/issue that lead to this trend data problem is the following.
The commissioning activity of Friday afternoon (see 45683) changed significantly the noise floor in the detection lab around 12h50 UTC, see the plot.
Triggered by this change, the process EnvMoni output a new serdata during two consecutive frames (GPS= 1239713423 et 1239713424), with a misleading samplerate of 0.02 Hz instead of 1 Hz.
The trend frame marked the corresponding vector as incomplete with multiple entries for the same bin.
When extending the trend frames from 200 seconds to 1800 seconds, this strange vector generates an error, before completing the reformatting, producing frames that are unusable for plots made by the various tools.
The trend frame for that day has been reprocessed from raw_full and inserted in the /data/trenddata area, recovering the full trend data of that day. It will have to be move to the archive area.
So, this is a typical side effect of some commissioning activities coupled with bugs and weakness of some code, that of course will be improved.
The part of code of EnvMoni at the origin of the problem has been identified and fixed. A version v2r9p12 of the Moni package is under test and will be released soon.
Since 18:12 LT of friday, February 1, the latency on the FdRawFull process on stol03 has kept increasing causing rawfull data loss and the process crashing and restarting.
To recover a steady writing I stopped the processes FmStol03 and FmRawFull.
The overall I/O load on the server and storage after the recent substitution of the array needs to be checked.
The latency drift causing FdWRawFull to loose frames and crash continuosly last friday happened when the configuration of the FmStol03 process has been changed around 17:10 UTC on friday. At that time there was ongoing also the writing of previous rawfull files from the old array to stol03 as requested by DAQ (the rsync process cited, starded on friday noon). As can be seen from the attached graph the rsync process caused a 5ms (1 week average) overhead on the system I/O queue but the FmStol03 process imposed another 6-7ms delay that evidently caused the latency to become unacceptable (at the same time the load in processes on the cpu queue stepped from the normal 10 to about 30). Note that no sensible r/w latency increase has been observed on the array itself.
We note the following:
occasional read/write jobs for copying/moving files should be sustainable as long they don't pile up
the FmStol03 job performs a FrCheck of every rawfull file by reading it from the disk, and usually should find the file in the server page cache, but, since its operation could become asynchronous with the FdWRawFull process, it is possible that the I/O takes longer because the file is not anymore in the cache. To be on the safe side it must be evaluated to let the full FrCheck verification be disabled for this flux of data (as it has been in the past) considering that rawfull data are needed for debugging and not as a reference data stream
we restarted the rsync copy of the old rawfull buffer files without any noticeable delay, but it turns out that the copied files are erased by some process a few minutes after, so the DAQ configuration must be changed to let these files be copied
The monitoring of the rate at which data are written to /virgoLog has been added to the DMS in the DAQ-Computing/Disk section. The thresholds for warning (yellow) and alarm (red) have been temptatively set to 10,000 and 20,000 Byte/s respectively. Information about the processes with the highest logging rate can be found in the table at the bottom of https://vim.virgo-gw.eu/?config=17.
Note that the logging rate is simply calculated based on the output of the command "df /virgoLog". Due the latency of the file system, the obtained values change only occasionally, and a one-hour average is taken to obtain the rate with a decent precision. This means that if any big file is created in this directory (e.g. a core-dump), the DMS flag will stay red for one hour before going back to its normal value. The relevant channel is DAQ_DISK_FULL_VIRGOLOG_RATE (in bytes/s), which is generated by the PyDAQ process. The creation of core-files can be observed by steep steps in the channel DAQ_DISK_FULL_VIRGOLOG (which shows the percent of the disk quota that is used, based on the same df command), while a real increase of the logging rate can be confirmed by a change of the slope of this channel.
Today, around 15:00 LT, I have restarted all the Moni processes
that produce the information for the DMS.
This is to use the version /virgoStaging/Moni/v2r8p13
which makes the process appear blue in VPM when there are missing input channels.
I have added also a FDIN_TAG in their configuration so that they do not take
the full frame from FbmAlp shared memory (thanks Alain for the advice!).
This reduces a bit the load and the latency of the Moni processes on the olserver52 machine.
Some missing input channels are now visible in VPM in the Moni processes.
Most of them seems to be old channels that do not exists anymore in the DAQ chain.
For instance, the command [chraw "V1:ENV_BS*"] does not show the channel
V1:ENV_BS_F3_TE2 which is used in the config of SuspMoni. This means that
this channel is not currently stored in the raw data. And it is not seen
also in the DAQ chain in FbmAlp shared memory.
As can be seen on the plot 1, one time period indicating that ITF is not locked
(yellow box based on the value of the channel DQ_META_ITF_LOCKED) is not correct.
Plot 2 shows that, in the same time period, the channel META)_ITF_LOCK_index had
the value 150 (the value when itf is locked).
Plot 3 shows that in this time period the "Science Mode" channel
DQ_META_ITF_Mode is missing. That may indicate a problem in the generation of
the channels DQ_META_ITF_Mode and DQ_META_ITF_LOCKED.
So, be aware that in the database DQSEGDB the data quality segment
for the flag ITF_LOCKED is wrongly shortened to 18:00-19:50 instead of 18:00-22:40 on Jul 16.
This night I was notified by the DMS for a lot of missing channel, the problem started around 23:17 UTC
The only thing I could see is that FbmMain is down and frm the log file:
2017-06-08-23h17m29-UTC>ERROR..-At 1180999065 start to remove 271 duplicated channel(s): V1:
I have tried to restart it but it crashes again with the same error messages.
I have sent an email to DAQ on call and left a message at the answering machine of the On call number.
I have stopped FbsVac and restarted FbmMain and the Metatron nodes that had crashed.
FbsVac is sending data with bad names that changes every second, and some are duplicated. Names are looking as VAC_value (instead of I suppose VAC_name and associated value) as can be seen in the log of FbmFE:
ERROR..-At 1181006040 we have now 284 duplicated channel(s): V1:VAC_-1.10414140937903e-012 ,V1:VAC_-1.10414140937903e-012 ,V1:VAC_-1.20929763598732e-012 ,V1:VAC_-1.23558671974444e-012
ERROR:..-At 1181006053 we have now 274 duplicated channel(s): V1:VAC_-1.09309870183205e-012 ,V1:VAC_-1.10414140937903e-012 ,V1:VAC_-1.23558671974444e-012
....
I tried to restart FbsVac but the same issue restarted again and FbmMain crashed. Hence I have let FbsVac stopped for now in order not to crash the DAQ pipeline and to have the other data available. The problem of FbsVac bad channels is still to be investigated.
FbsVac is the slow frame builder collecting all VAC data.
I looked at the problem this morning, and found that FbsVac was restarted (by Alain) at 6.04 this morning by commenting the Varian process data collection. It seems that it has solved the problem since no more data collection inconsistencies appeared so far.
Looking at Varian process I found that the SER data string was corrupted since yesterday due to a filament failure at 1200N station. I solved the problem by removing the faulty sensor from the data collection and restarted Varian process, and update FbsVac configuration with collecting Varian data again. I observed so far no more complaints of FbmFE.
This uncomfortable event rises the question if a SMS string corruption check is made in the Fbs collector.
If not, I guess it may be very useful to do so.
On April 23rd-25th, the following labs have been emptied from all DAQ electronics, except for the boards needed for environmental monitoring still running:
- NE and WE buildings
- MC building
- detection lab (no env. monitoring has been kept). The optical fibers from DAQ-room to DET lab have been removed. Some of the remaining cables from DET have been
let close to the external detection bench. The other remaining cables (going to the suspension and to the DAQ-room) can be removed.
The electronics for the suspensions have been kept.
There is still an ADC running for env. monitoring in the EE-room. So none of the optical fibers from the DAQ-room to the EE-room have been removed. They will be removed when the environmental monitoring will be switched off.
There are still cables to be dismounted inside the DAQ-room itself.
Up to now, I have not found the origin of the large memory leak that appeared in ServersMoni and which makes it crash after a few days, as can be seen on ganglia.
The two plots below (second plot is a zoom of the first one) show that there seems to be a small permanent but low rate memory leak even when no server is monitored and a large higher rate memory leak when missing channels (indicating unavailable servers) are present. So, waiting for a new version of ServersMoni, I advise that any channel permanently missing is removed from the config file of ServersMoni, reducing thus the number of missing channels seen by ServersMoni thus the memory leak.
Starting from march 7th, the ServersMoni process is crashed a few times. At every crash the last error message is "CfgMsgNewArgs> malloc failed
Apr01,12-08h49mn00>INFO...-CmMessageDoReceive> cannot extend for header".
Looking at Ganglia plots related to olserver3 (ie the host where the process runs), it can be seen:
- a constant increase of the memory use, that starts just after the process restart;
- a drop of the memory use in coincicence of the process crash;
It seems that the process is responsible of a constant increase of the memory used till to the crash.
Looking at the configuration of ServersMoni process, I did not find any problem that could
be the source of the memory leak. Looking at processes running on olserver3, I found twice
the ServersMoni process and twice the processes associated to its start, one group for Apr 02,
one group for Mar 26 (see below).
Today around 15:00 LT, I killed the processes of the group "Mar 26".
virgorun 8798 8797 0 Apr02 ? 00:00:00 tcsh -c /virgoData/DAQ/run.sh /virgoDev/Moni/v2r5p7/${UNAME}/MoniServer.exe /virgoData/Moni/ServersMoni.cfg DAQ/DM/ServersMoni -l
virgorun 8841 8798 0 Apr02 ? 00:00:00 /bin/bash /virgoData/DAQ/run.sh /virgoDev/Moni/v2r5p7/Linux-i686-SL4/MoniServer.exe /virgoData/Moni/ServersMoni.cfg DAQ/DM/ServersMoni -l
virgorun 8854 8841 1 Apr02 ? 00:51:23 /virgoDev/Moni/v2r5p7/Linux-i686-SL4/MoniServer.exe /virgoData/Moni/ServersMoni.cfg DAQ/DM/ServersMoni
virgorun 9130 9129 0 Mar26 ? 00:00:00 tcsh -c /virgoData/DAQ/run.sh /virgoDev/Moni/v2r5p7/${UNAME}/MoniServer.exe /virgoData/Moni/ServersMoni.cfg DAQ/DM/ServersMoni -l
virgorun 9173 9130 0 Mar26 ? 00:00:00 /bin/bash /virgoData/DAQ/run.sh /virgoDev/Moni/v2r5p7/Linux-i686-SL4/MoniServer.exe /virgoData/Moni/ServersMoni.cfg DAQ/DM/ServersMoni -l
virgorun 9186 9173 0 Mar26 ? 01:00:55 /virgoDev/Moni/v2r5p7/Linux-i686-SL4/MoniServer.exe /virgoData/Moni/ServersMoni.cfg DAQ/DM/ServersMoni
Today, on olserver3, I will start a test process (with Cm name ServersMoniTest) to look for
which part of the code may be the origin of the memory leak.
This morning I stops all the ADC7674 in all the building. As consequence the FbMoniCb, FbWe servers are now stopped.
If some probes are needed, please send me a mail with the probe list in order to minimize the number of ADC7674 boards in operation
Today, when plotting some trenddata, I found missing data for the period 24-27 February (an example is in Fig1).
Later, I realized that actually during that period the trenddata have been stored, but at a lower sampling rate (0.1Hz).
A nuisance side effect is that the name of the channels during that period is different (the "mean" suffix have been added at the name of each channel).
Therefore, to correctly plot them, the modified channel name has to be used, as shown in Fig2.
This makes impossible to plot a continuous curve for the same channel.
The reason of this sampling rate @0.1Hz seems unknown.
I made a mistake when I 've performed the reprocessing last week: I forgot to change the input frame dt before the reprocessing.
The reprocessing with the correct input frame dt is in progress
Today we noticed that the trend data were not available anymore since yesterday evening (Feb 2 17:22)
We were able to restart it today around 10:00 by stopping/starting the FbmSt process providing data on shared memory to the trend chain
via ToFbtMain
The problem happened again during the weekend (trend data were not available anymore since Saturday 4th, 11:30UTC).
We restored the situation today around 13:20UTC by stopping/starting in sequence the FbmSt-ToFbtMain-FbtMain processes.
There is no need to stop/restart FbmSt and FbtMain servers. The troubles occurs only at the ToFbtMain level which stops itself due to a fatal error:
Feb04,12-12h40mn49>FATAL..-FbtBuildTrendFrame. Vector overflow at 1012390200 index=16 samplingRate=0.025 channel=V1:Qc_Locking_Sa_NE_F0_xLvdt_50Hz_RMS_200s_0.03_0.1Hz serData:V1:Qc_Locking_Sa_NE_F0_xLvdt_50Hz
In order to investigate the troubles:
. we have put the ToFbtMain server inside a shell script to restart it automatically in case of cras
. and we use a new release Fd v6r9p2
At the beginning of this afternoon, FmbResize crashed, but unfortunately we only noticed it a few hours later when trying to access some raw data. All raw data between 12:40 and 15:22 UTC has been lost. The process restarted without problems.
The DMS system should be updated a bit to automatically notify someone in case of similar failures, since there is no longer an operator or anyone else that constantly checks all systems.
Accordingly, I have right now alarmed the 'DaqRaw' subflag (under the 'Storage' flag), in such a way that:
- an acoustic beep is played in Control Room (after 120s of problem persistence);
- an email is sent to a restricted operator team (after 120s);
- an sms is sent to the mobile of the ITf on-call person (after 600s).
This morning between 12hLT and 12h30LT, all:
. the DAQ processes (ClDaqCollect,ClDaqData, ClDaqStorage)
. Detector Monitoring (ClDM)
. Online Processing (ClOP)
. Noise(ClNoise) and DataQuality(ClDM)
servers were restarted to improve the memory usage of the olserver machines(See the attached plots)
In order to reduce the stored data flow, the FbmStToCompress configuration was updated with
. -V1:Ca_* to remove the Calibration channels
. -V1:GL_* to remove the GyroLaser channels
. -V1:PC_* -V1:IrCam_* to remove the Phase camera channels
. -V1:Pr_* to remove the Pr channels.
. -V1:BB -V1:CT -V1:MG -V1:Qc_* -V1:BRMSMon -V1:Ec -V1:IMMS -V1:IMAC -V1:TP -V1:Tu_* -V1:To_* -V1:Va to remove some SMS channels
We stop all The Pr processes running on the rtpc. At the end the data flow is reduced from 7,3MB/s to 4,1MB/s. All the previous channels remains available for automation, detector monitoring, dataDisplay accesses, trend and 50Hz stream
As suggested by Vincenco, the Oo_* and TCS_* channels were removed this morning.
The data flow sent to the storage part is above 4MBytes/s and contains mainly the channels related to
. the suspension (Sc, Sa and Gx)
. the Environment monitoring (Em_*)
. and the Beam source (Bs_*)
as described in the attached file.
In eliminated some unused and some redundant channels:
kept 1 magnetometer out of 3 in each building
reduced sampling of all (but CB) IPS and UPS voltage and current monitors from 2kHz to 1k
removed RF antenna (80kHz)
removed missing channels ACTCSNI, Em_SEQMC*, Em_SE_Brew_*
We decided however to keep env. monitoring in view of EIB-SAS tests, further tests for VAC racks, and being suspension controls still active.
Wednesday 5th, new cameras (Smartek) have been installed on the B7p and B8p beams. The new cameras have been placed in from of the old cameras (see picture). The data from the new cameras replace the data from the old one with the same names in the DAQ, since Thursday afternoon. The images of the new cameras are available with the usual GxClient selecting the GxSNEB and GxSWEB servers. The new camera are more sensitive than the old ones, has shown by the image taking in step 0.
The new cameras are currently running at 10Hz with their own clock, meaning they are not yet synchronized with the Virgo timing system. As a consequence, one image is lost every few minutes.
The new camera are driven by the "Imaging" application, which is the evolution of the GxServer for this new system which collect images through an Ethernet connection, instead of an VME board, and make the images available to the DAQ, GxClient and digital stream for "Telescreen". Two servers have been started: GxSNEB and GxSWEB and could be managed using the client ClBencheE. Their configuration is in the /virgoData/Imaging directory. Two Tolmprocessor processes have also been started, although they should not be needed in a future version.
The "Telescreen" application which provides a mosaic of the video images has been started on ctrl10. The web interface is available at http://www.ctrl11.virgo.infn.it:54804/video but its used is reserved to the operators. The control of Telescreen is available via the DAQ local workstation menu. This application will be moved eventually on the vid01 workstation when ready to replace one of the control room plasma screens.
Summary of the hardware installed:
•The camera Smartek-0050c27086f3 for B7p and Smartek-0050c27086ef for B8p
•Camera boxes LAPP-CCG1004 and LAPP-CCG1003 to provide the power supply and trigger have been installed in the NE1 and WE1 racks (see image).
•Dedicated switches for the camera network, with green cables, have been installed above both camera boxes.
•Cables for the B7 and B8 future new cameras have also been installed.
•A digital video encoder has been installed in the network room to make the analogue images of the B1, B1p, B7, OB_L1 available to Telescreen.
We have completed the kernel update 2.6.32.11-x86-2.4-03 of
rtpc06,rtpc11,rtpc14, rtpc15, rtpc17, rtpc18,rtpc19
and reload all processes aligned with TolmBase v1r2 with success.
All Cl clients with according processes versions have been updated.
This morning we have updated the kernel RTAI 2.6.32.11 of the rtpc at NE (12,21) and WE (13,22).
The processes attached were restarted without success using TolmFrameBuilder v1r3p14
(missing TolmDictionary module).
We restarted FbNe and FbWe with success using TolmFrameBuilder v1r3p13 which relies on TolmBase v1r0.
The problem is the TolmDicitonary version in VCS-8.1 doesn't have a kernel module compiled using the new kernel version.
I will make a new release of TolmDictionary, TolmBase, TolmProcessor and TolmFrameBuilder with should fix this issue.
It looks like a new release of the Tolm packages is not required. A recompilation of TolmDictionary v0r24 kernel module in VCS-8.1 on one of the machine running the new kernel 2.6.32 should be enough.
make tolm_dictionary
should work (don't delete the Linux-i686-SL4 directory !)
the DAQ troubles at the FbsMoni level are due to the shut-down of pcgyro2.virgo.infn.it. A cm restart_server allows to recover a correct working condition
I've freed about 12% of /data/procdata/web, as shown on the attached plot. The peak yesterday around 09 UTC is partly due to the creation of two core files during an DQR processing. I've deleted them close to the end of the GPS range on the plot. Future VirgoDQR tags will look for core files when the processing is over and delete such files if they are found.