[SOLVED] Slackware 15 on Chromebox freezing occasionally and running out of memory
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 15 on Chromebox freezing occasionally and running out of memory
Hello...
I recently installed Slackware 15 on a converted Chromebox with updated firmware to coreboot (UEFI).
It's been 14 years since I looked at Slackware and it is at once timely yet timeless--a classic. I installed and found the installation the same after all these years!
Sadly, there are two big issues that I do not have an immediate answer for.
First, The desktop will freeze. I can move the mouse and the caps lock works but nothing on the desktop will work or function correctly. I have to do a hard reset. And even the hard reset would reboot the machine but fail to start X. It complained about not being able to find the server and to check server logs.
Secondly, I installed a Memory Usage widget on the desktop and the next time it froze, I noticed that memory usage consumed the whole 128GB of my hard drive! Needless to say, I had to reset again.
The reset usually fixes this but is there something I can do to fix this? Sounds like a memory leak of some sort to me.
Other distributions--notably, Arch and Debian--do not have these issues on the same machine.
Thanks for your help.
Last edited by garymaxwell; 09-17-2023 at 02:29 PM.
You said the 128 gig disk was full, this is why we need all the data. Notice the right hand columns.
Quote:
Local Storage: total: 119.24 GiB used: 23.18 GiB (19.4%)
Doesn't look like the disk is full. On closer examination, I see neither your root partition or /home are full.
To use quote tags, look at the top left of the Quick Reply box, you will see some icons. Click the right most one, it will insert a pair of tags. Insert any data between them. If you go to Advanced mode, there are more options for pasting different types of data.
My computer freezes. I have a memory widget on the desktop that shows what % of ram I am using at any given moment. Now, if my computer freezes and this widget shows 128gb used, obviously there is an issue whether I have 4GB or not. It's frozen but may indicate the problem.
I was asked to provide the output of several commands. Of course, it shows only a little bit of ram usage because I can only print the commands when the computer is NOT frozen. So, you're scratching your head wondering why it is only showing 1.6GB used? It shows that because I can only print the output when the system is running normally. This should be obvious.
When the system freezes and locks, the memory widget showed 128GB--probably in error but that's what it showed nonetheless. I can only move the cursor but click on nothing to activate.
You are puzzled by what you're seeing because I can't print a command from a frozen system. Then when you ask for the output of the command, it is when the system is under normal load and not frozen.
(Part of the understandable confusion here is that your problem report initially said "the whole 128GB of my hard drive" was consumed. So you're getting requests for more information about your hard drive(s), how they are partitioned etc. But now you're saying the memory widget you installed reports RAM utilization, which is a different resource entirely.)
Something I'd probably do if I ran into a hanging problem that looks like a memory leak is keep a "sudo dmesg -W" running in a window somewhere, being careful not to cover it up. The thought here is that the last few kernel messages might still be visible in the window after the system hangs. One of the useful (but also annoying) things the Linux kernel does when RAM is overconsumed is try to intelligently identify the process that ate most of it, at which point it kills the process and logs messages about what happened.
My computer freezes. I have a memory widget on the desktop that shows what % of ram I am using at any given moment. Now, if my computer freezes and this widget shows 128gb used, obviously there is an issue whether I have 4GB or not. It's frozen but may indicate the problem.
This I agree with.
You have something filling ram, not your HD.
I also understand you are running this on a chromebox. This may well be the source of your problems. Right now there is no clear indication this is a hardware failure of software failure. I also understand your frustration.
Chrome devices are usually stripped of as much as possible, that is the strategy the makers use to get them out the door at the lowest price possible. Your choice if you want to give up.
I have been running Linux for over 20 years. I have had chromeboxes running Linux for over 5 years. This is not a hardware issue. It is definitely a software issue as Arch and Debian run on these boxes just fine.
Close the thread, please.
Thanks
Last edited by garymaxwell; 09-19-2023 at 02:37 PM.
Reason: edit
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.