ubuntu16.04系統資源緊缺時殺掉session,進程


Dec 12 12:17:01 bogon CRON[3308]: (root) CMD ( ? cd / && run-parts --report /etc/cron.hourly)

Dec 12 12:28:02 bogon systemd[1]: Stopping User Manager for UID 1000...

Dec 12 12:28:02 bogon systemd[873]: Reached target Shutdown.

Dec 12 12:28:02 bogon systemd[873]: Starting Exit the Session...

Dec 12 12:28:02 bogon systemd[873]: Stopped target Default.

Dec 12 12:28:02 bogon systemd[873]: Stopped target Basic System.

Dec 12 12:28:02 bogon systemd[873]: Stopped target Sockets.

Dec 12 12:28:02 bogon systemd[873]: Stopped target Timers.

Dec 12 12:28:02 bogon systemd[873]: Stopped target Paths.

Dec 12 12:28:02 bogon systemd[873]: Received SIGRTMIN+24 from PID 3489 (kill).

Dec 12 12:28:02 bogon systemd[1]: Stopped User Manager for UID 1000.

Dec 12 12:28:02 bogon systemd[1]: Removed slice User Slice of dev.

Dec 12 12:28:12 bogon systemd[1]: Created slice User Slice of dev.

Dec 12 12:28:12 bogon systemd[1]: Starting User Manager for UID 1000...

Dec 12 12:28:12 bogon systemd[1]: Started Session 6 of user dev.

Dec 12 12:28:12 bogon systemd[3497]: Reached target Paths.

Dec 12 12:28:12 bogon systemd[3497]: Reached target Timers.

Dec 12 12:28:12 bogon systemd[3497]: Reached target Sockets.

Dec 12 12:28:12 bogon systemd[3497]: Reached target Basic System.

Dec 12 12:28:12 bogon systemd[3497]: Reached target Default.

Dec 12 12:28:12 bogon systemd[3497]: Startup finished in 21ms.

Dec 12 12:28:12 bogon systemd[1]: Started User Manager for UID 1000.

Dec 12 12:28:13 bogon systemd[1]: Started Session 7 of user dev.

Dec 12 12:28:15 bogon systemd[1]: Started Session 8 of user dev.

Dec 12 12:31:08 bogon dhclient[789]: DHCPREQUEST of 192.168.134.134 on ens32 to 192.168.134.254 port 67 (xid=0x545717df)

Dec 12 12:31:08 bogon dhclient[789]: DHCPACK of 192.168.134.134 from 192.168.134.254

Dec 12 12:31:08 bogon dhclient[789]: bound to 192.168.134.134 -- renewal in 833 seconds.

 

[login]
KillUserProcesses=no

vim/etc/systemd/logind.confand reboot.

上面的問題很可能導致ISCSI 的連接變為CLEANUP_WAIT狀態(targetcli sessions detail此命令來查看連接狀態),導致ISCSI連接不可用。

此問題還需要驗證。

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM