Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-DAQ›Software Framework #51315

rtpc15 - cm issue

I found the PAY_Img_50Hz server  not running . Trying to restart it one have the following messages reported at the starting time of the server on the rtp15

2021-04-04-16h56m25-UTC>INFO...-Cm> Host cmns.virgo.infn.it unknown.
2021-04-04-16h56m25-UTC>INFO...-Cm> Impossible to reach the NameServer.
2021-04-04-16h56m25-UTC>INFO...-Cm> NameServer is not reachable.

while the cm connect command on  other hosts (ctrl17, rtpc13, ) run correctly  meaning that the Cm Nameserver is running and reachable .

One can logon the rtpc15 as virgorun.

I made the  cm restart_server command :

  • before the cm command,  the 2  others rtpc15 servers TproImgPAY50Hz and SMS_rtpc15 were displayed with  the cm connects | grep rtpc15 command
  • after they have disappeared  from the Cm NameServer list while the 2 servers are still running on the rtpc15 and they are reporting message on the VPM interface

I let the rtpc15 in this state , hoping that  someone from the Computing department can have a look at this situation

2 comments

masserot · 5 Apr 2021 · 06:38 #51316

in fact it is the same issue as the one reporter here

The imaging server and  the unbound servers were killed by the oom-killer  system  process

Apr  4 14:40:03 rtpc15 kernel: tuned invoked oom-killer: gfp_mask=0x24201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=0, order=0, oom_score_adj=0
Apr  4 14:40:03 rtpc15 kernel: [] oom_kill_process+0x215/0x3e0
Apr  4 14:40:04 rtpc15 kernel: TolmProcessor.e invoked oom-killer: gfp_mask=0x24201ca(GFP_HIGHUSER_MOVABLE|__GFP_COLD), nodemask=0, order=0, oom_score_adj=0
Apr  4 14:40:04 rtpc15 kernel: [] oom_kill_process+0x215/0x3e0
Apr  4 14:40:04 rtpc15 systemd: unbound.service: main process exited, code=killed, status=9/KILL

the rtpc15 has been rebooted and the processes restarted

cortese · 6 Apr 2021 · 10:05 #51324

The oom-killer is triggered by the physical memory filling which occurs quite often (see attached ganglia plot).

From the system logs the RAM exhaustion is caused by one of the Imaging.exe processes suggesting some kind of memory leak.

Contextually the killing is extended to the next process in the oom-killer's calculated priority list which happens to be the caching dns resolver (which actually consumes some tens of megabytes) and this causes the dns resolving failure which affects the Cm working.

The system configuration has been now updated to protect the unbound process from the oom-killer euristics and applied to all the rtpcs , so that the the Virgo  processes can be restarted via Cm after any memory exhaustion event.