68
submitted 1 day ago* (last edited 1 day ago) by Interstellar_1@lemmy.blahaj.zone to c/linux@lemmy.ml

I'm using an XPS 13 9350 with 16GB of RAM and the Intel Graphics 540. I am using Fedora KDE spin. When I am using computer, either randomly or when I start a program, my computer will slow down and quickly fully freeze. In this state, the only thing I can do is shut it down. Is there any way to make it so that a program is killed, or something else that doesn't fully stop my system?

you are viewing a single comment's thread
view the rest of the comments
[-] kutsyk_alexander@lemmy.world 13 points 1 day ago
[-] Limonene@lemmy.world 7 points 1 day ago

Yeah, try pressing Alt+[PrintScreen, F] to invoke the OOM killer. It kills the memory-hoggingest process, usually the web browser.

Fedora documentation says this sysrq functionality may be disabled by default. You can enable it once by typing at a terminal: echo 1 | sudo tee /proc/sys/kernel/sysrq or permanently with echo 'kernel.sysrq = 1' | sudo tee /etc/sysctl.d/90-sysrq.conf

If it turns out that memory overconsumption is the problem, you can sometimes fix this lag by disabling swap. 16GB is easily enough RAM to do all normal desktop things.

[-] toynbee@lemmy.world 1 points 3 hours ago

When I was but a lad, I learned the phrase "raising skinny elephants is utterly boring." At my first job where I had a messenger (and thus could set a status message), I set this to display.

I was chastised because the leadership didn't know what it meant, but thought it might be offensive. I don't know whom they thought I might offend; one of the many skinny elephants on the team?

I was too nervous to set it again for several subsequent jobs, but eventually I got in a pretty technical one and displayed the message there. Not only did no one express offense, but I actually taught it to someone who put it to use when a mission critical server died.

[-] mvirts@lemmy.world 1 points 1 day ago* (last edited 1 day ago)

Even if the sysrq key is disabled, most systems automatically invoke the oom killer. If your work is super important, just let your system sit for a day or two the problem may resolve itself.

If you don't get any logs about why it locked up I recommend enabling kernel message logging to disk.

[-] Link@rentadrunk.org 7 points 1 day ago

Some distros disable these by default such as Arch.

this post was submitted on 27 Dec 2024
68 points (97.2% liked)

Linux

48740 readers
1188 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS