Here's the problem - or what I perceive to be a problem.
When a user logs in - say Tom - everything is fine, provided Tom is the first one to log in after a reboot. If Tom logs out completely, then Sam logs in after with his own ID, it starts lagging a little and resource usage is looking high. So I open a terminal and run
ps aux
. There, I can see that not all processes running for Tom were stopped when he logged out.So I have to kill them myself. Then, when Sam logs out, the same thing happens. Someone else can log in, we see that there are still things running under "Sam" so we kill them, wash, rinse, repeat. After one such instance, I saved the terminal output to a file which is posted at https://pastebin.com/qXcmxrkL if you want to see what I'm talking about. I should note however that lines like
root 52988 0.0 0.0 0 0 ? I 03:24 0:00 [kworker/7:1-events]
were removed from the output, having been considered not relevant.Is this is by design to facilitate faster logins, or a bug? Am I even in the right place for this issue?
I'm happy to provide any additional information you feel could help - just ask.