Cannot access ssh

I have a problem when it suddenly os I can not ssh access , but if in a ping running normally . we finally restart and return to normal . whether there are needs in the patch ? The following logs :

Feb 20 17:38:14 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:38:14 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:39:29 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:39:29 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:40:44 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:40:44 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:40:58 cmsapp6 init: cannot fork, retry..
Feb 20 17:41:33 cmsapp6 last message repeated 7 times
Feb 20 17:41:58 cmsapp6 last message repeated 5 times
Feb 20 17:41:59 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:41:59 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:42:03 cmsapp6 init: cannot fork, retry..
Feb 20 17:42:38 cmsapp6 last message repeated 7 times
Feb 20 17:42:58 cmsapp6 last message repeated 4 times
Feb 20 17:43:14 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:43:14 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:44:29 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:44:29 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:44:52 cmsapp6 init: cannot fork, retry..
Feb 20 17:45:27 cmsapp6 last message repeated 7 times
Feb 20 17:45:42 cmsapp6 last message repeated 3 times
Feb 20 17:45:44 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:45:44 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:45:47 cmsapp6 init: cannot fork, retry..
Feb 20 17:46:12 cmsapp6 last message repeated 5 times
Feb 20 17:46:13 cmsapp6 udevd[2019]: udev_event_run: fork of child failed: Resource temporarily unavailable
Feb 20 17:46:15 cmsapp6 udevd[2019]: udev_event_run: fork of child failed: Resource temporarily unavailable
Feb 20 17:46:17 cmsapp6 init: cannot fork, retry..
Feb 20 17:46:52 cmsapp6 last message repeated 7 times
Feb 20 17:46:57 cmsapp6 init: cannot fork, retry..
Feb 20 17:46:59 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:46:59 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:47:02 cmsapp6 init: cannot fork, retry..
Feb 20 17:47:37 cmsapp6 last message repeated 7 times
Feb 20 17:48:12 cmsapp6 last message repeated 7 times
Feb 20 17:48:14 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:48:14 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:48:17 cmsapp6 init: cannot fork, retry..
Feb 20 17:48:42 cmsapp6 last message repeated 5 times
Feb 20 17:48:44 cmsapp6 udevd[2019]: udev_event_run: fork of child failed: Resource temporarily unavailable
Feb 20 17:48:46 cmsapp6 udevd[2019]: udev_event_run: fork of child failed: Resource temporarily unavailable
Feb 20 17:48:47 cmsapp6 init: cannot fork, retry..
Feb 20 17:49:22 cmsapp6 last message repeated 7 times
Feb 20 17:49:27 cmsapp6 init: cannot fork, retry..
Feb 20 17:49:29 cmsapp6 automount[7000]: expire_proc: expire thread create for /misc failed
Feb 20 17:49:29 cmsapp6 automount[7000]: expire_proc: expire thread create for /net failed
Feb 20 17:49:32 cmsapp6 init: cannot fork, retry..
Feb 20 17:50:07 cmsapp6 last message repeated 7 times
Feb 20 17:50:27 cmsapp6 last message repeated 4 times
Feb 20 17:50:30 cmsapp6 gnome-power-manager: (root) GNOME interactive logout because the power button has been pressed
Feb 20 17:50:32 cmsapp6 init: cannot fork, retry..
Feb 20 17:50:34 cmsapp6 gnome-power-manager: (root) GNOME interactive logout because the power button has been pressed
Feb 20 17:50:37 cmsapp6 init: cannot fork, retry..

first don't use google translate
second it seems you don't have enough memory:

Feb 20 17:50:32 cmsapp6 init: cannot fork, retry..
1 Like

apologize, if my words so bad.
and by the error at code, so i no needed patch to resolve?

imo you need more RAM in your box or analyze what process has memleaks.

or you just ran out of PIDs....max PID number is specified by kernel parameter kernel.pid_max

---------- Post updated at 03:32 AM ---------- Previous update was at 03:22 AM ----------

if there would be not enough memory, then system is swapping and even when swap is full then OOM killer would kill some processes..should be visible in dnesg.....in some cases it could be also memory, but in this particular case I would go for not enough PIDs