Las tareas cron de ejecución lenta se atascan en el contenedor

Las tareas cron de ejecución lenta se atascan en el contenedor

Es un contenedor de Debian 9 que se ejecuta en un host Debian 9.

De vez en cuando el contenedor se detenía. Suele ser una tarea lenta como apticron o munin. Mi última prueba fue un contenedor inactivo en un servidor inactivo y volvió a ocurrir lo mismo. Más de 300 procesos Cron.

El anfitrión hace frente a todas estas tareas y más, es justo dentro de un contenedor donde comienzan estos problemas.

¿Algún consejo o sugerencia? Gracias

root       816  0.0  0.0  54812  3860 ?        Ss   Aug28   0:00 [lxcmonitor] /srv/lxc test-01
root       908  0.0  0.0  28236  4428 ?        Ss   Aug28   0:00  \_ /sbin/init
root      1266  0.0  0.0  32968  3956 ?        Ss   Aug28   0:00      \_ /lib/systemd/systemd-journald
root      1445  0.0  0.0  37080  2700 ?        Ss   Aug28   0:00      \_ /sbin/rpcbind -w
statd     1466  0.0  0.0  37280  2908 ?        Ss   Aug28   0:00      \_ /sbin/rpc.statd
root      1491  0.0  0.0  27568   228 ?        Ss   Aug28   0:00      \_ /usr/sbin/rpc.idmapd
root      1496  0.0  0.0  27504  2768 ?        Ss   Aug28   0:00      \_ /usr/sbin/cron -f
root      9455  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     10293  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     11147  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     12047  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     12881  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     13746  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     14592  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     15407  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     15425  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     16286  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     17115  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     17958  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     18838  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     19645  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     19671  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     20522  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     21377  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     22211  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     23052  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     23900  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f
root     24743  0.0  0.0  52788  2800 ?        S    Aug28   0:00      |   \_ /usr/sbin/CRON -f

Simplemente sucedió de nuevo.https://i.stack.imgur.com/M2Wr7.png

Intenté utilizar SSH para alojar

packet_write_wait: Connection to 192.168.0.16 port 22: Broken pipe

SSH al contenedor funcionó. Reinicie el contenedor, haga ping al contenedor hasta que responda. SSH al contenedor todavía funciona y ahora SSH al host funciona bien. Él. Esto me está volviendo loco.

Más gráficas de munin

información relacionada