Lurker News

Comments (169) 37 threads

Show all comments

Showing thread 4 of 37

frik2 replies#
Great idea, will be helpful.

Now, I only need a similar tool that kills the process with the highest CPU and MEMORY load with a short cut. Reasons: Sometimes a process leaks memory and fills up 16GB RAM and opening a new process like taskmgr is impossible to severe paging-IO. Sometimes a full screen application crash and spawns a modal crash dialog behind the full screen window so only taskmgr and keyboard usage works (as the mouse is hidden by the crashed full screen app).

Hello711 reply#
Magic SysRq-F
arebours1 reply#
Wooow, thanks a lot! I'm going to test it now.

Edit: Not working as expected :(
Run python script that allocated a couple of gigabytes of RAM effectively causing my machine to freeze. And OOM killer figured out the best thing it can do is this:

  [2889118.406439] Out of memory: Kill process 11878 (SpotifyHelper) score 302 or sacrifice child
  [2889118.406442] Killed process 11878 (SpotifyHelper)
sjolsen#
If it's a specific program that's doing this, maybe you can wrap it with a script that executes ulimit.