This morning we found the DAQ in a curious state:
- All Slow frame builders are waiting for TiIrq
- All Main frame builders built frame without TiServer
information, this meams without GPS time stamping information
.
This problem appears since December,18 around 19:54.
.
We checks the TiServer and it was in the following state:
- It was pending in a Cm transaction with a User's Timing
server
- As we use CmMessageSend for this transaction, the TiSever
was unable to send any more TiIrq CmMessage...
.
So we restart the TiServer at 8h12:
- Each Slow frame builder succeded to reconnect to the TiServer
- FbmDet, FbmSusp and FbmMoni don't succed to reconnect.
We restarted it.
.
After this restart, the DAQ run correctly.
The configuration file /virgoData/Fbf/c17.cfg has been modified.
The ADC channel Sc_WI_RM_CoilL has been removed temporaly to resolv a problem when some consumers read it (i.e. crash of application due to the "floating-point exception").
This morning I have replaced CPU "rio17A" on crate C17:
old RIO806x 400MHZ/32MB by RIO806x 400MHz/64MB
The configuration file /virgoData/Fbf/c17.cfg have been modified: Control Part
- Sc_PR at 10KHz
- Sc_BS at 10KHz
- Sc_NI at 10KHz
- Sc_WI at 10KHz
- Sc_OB at 50Hz
Damping Part
- Sa_MC at 50Hz
- Sa_IB at 50Hz
- Sa_PR at 50Hz
- Sa_BS at 50Hz
- Sa_WI at 50Hz
- Sa_NI at 50Hz
- Sa_OB at 50Hz
The FbmMain has crashed and restarted.
This problem is due to segmentation violation (e.g. fault at CmMessageCheckItemType()),
the core file has been saved to coreFbmMain20010927 and messages printed on xterm before the crash has been saved to
coreFbmMain20010927.txt
Due to the Cm nameServer restart (e.g. take version v7r12 - 25/09/01),
today at 13H00 the Gx servers are restarted: GxSrio42B:PR
GxSrio44B:BS
GxSrio46B:WI
GxSrio48B:NI
Only GxSrio40B:IB and GxSrio64B:MC still run.
-------------------- Suspension ---------------------
These servers are restarted: FbmSusp
Fbf17a
FbsSusp
-------------------- Monitoring ---------------------
These servers are restarted: FbmMoni
Fbf39
Fbf61
FbsMoni
This morning FbmMainOp and FbmMainUser have crashed and restarted.
This crash is due to the segmentation violation into the function CmConnectTestPort.
The core file has been saved to coreFdCsm20010926.
are not response to any Cm messages, due to an editor still alive (i.e. nedit ClBenches.cfg)
called by the Cl client that is exited or crashed.
The socket to this Cl client has not closed by the system and still open while the editors existe !!!!
The termination of the editor application are killed all servers pending on Cl client socket (=> rio25a crashed).
I have restarted all servers (see above) and also GxS50, GxS25, GxS72 and GxS82.
I added into the file /virgoData/DAQ/daq-lib.sh in daqMain-sh function this entry: rexec-sh fbm 'FbmMain50' '/virgoData/Fbm/' cyan 115x10+560+160 ;
and also into the file /virgoData/DAQ/ClDaqMain.cfg these entries:
... CL_SERVER "Main50" "FbmMain50" "FbmMain50 Consumer"
...
/* FbmMain50 server action definitions */
CL_MENU "Main50" "Start" "exec rsh DAQ4 -nl USER '(cd FBMDIR; FDCSM_new csmmain50.cfg)'"
CL_MENU "Main50" "Exit" "cm send -type FdStop"
CL_MENU "Main50" "Config" "EDIT FBMDIR/csmmain50.cfg"
CL_MENU "Main50" "Status" "cm send -type FdStatus -text statusType -int statusLevel"
The application FbmDetCsm1 has stopped and restarted.
The applications FbmDetUsers and FbmDetShift are crashed and restarted,
the core file has been saved to coreFbmDetShift20010926.
The main Frame builder (i.e. FbmMain) has crashed and restarted, the core file has been saved to coreFbmMain20010926,
the some messages printed on xterm before the crash are saved into the file coreFbmMain20010926.txt.
The application FbmSuspCsm1 has stopped and restarted.
The applications FbmSuspUsers and FbmSuspShift are crashed and restarted,
the respectively core file has been saved to coreFbmSuspUsers20010926 and coreFbmSuspShift20010926.
NOTE:
Some bug fixe are resolves into the local Cm version (e.g. ~bellac/Virgo/Cm/v7r12).
--> especially pb. of the NameServer restart and the reconnection of clients from the servers.
Reloaded the consumers FbmSuspShift, FbmMainShift, FbmMoniShift,
FbmMoniWrite, FbmDetShift and FbmMainCsm1. Due to the restart of new version of Cm NameServer (i.e. v7r12) - all static outputs restarted after 16H30 today -> cannot received infos from upper stage (To be monitor...).
This bug seem to be not fixed in this version of Cm.
The FbmMain has crashed this night and this morning (no core file).
----- Due to fatal error -----
CmMessageDoReceive> bad tail
FbmMain: 29 Jun 2001 (09:18:17): FATAL in FdCmGetFrameHandler: frame received is NULL
Restart FbMmain and all consumers. Receive sometimes Frames from FbmDetCsm1 to lates.
Note: In the workstation daq4 the total of CPU load for FbmMain and all consumers takes up to 95% ???
The TiServer has stopped and restarted for changing in c11v4.cfg the maximum dynamic connections (e.g. NCLT 10).
Problems for FbmSusp, FbmMoni and FbmDet to receive "TiServer information".
These Local Main Frame Builder and all consumers are restarted.
The FbsSusp, FbsMoni and FbsDetect are restarted.
The Fbf17a crashed due to "not enough memory space", the CPU rio17a has been rebooted to free all allocated kernel memory space steel unfreed.
Restart the Fbf17a - command line is:
/virgoDev/Fbf/v5r2p1/RIO806X/FbfServer c17.cfg
Restart the Fbf17-PR - command line is:
/virgoDev/Fbf/v5r2p1/RIO806X/FbfServer c17PR.cfg
Start FdWrite "v3r5p2" connected to the FbmMainCsm2.
Data stored on ax14 in /scratch/shared/DAQ/FbmMain/lastdata
command line is:
/vigoDev/Fd/v3r5p2/OFS1/FdWrite -fdwrite_main "Sa* Sc*" 600 -1
Restarted at 16H48 the Fbf17-PR (v5r2p1), that is killed by O.S. unknown problems.
The Master TIMING system was restarted at 17H00 due to the server has reached system limite of open files descriptor (e.g. 64) that cause problems for new connection (Cm> accept error.).
The FbmMoni and FbmMain was restarted in v4r6 and use same configuration file.
New consumers for Moni, Susp, Det and Main have started and tested. they use new version "v3r5p2" of Fd (i.e. that resolves previous bug - with datadisplay).
It 's preferable to use these consumers:
- FbmSuspCsm4 (max dynamic connections = 4, static connection to "Susp0")
- FbmMoniCsm4 (max dynamic connections = 4, static connection to "Moni0")
- FbmDetCsm4 (max dynamic connections = 4, static connection to "Det0")
- FbmMainCsm3 (max dynamic connections = 6, static connection to "MainDaqShift" and "MainComShift")
Yesterday the FbmDet crahed (Memory error...). The servers FbmDet and consumers are restarted.
/*------------ Message printed by FbmDet ----------------------*/
CmMessageDoReceive> bad header (no magic)
CmMessageReceiveHandler> Error on connect Fbf39
FbmDet: framePiece 435 run1828 (0.006MB) from FbsDetect : first/last=357/356 : 19 Apr 2001 (17:37:45)
CmMessageDoReceive> cannot extend for message
Cm> Trying to read beyond data space.
FbmDet: 19 Apr 2001 (17:37:46): FATAL in FdCmGetFrameHandler: frame piece received from Fbf16a is NULL.
name=(null) run=0 frame=0 gtimeS=0 gtimeN=0 trig=0 nBytes=0
CmMessageDoReceive> bad header (no magic)
CmMessageReceiveHandler> Error on connect Fbf16a
CmMessageDoReceive> cannot extend for message
Cm> Trying to read beyond data space.
FbmDet: 19 Apr 2001 (17:37:46): FATAL in FdCmGetFrameHandler: frame piece received from Fbf16b is NULL.
name=(null) run=0 frame=0 gtimeS=0 gtimeN=0 trig=0 nBytes=0
CmMessageDoReceive> bad header (no magic)
CmMessageReceiveHandler> Error on connect Fbf16b
CmMessageDoReceive> cannot extend for message
Cm> Trying to read beyond data space.
FbmDet: 19 Apr 2001 (17:37:46): FATAL in FdCmGetFrameHandler: frame piece received from Fbf39 is NULL.
name=(null) run=0 frame=0 gtimeS=0 gtimeN=0 trig=0 nBytes=0
CmMessageDoReceive> bad header (no magic)
CmMessageReceiveHandler> Error on connect Fbf39
CmMessageDoReceive> cannot extend for message
Cm> Trying to read beyond data space.
CmMessage>>> Warning : Int found instead of Text
FbmDet: 19 Apr 2001 (17:37:46): FATAL in FdCmGetFrameHandler: frame piece received from FbsDetect is NULL.
name=(null) run=0 frame=0 gtimeS=0 gtimeN=0 trig=0 nBytes=0
CmMessageDoReceive> bad header (no magic)
CmMessageReceiveHandler> Error on connect FbsDetect
CmMessageDoReceive> cannot extend for message
Cm> Trying to read beyond data space.
FbmDet: 19 Apr 2001 (17:37:47): FATAL in FdCmGetFrameHandler: frame piece received from Fbf16a is NULL.
name=(null) run=0 frame=0 gtimeS=0 gtimeN=0 trig=0 nBytes=0
Cm> Memory error.
Cm> Memory error.
/*-------------------------------------------------------------*/
Change names of Sms servers for Suspension in the configuration file fbssusp.cfg.
Sa_ServerDSP_rio42A replaced by Sa_ServerSM_PR
Sa_ServerDSP_rio44A replaced by Sa_ServerSM_BS
Sa_ServerDSP_rio46A replaced by Sa_ServerSM_WI
Sa_ServerDSP_rio48A replaced by Sa_ServerSM_NI
The GxS46WI and FbsSusp have crashed, these servers are restarted.
The Master TIMING server has crashed the CPU rio11a (see previous messages) the same bug appear...
I stopped and restarted the GxS46WI server with modified configuration file c46v3.cfg (i.e. the ZONE and TELEM are commented).
The FbmMain & FbmMoni crashed due to the segmentation violation.
The FbmMain & FbmMoni and consumers are retstarted from line command.
Pb with Cl Client for DAQSusp (i.e. big latency time to refresh display).
The Cl client has been stoped and restarted.
The Master TIMING has crashed the rio11a (see previous message).
The system message is (panic: bus error in supervisor mode: process 0).
Restart the Master Timing (/virgoDev/TiM/v4r0) with configuration file c11v4.cfg.
/*-------------------------------------------------------------*/
Yesterday the rio42B is crashed. Reseted the TIMING board and Camera board No 29 on crate 42B. Restarted the GxSPR.
/*-------------------------------------------------------------*/
Today the Master TIMING board crashed the rio11a (~ 17/04/01 at 23H06). Restart the Master TIMING (/virgoDev/TiM/v4r0).
The Fbf16b (i.e. DOL 70 80 29) has not enough memory (16 Mb), same error is produced (see previous message).
>>> Fatal ...: FbPtDataUnpack: FrAdcDataNewF allocation error...