Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-06-2019, 10:04 PM   #16
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: GalliumOS on Chrombook
Posts: 259

Rep: Reputation: 48

How many tabs are you keeping open? There is a setting in FF to unload the memory of tabs that are not in use. When you go back to the tab the page will reload, so if that is not a problem you can enable it in about:config. Search for browser.tabs.unloadOnLowMemory and change to true.
Old 11-06-2019, 10:23 PM   #17
Senior Member
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,275

Rep: Reputation: 673Reputation: 673Reputation: 673Reputation: 673Reputation: 673Reputation: 673

Can you post the way you define your tmpfs? What are you using tmpfs for?

Note that tmpfs might use the swap itself:

Here's an interesting discussion you might find useful:
Old 11-06-2019, 10:24 PM   #18
Registered: May 2013
Location: Massachusetts
Distribution: Slackware, OpenBSD
Posts: 154

Rep: Reputation: Disabled
One other thing, 16 GiB is an awful lot of swap. The guideline to make swap twice RAM isn't recommended now (or anytime recently). See the FAQ posted to the USENET group for details. I'd like swap to get used on my system (still not used at vm.swappiness = 100, darn it) but thinking of a program not being killed by the OOM killer until 16 GiB of disk output happens is a nightmare. You running a simulation you want not to die no matter what? If the swap use is for real and not an artifact of reserving memory for tmpfs and zram, maybe you want to have this malignant tumor zapped after it writes 1 GiB worth. Maybe even less than that.

Last edited by thirdm; 11-06-2019 at 10:28 PM. Reason: usual inability to write a gramatically correct sentence.
Old 11-06-2019, 10:42 PM   #19
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,214

Rep: Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952Reputation: 2952
I see a lot of conjecture, but no hard data. If the OP can prove their assertions, maybe we'll have some idea of where to look.
As for zram and tmpfs mentioned earlier, they don't reserve RAM even if some refer to them as ramdisk - conceptually they are close, but the implementation isn't. If they are defined but unused the footprint is minimal. But again we have no hard data.
free -m
df -hT
swapon -s
cat /proc/meminfo
Maybe go get ps_mem and run that too.
Old 11-10-2019, 09:44 AM   #20
Senior Member
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,797

Original Poster
Rep: Reputation: Disabled
Thanks for all of the advice, it seems that reducing the cache options more thoroughly as suggested in the earlier comments mitigated this issue well enough. Its been 4 days since and my system has only swapped 1.26 MB according to htop where most of it happened during compiling software. Either my system is being coincidentally cooperative or this is solved well enough for me.

I'll mark this thread as solved or updated it accordingly sometime later after much more thorough testing.

Also ';false' does indeed subtly break some sites that I use like so I am not using it.
Old 11-10-2019, 09:54 PM   #21
Registered: May 2010
Location: Stumptown
Distribution: Slackware -current 32bit!
Posts: 540

Rep: Reputation: 203Reputation: 203Reputation: 203
I was running into the same problems with mozilla-firefox-68.2.0esr.
Tried out Vivaldi... after just a couple days so far, zero swap usage, and even better functionality IMO.
I might be sold! Mozilla is not who they used to be. The Vivaldi team seems much like the Mozilla
of yore. YMMV, but for the first time after trying out virtually every web browser available, I'm
finally impressed And I still get to run Privacy Badger weeeee!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OpenBSD: I swap Firefox 2 for Firefox 3 (and don't melt silicon in the process) LXer Syndicated Linux News 0 04-17-2009 03:10 PM
Need Help Increasing Swap by creating a swap file froggo Red Hat 3 06-13-2006 09:04 AM
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 01:57 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration