系统:Ubuntu 14.04.1 LTS
Git 2.1.3版
有很多sshd进程,如下所示
git 31845 31674 0 17:05 ? 00:00:00 sshd: git@notty
git 31897 31829 0 15:34 ? 00:00:00 sshd: git@notty
git 31910 31744 0 15:12 ? 00:00:00 sshd: git@notty
git 32090 31968 0 16:48 ? 00:00:00 sshd: git@notty
git 32160 31974 0 16:15 ? 00:00:00 sshd: git@notty
git 32165 32014 0 16:48 ? 00:00:00 sshd: git@notty
git 32253 32043 0 15:55 ? 00:00:00 sshd: git@notty
git 32279 32118 0 16:15 ? 00:00:00 sshd: git@notty
git 32484 32317 0 17:05 ? 00:00:00 sshd: git@notty
git 32488 32260 0 15:13 ? 00:00:00 sshd: git@notty
git 32530 32403 0 15:34 ? 00:00:00 sshd: git@notty
git 32539 32380 0 16:49 ? 00:00:00 sshd: git@notty
git 32541 32482 0 17:05 ? 00:00:00 sshd: git@notty
git 32570 32499 0 15:34 ? 00:00:00 sshd: git@notty
git 32588 32487 0 16:15 ? 00:00:00 sshd: git@notty
git 32612 32566 0 17:05 ? 00:00:00 sshd: git@notty
git 32735 32672 0 15:55 ? 00:00:00 sshd: git@notty
git 32748 32644 0 16:15 ? 00:00:00 sshd: git@notty
那些sshd进程的父进程如下所示
root 32672 9010 0 15:55 ? 00:00:00 sshd: git [priv]
git 6206 32672 0 15:55 ? 00:00:00 sshd: git@notty
更重要的是disappear
之后2 hours
,这是它的strace,在它关闭之前,它什么都不做
root@gitserver:/var/log# strace -p 6206
Process 6206 attached
select(12, [3 5], [], NULL, NULL) = 1 (in [3])
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(3, 0x7fffc95039c0, 16384) = -1 ECONNRESET (Connection reset by peer)
exit_group(255) = ?
+++ exited with 255 +++
我的gitlab发生了什么,以及为什么那些sshd precesses即使没有做任何事情也不会关闭,并且在2 hours
之后关闭了?
思