And I put this question, doubt or whatever in newbies, since, although I have been in derivatives for a few years, I have been in debian for a few weeks and here I have discovered that, I only know that I know nothing...
As I comment, I come from a derivative, I am giving it exactly the same use as the derivative, it is a desktop PC with 16 GB ram, I am noticing that it has a higher ram consumption, today I have reached 100%.
I am one of those who never shuts down the PC, I always sleep it (not hibernate), I installed Debian 11.5 Stable (non-free) and followed the wonderful thread on how to install Debian (fantastic thread to have everything installed!)
As I mentioned, I use it the same way, I'm one of those who open several browsers and many, many open tabs, I don't turn off the PC, I put it to sleep.
Today I saw it get to 80% usage, then 90% and when it got to 100% ram usage it killed a process (one of the browsers), ok.
I have it configured so that after 20 minutes of inactivity, the pc is suspended, it has been suspended, and when I pressed a key on the keyboard to resume, it resumed but... it killed all the processes and I could no longer turn off or restart from the menu, I had to, from konsole, shutdown -r now, so it restarted.
In the file /var/log/kern.log, at the mentioned time, I find these lines, but I don't see anything strange (and even if there was, I wouldn't know how to interpret it):
Code: Select all
Sep 27 14:09:43 PC-Ariadna kernel: [168613.264085] PM: suspend entry (deep)
Sep 27 14:09:43 PC-Ariadna kernel: [168613.269376] Filesystems sync: 0.005 seconds
Sep 27 14:19:25 PC-Ariadna kernel: [168613.638816] Freezing user space processes ... (elapsed 0.002 seconds) done.
Sep 27 14:19:25 PC-Ariadna kernel: [168613.641103] OOM killer disabled.
Sep 27 14:19:25 PC-Ariadna kernel: [168613.641104] Freezing remaining freezable tasks ... (elapsed 6.624 seconds) done.
I must indicate:
In the installation, I indicated to use the entire disk and partition automatically, I have an nvme hard drive and it created a partition with 1 gb of ram.
I have hibernation enabled (in my previous derivatives I didn't have it and I didn't add swap, I partitioned myself).
And as a result of this I have several doubts...
I let swap?
I think suspend is better than hibernate.
And the high ram usage...I still can't confirm it 100% that it uses more, but it never reached 80-90 and 100% before...
I know it's a bit abstract post, but today I felt like a 200% newbie...
Thank you and greetings.