Virgo Logbook
UTC--:--:--
GPS-
Reports
DAQ›DAQ #30731

Crashes of MoniServer due to malloc failed

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.

1 comment

verkindt · 4 Apr 2012 · 14:15 #30734
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.