Hi all, sorry if I post this the wrong place.

I have a laptop running mint with qtile which sometimes freezes. To the point where nothing responds and I need to kill it. I’ve tried: sudo journalctl But I don’t get any information which helps me.

Can anyone help to debug it?

  • blacksnow@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    17 hours ago

    I am assuming the problem is your ram runs out of memory. And Linux kernel’s OOM killer is too slow and doesn’t kill processes earlier. You have two options to try:

    • install earlyoom to kill processes earlier so the laptop doesn’t freeze
    • add zram to virtually double your ram

    or you can use both options to get the best of you laptop

    • vortexal@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      6 hours ago

      This is my first time hearing about zram. I tried looking into it myself but there’s still some things I could find answers to. Are there any downsides to using zram, or is it something that I can set and forget about? If I were to be using compression tools, like 7zip, would I be able to use a higher dictionary size than I normally can, or would zram cause problems outside of potentially slower compression speeds?

      Edit: I think I’m just going to test this myself. I’ve been reading more about zram and alternatives and it seems like there’s conflicting information.