You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OL8: SSH User Session and Process Killed “systemd-logind: Session of user <user> is idle, stopping"

Applies To: 

Oracle Cloud Infrastructure - Version N/A and later 

Linux x86-64 

Symptoms 

On Oracle Linux 8, SSH sessions of users and their processes are killed automatically after some time, with following systemd-logind error, 

--/var/log/messages-- 
Jan 23 06:09:09 localhost systemd-logind[264909]: Session "17" of user "opc" is idle, stopping. 
Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265126 (sshd) with signal SIGTERM. 
Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265129 (sshd) with signal SIGTERM. 
Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265130 (bash) with signal SIGTERM. 
Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265237 (script.sh) with signal SIGTERM. 
Jan 23 06:09:09 localhost systemd[1]: session-17.scope: Killing process 265405 (sleep) with signal SIGTERM 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!