(untitled)
Test 2
Test 2
Another small change to allow for displaying links to other entries or links from comments to the original entry even in the test logbook. This change is to make life easier for those who want to test these features in the test logbook!
Series of small corrections to suppress warnings. A new behaviour has been added: if one clicks on the notebook or the task selection menu, the full page (i.e. the 3 frames) is refreshed.
a b c d e f g h j kl; dw2 gastw b c d e b c d e f g h j kl; dw2 gastw b c d e f g h j kl; dw2 gastw b c d e f g h j kl; dw2 gastw b c d e f g h j kl; dw2 gastw b c d e f g h j kl; dw2 gastw f g h j kl; dw2 gastv
I have introduced a new functionality: "Add attachment", which allows to upload a local file to the server and to insert in the comment a link to this file.
I have finally installed the 2002 version of the Cernlib on the
Alpha workstations.
I could not do it at first because the binaries required the
shared library "libshift.so".
But then I realized that I could just provide a fake "libshift"
library with empty functions. The source is in
/usr/local/cern/2002/bin/libshift.c and the library in
/usr/local/cern/2002/bin/libshift.so.
Note: I have put it in "bin" and not in "lib" in order to avoid
confusions with the standard Cern libraries.
But then the problem was to load this library at run-time.
As I did not want to play directly with the "LD_LIBRARY_PATH"
variable, I decided to make an alias for the three commands that
use this library: paw, pawX11 and paw++.
These aliases are a bit tricky because I wanted them to work
both if the LD_LIBRARY_PATH variable was already set or not.
This would be easy in ksh/bash, but is a nightmare in csh/tcsh.
So here is an example:
alias paw 'env LD_LIBRARY_PATH=`test $?LD_LIBRARY_PATH == 1 &&
echo ${LD_LIBRARY_PATH}:${CERN_BIN} || echo ${CERN_BIN}` \
${CERN_BIN}/paw'
These aliases have been put in /virgoApp/cshrc-virgo.
As I thought at first that actually Paw was not calling the rfio functions, I had provided empty versions of these calls.
But as a problem recently reported has shown, Paw does call the rfio functions.
As I have no documentation about these calls, and as I have found no information on the Cern Web site, I have made some
reverse engineering which has shown that these calls should be identical to the standard C library calls.
So I have managed to call the standard functions through my fake rfio functions.
This seems to work for all the calls (rfio_open, rfio_close,
rio_read, rfio_write).
It does not work for rfio_stat, but it is enough to return 0
from this call, so this is what I did.
Now, Paw is able at least to read a histogram from a file!
A test should be made to check if there are problems with writes.
Here are the final statistics for the E4 run. During this run, 271647 1-second frames were written. These frames are gathered in 906 files. The run started on Fri Jul 12 13:58:50 2002 UTC (710517543 GPS) and ended on Mon Jul 15 17:35:03 2002 UTC (710789716 GPS) for a total of 272174 secondes. 527 1-second frames (less than 10 minutes) have been lost due to problems with a network switch (whose firmware has been upgraded since). These losses are concentrated in a one-hour time window and in two files (see)
I have introduced a few changes in order to allow users to save their preferences as a bookmark. This meant controlling everything from the top URL (which is the URL that is bookmarked). So I had to change a few JavaScript functions in order to manipulate this top URL every time some parameter was changed. This meant also entering the logbook no more with a HTML page (index.html) but with a script (index.pl). Actually for technical reasons related to the Apache configuration I was obliged to go through the index.html page which then redirect towards the script index.pl.
Here is a shor summary of the problems that occurred in data taking during E4. Due to the two network problems and their consequences, a few frames are missing. * In the file /data/E4/rawdata/FR710697243.dat_14_Jul_2002_17:53:54 - all the frames between GPS 710697428 and 710697780 (included) are lost - all the frames between GPS 710697783 et 710697789 (included) are lost * In the file /data/E4/rawdata/FR710699403.dat_14_Jul_2002_18:30:03, - all the frames between GPS 710699440 and 710699441 (included) are lost - after the frame GPS 710699449, the frames GPS 710699447, 710699448 et 710699449 which had been written previously are written again - all the frames between GPS 710699462 and 710699565 are lost - all the frames between GPS 710699578 and 710699605 are lost * All the other files seem OK * On the whole, we have lost a little less than 10 minutes of data
Same entry as previous but in a readable format! ################################################################ 02/07/17 16:00-24:00 Shift Crew: J.-M. Teuler, P. Puppo, G. Losurdo, R. Barille Shift Leader: J.-M. Teuler ################################################################ - GPS: 710691834 (16:23:54) (time info taken from frames file) Switch off/on the Global control crate because the Quadrant signals disagree with AA signals from GC (should be just a multiplication) - GPS: 710691820 (16:23:40) Gx signals of WI tx and ty show a big oscillation which is not seen in seismic signals. It seems to be correlated with the previous operation - GPS: 710695716 (17:28:36) Recompile and download WI DSP file because DSP does not receive correctly the GC alignment correction. - GPS: 710696152 (17:35:52) Recompile and download PR DSP file (zCorr is 400 V!) - GPS: 710697540 (17:59:00) The Timing Server looked dead, but was still running on Rio21. Main Frame Builder crashed. We restarted it on Fbm. Then for a few seconds all the connections with the clients came red, then turned back to normal. But most processes on the detection bench were dead. We had to restart them one by one, including the Quadrants Readout processes We had also to restart from scratch the Global Control processes (with a reboot of the rio) Note: All the Cascina internal network seems to have been frozen for a few seconds at 17:57 and 18:31. * There are VMC error messages in the El Error Log at these moments). * on my PC I have a cron which does a rsh every minute and it failed at these moments. To be investigated. JMT - GPS: 710700654 (18:50:54) ISYS unlocks. - GPS: 710701223 We restart locking - GPS: 710702106 (19:15:06) Lock and auto-alignment OK - GPS: 710704111 CITF fully locked (OMC locked and control switched to B1). Pi25 aligned. - GPS: 710707094 (20:38) The input power is low (<4 volts). Regis has acted on the piezo of the automatic alignment of the refernce cavity. The MC power is 4.6 V. The MC length noise is below 10-2 for low frequencies. - GPS: 710713280 (22:21) Pi25 re-aligned
######################################################################## 02/07/17 16:00-24:00 Shift Crew: J.-M. Teuler, P. Puppo, G. Losurdo, R. Barille Shift Leader: J.-M. Teuler ######################################################################## - GPS: 710691834 (16:23:54) (time info taken from frames file) Switch off/on the Global control crate because the Quadrant signals disagree with AA signals from GC (should be just a multiplication) - GPS: 710691820 (16:23:40) Gx signals of WI tx and ty show a big oscillation which is not seen in seismic signals. It seems to be correlated with the previous operation - GPS: 710695716 (17:28:36) Recompile and download WI DSP file because DSP does not receive correctly the GC alignment correction. - GPS: 710696152 (17:35:52) Recompile and download PR DSP file (zCorr is 400 V!) - GPS: 710697540 (17:59:00) The Timing Server looked dead, but was still running on Rio21. Main Frame Builder crashed. We restarted it on Fbm. Then for a few seconds all the connections with the clients came red, then turned back to normal. But most processes on the detection bench were dead. We had to restart them one by one, including the Quadrants Readout processes We had also to restart from scratch the Global Control processes (with a reboot of the rio) Note: All the Cascina internal network seems to have been frozen for a few seconds at 17:57 and 18:31. * There are VMC error messages in the El Error Log at these moments). * on my PC I have a cron which does a rsh every minute and it failed at these moments. To be investigated. JMT - GPS: 710700654 (18:50:54) ISYS unlocks. - GPS: 710701223 We restart locking - GPS: 710702106 (19:15:06) Lock and auto-alignment OK - GPS: 710704111 CITF fully locked (OMC locked and control switched to B1). Pi25 aligned. - GPS: 710707094 (20:38) The input power is low (<4 volts). Regis has acted on the piezo of the automatic alignment of the refernce cavity. The MC power is 4.6 V. The MC length noise is below 10-2 for low frequencies. - GPS: 710713280 (22:21) Pi25 re-aligned - 22.40 The input power was decreasing (<4V). Regis has acted on the piezo tetax 0.02 mrd. The MC lemgth noise zErrGc decreases in the low frequency part and TraMC increase to 4.6V
Another follow-up toThis morning, more than one hour of frames was missed between 9:42 and 11:15. Here are the frames which have been written during this interval: FR710321501.dat_10_Jul_2002_09:32:00 FR710322474.dat_10_Jul_2002_09:47:45 FR710322829.dat_10_Jul_2002_09:53:40 FR710327078.dat_10_Jul_2002_11:04:42 FR710327378.dat_10_Jul_2002_11:09:30 FR710327730.dat_10_Jul_2002_11:15:22 (the interval between two files should be 5 minutes but we see that it is instead 15', 6', 66' and 6'). This problem seems strongly correlated with messages present in the logfile of Fbm (/virgoData/Fbm/FbmMain_Jul04,02-18:01:49.log). ............................................................... Jul09,02-16:11:52>WARNING- FbmSendFrame> consumer FbmMainDisk is late in reading shm (423965/425400)(1) Jul10,02-09:41:52>WARNING- FbmSendFrame> consumer FbmMainTrend is late in reading shm (488333/488400)(1) Jul10,02-09:42:42>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (488389/488450)(1) Jul10,02-10:09:22>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (489993/490050)(1) Jul10,02-10:10:12>WARNING- FbmSendFrame> consumer FbmMainTrend is late in reading shm (490039/490100)(1) Jul10,02-10:11:02>WARNING- FbmSendFrame> consumer FbmMainWrite is late in reading shm (490095/490150)(1) Jul10,02-10:14:22>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (490291/490350)(1) Jul10,02-10:17:42>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (490486/490550)(1) Jul10,02-10:21:02>WARNING- FbmSendFrame> consumer FbmMainWrite is late in reading shm (490687/490750)(1) Jul10,02-10:21:52>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (490741/490800)(1) Jul10,02-10:24:22>WARNING- FbmSendFrame> consumer FbmMainWrite is late in reading shm (490889/490950)(1) Jul10,02-10:30:12>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (491246/491300)(1) Jul10,02-10:37:43>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (491690/491750)(1) Jul10,02-10:41:03>WARNING- FbmSendFrame> consumer FbmMainWrite is late in reading shm (491886/491950)(1) Jul10,02-10:45:13>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (492142/492200)(1) Jul10,02-10:49:23>WARNING- FbmSendFrame> consumer FbmMainWrite is late in reading shm (492396/492450)(1) Jul10,02-10:49:23>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (492392/492450)(1) Jul10,02-10:52:43>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (492591/492650)(1) Jul10,02-10:58:33>WARNING- FbmSendFrame> consumer FbmMainWrite is late in reading shm (492941/493000)(1) Jul10,02-11:01:02>WARNING- FbmSendFrame> consumer FbmMainCsm1 is late in reading shm (493096/493150)(1) Jul10,02-11:04:23>WARNING- FbmSendFrame> consumer FbmMainWrite is late in reading shm (493285/493350)(1) ............................................................... Indeed, we see that 1. We have error messages during the interval in which we had problems 2. We do not have error messages between the moment in which the problem disappeared yesterday and the problem reappeared today.
This entry is a follow-up to the previous entryIt seems that the problem started yesterday towards 11h20. This can be seen just by watching the files present in /data/rawdata. I reported here just the files where gaps occur. All these files contain 300 frames, but the GPS time difference between two consecutive files is greater than 300. ................................................................. FR710155290.dat_08_Jul_2002_11:21:21 FR710155653.dat_08_Jul_2002_11:27:24 FR710156553.dat_08_Jul_2002_11:42:24 FR710156906.dat_08_Jul_2002_11:48:17 FR710157806.dat_08_Jul_2002_12:03:17 FR710158109.dat_08_Jul_2002_12:08:20 FR710166509.dat_08_Jul_2002_14:28:28 FR710166810.dat_08_Jul_2002_14:33:52 FR710167675.dat_08_Jul_2002_14:48:29 FR710169848.dat_08_Jul_2002_15:24:30 FR710173448.dat_08_Jul_2002_16:24:00 FR710174534.dat_08_Jul_2002_16:42:16 FR710183234.dat_08_Jul_2002_19:07:05 FR710184261.dat_08_Jul_2002_19:24:12 FR710239761.dat_09_Jul_2002_10:49:19 FR710240117.dat_09_Jul_2002_10:55:11 FR710240417.dat_09_Jul_2002_11:00:08 FR710240776.dat_09_Jul_2002_11:06:07 FR710241376.dat_09_Jul_2002_11:16:07 FR710241740.dat_09_Jul_2002_11:22:11 FR710242640.dat_09_Jul_2002_11:37:11 FR710243004.dat_09_Jul_2002_11:43:15 FR710244504.dat_09_Jul_2002_12:08:20 FR710244869.dat_09_Jul_2002_12:14:52 FR710250569.dat_09_Jul_2002_13:49:21 FR710250974.dat_09_Jul_2002_13:56:06 FR710251579.dat_09_Jul_2002_14:06:11 ................................................................ The number of missed frames goes from 1 up to 1873! As we suspect that the problem comes from the load on the Fbm machine, we agreed during the daily meeting to stop the FbmMainDisk consumer, which I did just now. We will check if this solves the problem.
Today, between 16:24 and 16:42, strange things happened in the FdWrite process which writes the current frames on disk. The file FR710173448.dat_08_Jul_2002_16:24:00 does contain 300 frames but it spans a period of 18 minutes instead of 5 minutes. If we analyze its contents, we see that 65 frames are missing from GPS 710173489 to 710173553 (step 1.000) 66 frames are missing from GPS 710173722 to 710173787 (step 1.000) 64 frames are missing from GPS 710173791 to 710173854 (step 1.000) 66 frames are missing from GPS 710173877 to 710173942 (step 1.000) 67 frames are missing from GPS 710173946 to 710174012 (step 1.000) 67 frames are missing from GPS 710174016 to 710174082 (step 1.000) 64 frames are missing from GPS 710174086 to 710174149 (step 1.000) 66 frames are missing from GPS 710174153 to 710174218 (step 1.000) 67 frames are missing from GPS 710174222 to 710174288 (step 1.000) 65 frames are missing from GPS 710174292 to 710174356 (step 1.000) 65 frames are missing from GPS 710174360 to 710174424 (step 1.000) 64 frames are missing from GPS 710174428 to 710174491 (step 1.000) A total of 786 frames on 300 frames were missing
Here is a summary of the run from the data storage point of view. The data is accessible as usual in the /data/E3/rawdata directory. The run has been on from the 16th of May 2002 at 15:57:18 till the 19th of May 2002 at 11:29:02. It has produced 810 frame files, each containing exactly 300 frames. So 243000 were produced. The bad new is that a few frames have been lost. This remains to be investigated but is probably due to the fact that during this run there was too high a load on the main frame builder. Here is a list of the GPS times of the lost frames (the dash indicates a range of lost frames): * File FR705689238.dat_17_May_2002_18:47:10 1 frame missed 705689239 * File FR705811339.dat_19_May_2002_04:42:19 76 frames missed 705811501-705811518 (18 frames) 705811524 705811529 705811532 705811538 705811543 705811546 705811549 705811552 705811554 705811556 705811560 705811563 705811570 705811572 705811575 705811579 705811599 705811604 705811607 705811609-705811611 (3 frames) 705811613 705811615 705811617 705811619-705811620 (2 frames) 705811622 705811624 705811626 705811643-705811651 (9 frames) 705811660 705811680-705811681 (2 frames) 705811683-705811684 (2 frames) 705811689 705811691 705811693 705811695 705811697 705811699 705811701 705811703 705811705-705811710 (6 frames) * File FR705811715.dat_19_May_2002_04:48:46 13 frames missed 705811731-705811734 (4 frames) 705811751-705811752 (2 frames) 705811759 705811761-705811762 (2 frames) 705811765 705811767 705811769 705811772 * File FR705812028.dat_19_May_2002_04:53:48 23 frames missed 705812295-705812310 (16 frames) 705812331-705812332 (2 frames) 705812334 705812338 705812342 705812347 705812349 Apart from the single frame lost on the 16th of May 2002 at 4pm, all the other frames have been lost around 4:45am on the 19th of May.