Virgo Logbook
UTC--:--:--
GPS-
Reports
IT infrastructure›Network #70064

vim frozen??

Does anyone else had issues with vim this morning? The plots seems to be not updated since ~2am tonight (see attached figure taken just now from the summary page: https://vim-online.virgo-gw.eu/?config=1). Other pages are also affected
I'm wondering if this is something general or if it's just on my side.

3 comments

viret · 5 Nov 2026 · 09:20 #70065
Seems to be fixed now...
dibiase · 5 Nov 2026 · 10:50 #70067

  Thank you for reporting this. The VIM web server itself was working fine: the problem was that the plots for the new day were not produced between about 01:00 and 09:00 CET today, so the summary pages looked frozen. At about 09:00 the 
  production resumed and since then the plots are refreshed every few minutes. Please reload the page (Ctrl+F5); if you still see yesterday's date, press "Today" in the calendar.
 
  A few plots still have no version for today (for example the wind trend, the glitch period plot and the drops list), and we are checking them.
  
  On the machine that produces the plots (olserver115) we found that the memory is repeatedly exhausted, and the kernel kills some of the plot processes. We have reduced the memory pressure and added fine-grained monitoring and alarms, 
  and we will check tonight's day change. We have not yet proven that this is the cause of the gap of this morning, so we will keep investigating.
  

dibiase · 9 Nov 2026 · 08:42 #70090

This morning (2026-11-09) olserver115 hung because it ran out of memory.

What happened
- At 06:13-06:14 CET the kernel OOM killer killed 10 root.exe processes. After that the machine still answered ping and port 22, but sshd gave no banner and monitoring lost the host.
- The normal reboot from Xen Orchestra stayed pending. A forced reboot at 07:59 restored access at 08:00. Md.exe was restarted by hand at 08:01, so VIM plot production was stopped or partial from about 06:13 to 08:01.

Cause
- At the first OOM about 100 root.exe processes were using about 46.8 GB of the 48 GB of RAM (about 480 MB each). Swap (3 GB) was exhausted. The peak lasts only seconds, so the 6-minute Ganglia averages do not show it.
- Md.exe limits the number of vimstart.sh scripts running in parallel (MD_NRUNMAX 7), but each script starts all its root.exe in the background (cal about 72, inf 33, env 28, isc 25, vacuum/sqz/daq 22, optchar 19, tcs 18, sum 15). Seven scripts together mean 70-100 simultaneous root.exe, which fill the RAM. The limit of 7 does not limit root.exe.

History
- The system logs start on 11 Oct: 412 kills in 30 days (294 root.exe), with at least one OOM on 25 of 30 days. Since 12 Oct the pattern is always the same: 70-100 root.exe and about 46 GB in use at the OOM.
- The workload has not grown: about 85-88k Md commands per month since April, at most 8-9 in parallel, average load 10-11 for a year, MdVim.cfg unchanged since 2024-06-15.
- The rise started around 12-13 Oct (about 18 OOM in the week 4-11 Oct, 117 in the following week). I could not identify the trigger: no scripts or configs changed on 5-20 Oct; cal/vimstart.sh was modified on 15 Oct and again on 6 Nov. Higher memory per root.exe because of growing input data is possible but not verifiable.
- OOM kills silently drop plots, so the problem only became visible on 5 Nov (plots missing from 01:00 to 09:00) and today.

Already done
- 5 Nov: journal reduced (about 2 GB of swap freed), noisy SELinux rule fixed, host added to Prometheus/Grafana with memory and swap alarms.
- 9 Nov: rescue sshd on port 2222 (root only, from two operator hosts) for access when port 22 does not answer.

Proposals (to agree with the producer owner)
1. Limit concurrent root.exe (per-script cap, or run them in groups, or lower MD_NRUNMAX).
2. Memory cap for user virgorun (about 40 GB) via a systemd slice, so the kernel does not kill random processes.
3. Stagger the heavy cal scripts and the start at day change.
4. Check what was changed in cal/vimstart.sh on 15 Oct and 6 Nov.