Icinga2 main command is slow when executed over ssh connection in LXC container. Can I help with debugging this issue?
Other commands are unaffected by this issue, affected even when running the command in existing ssh session.
Normal run in our deployments:
time ssh <redacted_user>@icinga "sudo icinga2 daemon -C" 1>/dev/null real 0m1.613s user 0m0.015s sys 0m0.019s
# SSH Command to LXC container real 7m38,839s user 0m0,012s sys 0m0,005s
System information: Platform: Ubuntu Platform version: 18.04.3 LTS (Bionic Beaver) Kernel: Linux Kernel version: 5.3.8-300.fc31.x86_64 Architecture: x86_64 Build information: Compiler: GNU 8.3.0 Build host: runner-LTrJQZ9N-project-298-concurrent-0
Fedora 31 Linux ondrejkolin 5.3.8-300.fc31.x86_64 #1 SMP Tue Oct 29 14:28:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Hope I can help debugging with what is going on there.