News for hackers. Stuff that matters.
Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by hinoki on Saturday March 13, 2021 @11:57PM (#26452911)
> Note that managing resources is much harder when swap is in the picture, because you can get the resident memory of a process, but not the swap usage of a process.

Why can you not get swap usage? It’s in smaps, right?

Re:Systemd 248 RC3: systemd-oomd is now considered fully sup... by aidenn0 on Sunday March 14, 2021 @02:42PM (#26457655)
Oh smaps is newer than my knowledge. I did since more research and your still can't limit over RSS+swap with ulimit though. There's a chance you could with cgroups though as there's lots of features there.