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.
DAQ›DAQ
#45684
5 comments
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
So there is a hole in the trenddata file from
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 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.