stol2 /storage/v1 (Disk-RawBck) and /storage/v2 (Disk-Short) were remounted using noreservations
stol3 /storage/v1 (Disk-Raw) was remounted using noreservations
st11 is experiencing some disk problems. As a result the rawdata buffers hosted on this machine may be unavailable. This is currently being investigated.
The problem was isolated and found to be a faulty fibre channel cable from st11 to the fibre channel switch. The cable was replaced and the problem seems to be resolved.
The .72 network interface of stol1 was reverted from the newly added card to the previous intel card as it has been determined that missing frames were not due to network problems.
Further tests pointed us towards disk-writing problems. As a result, the IO scheduler was changed from the default CFQ (completely fair queuing) scheduler, which favours reading, to the deadline scheduler in an attempt to improve the efficiency of the kernel disk writing subsystems. The deadline scheduler was then tuned from the default (which also favours reading) to a write-favouring algorithm using the following parameters
read_expire 500msec ---> 2000msec
write_expire 5000msec ---> 2000msec
writes_starved 2 ---> 0
Here the report related to a burst of 52 missing frames on stol1:
Jul04,07-15:32:16>WARNING-At GPS=867591134 miss 52 frames;
Jul06,07-01:30:33>WARNING-At GPS=867713431 miss 52 frames;
Jul06,07-01:32:54>WARNING-At GPS=867713574 miss 52 frames;
Jul06,07-01:38:53>WARNING-At GPS=867713930 miss 52 frames;
Jul06,07-01:52:43>WARNING-At GPS=867714760 miss 52 frames;
Jul06,07-01:55:26>WARNING-At GPS=867714923 miss 52 frames;
Jul06,07-01:59:37>WARNING-At GPS=867715174 miss 52 frames;
Jul06,07-02:04:22>WARNING-At GPS=867715457 miss 52 frames;
Jul06,07-02:06:36>WARNING-At GPS=867715595 miss 52 frames;
Jul06,07-02:09:57>WARNING-At GPS=867715796 miss 52 frames;
Jul06,07-02:12:27>WARNING-At GPS=867715941 miss 52 frames;
Jul06,07-03:04:37>WARNING-At GPS=867719073 miss 52 frames;
Jul06,07-04:24:42>WARNING-At GPS=867723879 miss 52 frames;
Jul06,07-04:27:04>WARNING-At GPS=867724021 miss 52 frames;
Jul06,07-04:31:39>WARNING-At GPS=867724298 miss 52 frames;
Jul06,07-04:35:51>WARNING-At GPS=867724550 miss 52 frames;
All the missing frames are correctly recovered from the BACK stream
After a talk with DAQ people (Alain M.) we fixed manually file replicas on ffl database. Due to avoid this kind of problem in the future, we are going to develop a new algorithm for the fflGen.pl, the procedure that takes care of replicas handling. At this moment, corrupted/partially filled files that comes from the offline buffer will be not inserted into the ffl.
The following process priority has been adjusted on STOL1 due try to solve the missing frames problem:
- FdWrite prio is now -5 (previous value 0, priority increased)
- rsync prio is now 15 (previous value 0, priority decreased)
The IFT array direct mounted by STOL3 crasched due to a double disk failure on the RAID5 array. The 50Hz and trenddata witing process crashed cos they were unable to write on them.
The array is now in rebuilding mode and needs some hours to be ready again.
All data available before the crash will be restored from our disk-to-disk backup until the STOL# disk array will be ready.
Due to solve the STOL3 problem, you can start to write to follow disk NFS areas:
st6:/storage/v209/data/tmp_50Hz
st6:/storage/v209/data/tmp_trend
tomorrow moring we will take catr to merga this two areas with the restoed data into the rebulded array.
I‘ve restarted FbtMain and Fbt50Write on olserver6, and updated ClDaqData configuration. I‘ve changed their configuration in order to use /storage/st6/v209, but unfortunately, it looks like this nfs share is read only, which means FbtMain and Fbt50Write don‘t run correctly.
You are right: my mistake. That volumes are r/w for a lot of machines but not for olserver6/daq user. Anyway, in case of this kind of failure, please call me and I‘ll solve the problem.
STOL3 disk array rebuilding process is just finished: all the volumes are up and running and can be used again for writing process.
The restore process is already started: situation will be restored up to yesterday at 12:24 (5 min before the disk crash).
I was investigating about the /data/procdata/buffervxx performance decreasing (reported by verkindt - 16:56, Monday 11 June 2007 (16905) ) and I found that:
- all the /data/procdata buffers are hosted on the faster IBM disk array
- during the shutdown operations IBM3 and IBM2 controllers loosed the cache configuration for writing access. This fault decreased the performance to the 20% of normal operation. The IBM configurator software showed the cache active but was active only for reading operations: now I have restored the original cache configuration (with write back operations on disks) for all the IBM controllers and data writing speed seems to be as normal.
The intel gigabit ethernet driver (e1000) on the three stol machines has been upgraded to the latest version in an attempt to resolve the problem with missing frames on these buffers.
A new disk buffer was also added to stol2.
Shared memory was also increased on stol2
This morning I was called on site by Menzione as the DAQ processes HrecSave and FmHrec were red-flagged. From the logbook entry 16863, it appeared to be a problem with disk space on this buffer. Further examination confirmed that there was enough space on this buffer (procdata buffer that is exported from st11 - /data/procdata/bufferv2 )
By attempting to connect to this buffer over NFS, it was noted that it was unresponsive.
Restarting NFS, we were able to restart these prcesses. However, after some time they stopped again. Further investigation revealed high system CPU usage on st11, as can be seen from the attached graph.
At the moment, st11 is serving a number of data writing/reading services, including but not limited to
* hrec and other processes writing and reading to procdata buffers
* data transfers towards ligo and bologna
* currently assigned as active offline buffer for the data transfer from the online buffers.
To reduce loading on this server, we have temporarily removed st11 from the available machines in the circular buffer.
st11 has been rebooted to attempt to resolve this problem.
I have advised Rodolphe that if this problem presents itself again then the DAQ should be informed to change the active buffer from bufferv2 to bufferv5 (i have created a HrecOnline folder in this buffer) which is running on another (less loaded) server, st4
A new script module is added to the rawdata replica structure.
It works with other scripts and can be riassumed in few words:
- send the main stream rawdata replica (STOL1) to the offline buffer
- the offline module check the integrity of the file using the following command:
FrDump.exe -d 1 -i $filename | grep Frames
checking if the effective frames are the standard number (now we assume that value is 240)
- if yes, insert it in ffl and publish the new ffl
- if not, asks to a module running on STOL2 for a better file replica. If that better replica is found, it is sent to the offline and inserted into the ffl, otherwise the first replica is kept (both data flow has missing frames).
The module is running and seems to work. Otherwise is possible that can be in future some exceptions that the algorithm is unable to manage.
Livio S.
I‘ve commented the FM_FILE /data/50Hz_archive_2 from the Fm50Hz configuration file during the data transfer to allow the user to access correctly the 50Hz stream
The Fm50Hz has been restarted with this updated configuration.
The /data/50Hz_archive_2 will add to the 50Hz ffl when the data transfer will be finished
The continuous data transfers for the VSR1 to the repositories and LSC have been setup as follows:
HrecOnline (from Cascina at dir /data/procdata/bufferv2/HrecOnline) to:
-> Caltech (into directory /archive/virgo)
-> Lyon (into cchpssvirgo:/hpss/in2p3.fr/group/virgo/Run/VSR1/proc)
-> Bologna (into /storage/gpfs_virgo4/virgo/data/VSR1/procdata)
Rawdata files (from Cascina storage farm) to:
-> Bologna (into /storage/gpfs_virgo4/virgo/data/VSR1/rawdata)
Still to be setup:
a) Rawdata relay from CNAF to Lyon (waiting for Lyon to setup the authentication)
b) S5 transfer from Caltech to Lyon (setting up the scripts at Caltech)
Please during the VSR1 don‘t start large transfers without previous discussion with the Computing Staff.
And absolutely don‘t use the datagw.virgo.infn.it machine, that is reserved to the permanent data replication to the repositories
The continuous data transfers for the VSR1 to the repositories and LSC have been reconfigured as follows:
HrecOnline (from Cascina at dir /data/procdata/bufferv2/HrecOnline) to:
Caltech (into directory /archive/virgo)
Lyon (into cchpssvirgo:/hpss/in2p3.fr/group/virgo/Run/VSR1/proc)
Bologna (into /storage/gpfs_virgo4/virgo/data/VSR1/procdata)
Hrec-L2 (from Ligo at dir /archive/frames/S5/strain-L2/LHO ) to:
Cascina (into /data/ligo/v1/frames/S5/strain-L2/LHO)
Lyon (into cchpssvirgo:/hpss/in2p3.fr/group/virgo/Run/S5/LHO)
Rawdata files :
from Cascina to Bologna (into /storage/gpfs_virgo4/virgo/data/VSR1/rawdata)
from Bologna to Lyon (into cchpssvirgo:/hpss/in2p3.fr/group/virgo/Run/VSR1/raw)
A new script is running (in test mode) due to automatically compare the two rawdata streams in order to reduce the archived missing frames. The two streams are compared file by file using the FrDump utility with -d 1 option: the file with greater frame number is choosed to be the offline storage replica and is inserted into the ffl file.
The script is still in test mode: some flows exceptions will be handled manually.
Since the April shutdown, some problems occurs on the stol1 and stol2 machines, where the Frame writers are running for the STOL and BACKUP streams. It seems that the writing is slowdown for unknown reasons and the consequence is the loss of frames (52 frames).
I was suspected that it was due the some activities performed by the computing staff but the problem remains for VSR1
So for VSR1, the status is the following:
. The missing framse are still here on the 2 streams
. They not appears at the same period on the 2 streams as reported here
May19,07-09:01:55 863593263 52 STOL
May19,07-09:04:31 863593418 52 STOL
May19,07-09:07:07 863593575 52 STOL
May19,07-13:34:14 863609600 52 BACK
May19,07-13:36:30 863609738 52 BACK
May19,07-13:43:49 863610174 52 BACK
May19,07-23:08:11 863644034 52 STOL
May20,07-02:29:56 863656144 52 STOL
May20,07-02:32:26 863656292 52 STOL
May20,07-11:02:03 863686871 52 BACK
May20,07-11:04:17 863687000 52 BACK
May20,07-11:06:18 863687126 52 BACK
May20,07-11:08:37 863687260 52 BACK
May20,07-11:10:36 863687384 52 BACK
May20,07-11:12:47 863687514 52 BACK
May21,07-01:34:08 863739196 52 STOL
May21,07-01:36:43 863739347 52 STOL
May21,07-01:38:59 863739487 52 STOL
May21,07-08:36:53 863764560 52 BACK
May21,07-13:06:02 863780710 52 STOL
May21,07-13:08:17 863780845 52 STOL
May21,07-13:18:52 863781480 52 STOL
May21,07-13:24:40 863781826 52 STOL
May21,07-13:28:06 863782029 52 STOL
May22,07-03:27:40 863832409 52 BACK
May22,07-05:51:14 863841020 52 BACK
May22,07-05:53:15 863841143 52 BACK
May22,07-05:55:17 863841265 52 BACK
May22,07-09:51:24 863855430 52 STOL
May22,07-17:12:58 863881959 16 BACK-STOL FmSt stopped by mistake
May22,07-18:34:01 863886789 52 STOL
May22,07-18:36:30 863886939 52 STOL
May23,07-03:27:14 863918781 52 STOL
May23,07-03:42:36 863919704 52 BACK
May23,07-03:44:53 863919839 52 BACK
May23,07-06:04:30 863928214 52 STOL
May23,07-06:07:00 863928368 52 STOL
May23,07-06:11:22 863928629 52 STOL
May23,07-08:17:19 863936186 52 STOL
May23,07-08:20:03 863936350 52 STOL
May23,07-16:42:47 863966515 52 STOL
As they are in anti-coincidence we may expect that the recovering work correctly.
But it‘s not the case as reported below where only 4 recovering have been successfully performed:
May19,07-09:01:55LT 863593263 52 missing frames - 0 recovered frames
May19,07-09:04:31LT 863593418 52 missing frames - 0 recovered frames
May19,07-09:07:07LT 863593575 52 missing frames - 0 recovered frames
May19,07-23:08:11LT 863644034 52 missing frames - 0 recovered frames
May20,07-02:29:56LT 863656144 52 missing frames - 0 recovered frames
May20,07-02:32:26LT 863656292 52 missing frames - 0 recovered frames
May21,07-01:34:08LT 863739196 52 missing frames - 0 recovered frames
May21,07-01:36:43LT 863739347 52 missing frames - 0 recovered frames
May21,07-01:38:59LT 863739487 52 missing frames - 0 recovered frames
May21,07-13:06:02LT 863780710 52 missing frames - 0 recovered frames
May21,07-13:08:17LT 863780845 52 missing frames - 0 recovered frames
May21,07-13:18:52LT 863781480 52 missing frames - 0 recovered frames
May21,07-13:24:40LT 863781826 52 missing frames - 0 recovered frames
May21,07-13:28:06LT 863782029 52 missing frames - 0 recovered frames
May22,07-09:51:24LT 863855430 0 missing frames - 52 recovered frames
May22,07-17:12:58LT 863881959 16 missing frames - 0 recovered frames
May22,07-18:34:01LT 863886789 52 missing frames - 0 recovered frames
May22,07-18:36:30LT 863886939 52 missing frames - 0 recovered frames
May23,07-03:27:14LT 863918781 0 missing frames - 52 recovered frames
May23,07-06:04:30LT 863928214 52 missing frames - 0 recovered frames
May23,07-06:07:00LT 863928368 52 missing frames - 0 recovered frames
May23,07-06:11:22LT 863928629 0 missing frames - 52 recovered frames
May23,07-08:17:19LT 863936186 52 missing frames - 0 recovered frames
May23,07-08:20:03LT 863936350 52 missing frames - 0 recovered frames
May23,07-16:42:47LT 863966515 0 missing frames - 52 recovered frames
The only data lost due to the data collection are 16 frames related to the stop/restart by mistake of FbmSt servers at May22,07-17:12:58
The Backup stream is a 1TB disk, meaning 1.8 days of data, while the Stol stream is a 4TB disks.
It is more usefull to have the same size for the 2 streams in order to cover the same period of time.
Now We can recovered by hand the missing frames for May22,23 but the ones for the May19,20,21 are fully lost.
According to what signalled by DAQ people 2 days ago this loss of frames occurs since the last computing reboot on 17 April.
Unfortunately the checker scripts running on the storage nodes have never seen this kind of errors because they use the ‘FrDump -d 0‘ command to compare the effective number of frames in the file against the expected number to chose the ‘best‘ one.
Now we understand that that the ‘-d 0‘ flag is related to the start and end time of the file and reports the missing frames only when they occur at the beginning or the end of the file.
Therefore we are modifying the checker to use the ‘FrDump -d 1‘ command that in the output gives the real number of frames in the file comparing it with the expected number of frames per file (currently 240). Note that we don‘t compare the size in bytes of 2 files because this would mean to compare the sizes for every file couple and these change continously.
The missing frames of the last 2 days have been recovered already yesterday evening when we became aware of the problem but the missing frames of the first 3 days of the VSR1 are not recoverable because of the limited length of the stol2 buffer (1TB).
This buffer was planned to be upgraded in 2006 but the Virgo Collaboration had decided to give priority to the extra storage on the storage farm, therefore the upgrade is planned for this year.
As for the cause of the missing frames a test node with SL3.0.3 will be provided to DAQ to setup a test stream that is nearer to the RH EL3.0 linux version that was running before the shutdown to check the effect of the OS.
By carefully checking the FdW versions running before and after the April shutdown (FdW v3r0 , FdW v3r0p1) it could be noticed that the optimisation level has changed.
In order to asses if this could make any inpact on FdW performances a new version of FdW v3r1p3 has been created with the setting:
macro cflags " -g -O2"
Such version has been puy in /virgoApp and the rawback stream stopped/restarded using it
The ClDaqData.cfg config file has been accordingly updated
The new file naming convention V-{Type}-{GPS}-{duration}.gwf has been put in operation for the raw stream (now)
The raw.ffl amd raw_bck.ffl are correctly updated and the operation should be transparent for the users
Due to make free space for WSRx, old C3 files were removed from the local repository in Cascina.
C3 files are available in Lyon and Bologna repositories.
STOL2 is going to be moved in a new physical location.
All services (like ffl generator) are migrated to the STOL1 machine.
The /data/rawdata/last and /data/rawdata/backup_rawdata path will be unavailable until maintenance operations will be finished.
Livio S.
The maintenance operation on STOL1 are finished, one day early related to the planned operations.
The machine is already moved and is now running in the new location.
All services are up and running again.
The storage farm is now working in a new phisical location.
All services are up and running again. Files will be available on offline buffers as soon as they will be replicated from online buffer. FFL is updated to current situation.
Please notify us about any anomalies.
Thanks for your patience,
Livio S.
Since Feb27,07-10:14 the frame transmission to the backup stream is slow for unknown reasons: the usual consequence is a lot of frame missing.
The frame transmission to the stol stream is still OK: no missing frames.
Usually the raw.ffl is based on the stol stream and some recovering are performed to recover the missing frame But now the raw.ffl stream is based only on the backup stream: so the worst case !!!!
Investigations in progress
The loss of frames on the "/data/rawadata/last" or "backup_rawdata" buffer is normal and was foreseen in the effects of the storage farm shutdown.
This is due to the increased load on the 1TB array on stol2 that is accessed by DAQ processes and more users that normally read data on the storage farm.
Data are anyway stored also on the safe stol2 buffer. This is the buffer that keeps the "reference" copy of the data and cannot be accessed otherwise the added load would cause the loss of frames also on this stream.
I suggest to stop for the moment any non urgent continous process that accesses the buffer "/data/rawdata/last" or "backup_rawdata" stol2 buffer so giving priority to interactive users.
There is an additional problem that involves the ffl only not showing all the data present on the buffer, that is being corrected.
The raw_bck ffl file should be use during the storage shutdown: the raw.ffl is not correctly updated and managed now.
Some holes of 44s of frames for the data of yesterday are present due to the abscence of the optimal compression.
Since 7:46 LT the optimal compression is available aand not 44 frames losses have been observed until now.
The full four month buffers are noit available during the Storage shutdown:
No data of the different WSR runs !!!
We found some problems on nfs daemon running on st10.
Nfs restarted and problems are solved.
Data from 12-Feb-2007-21h52 to now are available again (bufferv35)
Due to a stol1 daemon crash, some data are not yet replicated from the online to the offline buffers. Recovery procedure are running from this morning. The data will be inserted again into the ffl as soon as they were replicated.
Generating raw.ffl file, I got an FrDump error on this file, seems that is bigger then the maximum file size.
Livio S.
[root@st5 rawdata]# /var/datastor/FrDump.exe -d -i V-850752240-21-Dec-2006-17h04-240F.gwf
-----------Parameters used--------------
Input Files: V-850752240-21-Dec-2006-17h04-240F.gwf
First frame : 0 0 (GPS=0.0)
Last frame : 2147483647 2147483647 (GPS=2147483647.0)
Debug level : 1
Dump all Frame info
----------------------------------------
V-850752240-21-Dec-2006-17h04-240F.gwf -1.000000 0 -1.000000 -1.000000
File(s) summary:
0 Frames in the requested time range (0 to 10000000000 (GPS))
Event : 0 Types of event in the file
Simulated Event : 0 Types of event in the file
[root@st5 rawdata]#
[root@st5 rawdata]# ls -la V-850752240-21-Dec-2006-17h04-240F.gwf
-rw-r--r-- 1 daq virgo 2147483647 Dec 21 17:08 V-850752240-21-Dec-2006-17h04-240F.gwf
[root@st5 rawdata]#