Le Thu, Mar 16, 2017 at 11:27:02AM +0900, Charles Plessy a écrit : > > Il me semble que chaque fois que le problème arrive, la machine a été stressée > sur ses ressources. Se pourrait-il qu'un processus essentiel pour établir des > nouvelles connections soit interrompu ou bloqué dans ces moment, et pas ou mal > relancé ensuite ? > > root@dgt-med:~# ps aux | grep root > root 1 0.0 0.0 28544 3360 ? Ss Feb07 0:30 /sbin/init > root 140 0.0 0.0 32968 2448 ? Ss Feb07 0:05 > /lib/systemd/systemd-journald > root 466 0.0 0.0 37096 168 ? Ss Feb07 0:04 > /sbin/rpcbind -w > root 501 0.0 0.0 27568 0 ? Ss Feb07 0:00 > /usr/sbin/rpc.idmapd > root 536 0.0 0.0 55184 1520 ? Ss Feb07 0:00 > /usr/sbin/sshd -D > root 550 0.2 0.0 65352 13036 ? Ssl Feb07 109:52 > /usr/bin/gitlab-ci-multi-runner run --working-directory > /var/lib/gitlab-runner --config /etc/gitlab-runner/config.toml --service > gitlab-runner --syslog --user gitlab-runner > root 614 0.0 0.0 28324 524 ? Ss Feb07 0:05 > /lib/systemd/systemd-logind > root 700 0.0 0.0 95260 352 ? Ss Feb07 1:07 > /usr/sbin/apache2 -k start > root 807 0.0 0.0 12652 1100 ? S Feb07 0:04 > /usr/sbin/syslogd --no-forward > root 1165 0.0 0.0 12664 12 tty1 Ss+ Feb07 0:00 /sbin/agetty > --noclear tty1 linux > root 1173 0.0 0.0 12664 12 ? Ss Feb07 0:00 /sbin/agetty > --noclear tty2 linux > root 1181 0.0 0.0 12664 12 tty3 Ss+ Feb07 0:00 /sbin/agetty > --noclear tty3 linux > root 1189 0.0 0.0 12664 12 tty4 Ss+ Feb07 0:00 /sbin/agetty > --noclear tty4 linux > root 1197 0.0 0.0 16880 12 ? Ss Feb07 0:00 /sbin/agetty > --noclear --keep-baud pts/3 115200 38400 9600 vt102 > root 1205 0.0 0.0 16880 12 ? Ss Feb07 0:00 /sbin/agetty > --noclear --keep-baud pts/2 115200 38400 9600 vt102 > root 1213 0.0 0.0 16880 12 pts/1 Ss+ Feb07 0:00 /sbin/agetty > --noclear --keep-baud pts/1 115200 38400 9600 vt102 > root 1221 0.0 0.0 16880 12 ? Ss Feb07 0:00 /sbin/agetty > --noclear --keep-baud pts/0 115200 38400 9600 vt102 > root 1229 0.0 0.0 16880 12 console Ss+ Feb07 0:00 /sbin/agetty > --noclear --keep-baud console 115200 38400 9600 vt102 > root 1566 0.0 0.0 95352 12 ? Ss Feb07 0:00 sshd: plessy > [priv] > root 1607 0.0 0.0 60108 12 pts/4 S Feb07 0:00 sudo su - > root 1608 0.0 0.0 61592 0 pts/4 S Feb07 0:00 su - > root 1609 0.0 0.0 26248 4296 pts/4 S Feb07 0:00 -su > root 1646 0.0 0.0 60108 12 pts/6 S Feb07 0:00 sudo su - > root 1647 0.0 0.0 61592 0 pts/6 S Feb07 0:00 su - > root 1648 0.0 0.0 26212 0 pts/6 S+ Feb07 0:00 -su > root 2754 0.0 0.0 21716 2504 pts/4 R+ 11:23 0:00 ps aux > root 2755 0.0 0.0 15344 1784 pts/4 S+ 11:23 0:00 grep root > root 16949 0.0 0.0 95352 12 ? Ss Mar06 0:00 sshd: plessy > [priv] > root 18795 0.0 0.0 95352 12 ? Ss Mar06 0:00 sshd: plessy > [priv] > root 22802 0.0 0.0 95352 20 ? Ss Mar07 0:00 sshd: plessy > [priv]
Je me réponds à moi-même: je ne vois rien après le redémarrage (ci-dessous) qui manquerait avant (ci-dessus), si ce n'est cron que j'avais tué. # ps aux | grep root root 1 0.0 0.0 28520 4748 ? Ss Mar16 0:00 /sbin/init root 140 0.0 0.0 32968 6380 ? Ss Mar16 0:00 /lib/systemd/systemd-journald root 469 0.0 0.0 37096 2692 ? Ss Mar16 0:00 /sbin/rpcbind -w root 501 0.0 0.0 27568 224 ? Ss Mar16 0:00 /usr/sbin/rpc.idmapd root 522 0.0 0.0 30120 2764 ? Ss Mar16 0:00 /usr/sbin/cron -f root 536 0.0 0.0 55184 5368 ? Ss Mar16 0:00 /usr/sbin/sshd -D root 550 0.1 0.0 65096 23468 ? Ssl Mar16 2:03 /usr/bin/gitlab-ci-multi-runner run --working-directory /var/lib/gitlab-runner --config /etc/gitlab-runner/config.toml --service gitlab-runner --syslog --user gitlab-runner root 590 0.0 0.0 28268 2856 ? Ss Mar16 0:00 /lib/systemd/systemd-logind root 740 0.0 0.0 12652 2012 ? S Mar16 0:00 /usr/sbin/syslogd --no-forward root 1058 0.0 0.0 12664 1872 ? Ss Mar16 0:00 /sbin/agetty --noclear tty1 linux root 1066 0.0 0.0 12664 1876 tty2 Ss+ Mar16 0:00 /sbin/agetty --noclear tty2 linux root 1074 0.0 0.0 12664 1852 tty3 Ss+ Mar16 0:00 /sbin/agetty --noclear tty3 linux root 1082 0.0 0.0 12664 1884 ? Ss Mar16 0:00 /sbin/agetty --noclear tty4 linux root 1095 0.0 0.0 16880 2220 pts/3 Ss+ Mar16 0:00 /sbin/agetty --noclear --keep-baud pts/3 115200 38400 9600 vt102 root 1103 0.0 0.0 16880 2200 ? Ss Mar16 0:00 /sbin/agetty --noclear --keep-baud pts/2 115200 38400 9600 vt102 root 1111 0.0 0.0 16880 2228 ? Ss Mar16 0:00 /sbin/agetty --noclear --keep-baud pts/1 115200 38400 9600 vt102 root 1119 0.0 0.0 16880 2224 pts/0 Ss+ Mar16 0:00 /sbin/agetty --noclear --keep-baud pts/0 115200 38400 9600 vt102 root 1127 0.0 0.0 16880 2220 console Ss+ Mar16 0:00 /sbin/agetty --noclear --keep-baud console 115200 38400 9600 vt102 root 1168 0.0 0.0 95248 8412 ? Ss Mar16 0:01 /usr/sbin/apache2 -k start root 2185 0.0 0.0 95352 6252 ? Ss 09:34 0:00 sshd: plessy [priv] root 2226 0.0 0.0 60108 4240 pts/4 S 09:34 0:00 sudo su - root 2227 0.0 0.0 61592 3704 pts/4 S 09:34 0:00 su - root 2228 0.0 0.0 26180 5420 pts/4 S 09:34 0:00 -su root 2237 0.0 0.0 21716 2444 pts/4 R+ 09:34 0:00 ps aux root 2238 0.0 0.0 15344 1760 pts/4 S+ 09:34 0:00 grep root Bonne journée, -- Charles

