Re: Ubuntu - Logs out or Crashes
On 8/3/24 10:52, Craig Sanders via luv-main wrote: 16GB isn't a lot these days. My guess is you're most likely running out of RAM. The best solution is to add more RAM to the system if possible. That is not possible with this model. The strange thing is that this behavior is recent. Running applications concurrently has never been an issue. Unless there is something bloaty about an update this issue should never happenbut. Adding more swap space (a swap file will do if you can't repartition the drive) can reduce the risk of out-of-memory crashes due to temporary short-term spikes in usage (perhaps from things like fossilize_replay). Note that adding more swap is a cheap, easy bandaid - it's worth doing but it doesn't actually solve the problem. You won't want to be using a system that's constantly swapping stuff in and out of RAM. I started to take notice of the swap file using: swapon -s I rebooted and kept on refreshing the terminal command whilst I opened tabs and applications in between. What I noticed was that the system chewed away at the swap to the tune of 2GB (its Max). Iv'e increased the swap to 4GB: webgen@webgen-01:~$ sudo swapon -s Filename Type Size Used Priority /swapfile file 4194300 0 -2 I am currently running: - Terminal - Thunderbird - GIMP - Visual Code - System Monitor GUI - Firefox - Chrome - Steam ...I will see how this goes * Thanks P * I don't work like this I'm just opening whatever to see if I can have it consume some swap. Commands to change swap size: sudo swapoff -a sudo rm /swapfile sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile There was already an entry in fstab so I just rebooted after that. 10 minutes later: webgen@webgen-01:~$ sudo swapon -s Filename Type Size Used Priority /swapfile file 4194300 256 -2 ___ luv-main mailing list -- luv-main@luv.asn.au To unsubscribe send an email to luv-main-le...@luv.asn.au
Re: Ubuntu - Logs out or Crashes
On Tue, Mar 05, 2024 at 05:16:50AM +1000, Piers Rowan wrote: > > > Lenovo Lenovo Yoga C740-14IML (Touch screen) > > > 16.0 GiB / Intel® Core™ i7-10510U CPU @ 1.80GHz × 8 > >[...] > > I just had a crash and managed to 'top' as it was going down. There was a > process fossilize_replay which is compiling shaders for a game (power went > >[...] > > I haven't changed anything and normally run all my applications > concurrently: 2x code editors, Chrome, TB, console, Virtual Box and desktop > apps (writer/calc). 16GB isn't a lot these days. My guess is you're most likely running out of RAM. The best solution is to add more RAM to the system if possible. Adding more swap space (a swap file will do if you can't repartition the drive) can reduce the risk of out-of-memory crashes due to temporary short-term spikes in usage (perhaps from things like fossilize_replay). Note that adding more swap is a cheap, easy bandaid - it's worth doing but it doesn't actually solve the problem. You won't want to be using a system that's constantly swapping stuff in and out of RAM. Also, try to reduce memory usage. Start by not running everything at once if you don't actually need to. e.g. don't run steam and your VM and Chrome at the same time (i.e. if you're about to play a game, quit from everything not needed by steam or that game), and don't leave steam running when you're not about to play something. Maybe reduce the amount of RAM allocated to your VM(s). Chrome is a huge memory hog. Try not to have too many windows/tabs open at once. Chrome's memory usage can be reduced by using an extension like The Marvellous Suspender, which puts tabs to sleep when they've been idle for a while. https://chromewebstore.google.com/detail/the-marvellous-suspender/noogafoofpebimajpfpamcfhoaifemoa If one or more of your code editors is Atom or some other chrome / electron based app then it will also have huge RAM requirements (partly from being based on chrome, part from being a shitty javascript app). Replace it with a native app. Maybe learn to use vi or emacs. Ditto for stuff like the Discord app if you use that, which is also just chrome bundled up with some javascript pretending to be a real app. craig -- craig sanders ___ luv-main mailing list -- luv-main@luv.asn.au To unsubscribe send an email to luv-main-le...@luv.asn.au
Re: Ubuntu - Logs out or Crashes [Crash Report]
This was in a crash report (I couldn't copy the whole thing). virtualboxvm crashed with SIGABRT in qmessagelogger::fatal() I'm going to remove VB and start again perhaps that is the underlying culprit. P ___ luv-main mailing list -- luv-main@luv.asn.au To unsubscribe send an email to luv-main-le...@luv.asn.au