On 2021-03-10 9:58 a.m., cagsm wrote:
Hi there all hello list dwellers,
Anyone experience same erratics every now and then with high long uptime opensuse machines with gui usage?
Is this a know behavior of opensuse, or am I doing it wrong? If the stuff is normal, can one resort to some replace-in-use-files in a different manner, that might avoid such behavior of the high level apps?
After reboots and restarts of the various possible layers of the opensuse system, stuff comes back working normally.
[SNIP] I leave my GUI on with Thunderbird and a few hundred Firefox tables active for weeks at a time. In theory. I also have terminal windows running vmstat -SM -a 15 which is very useful. it shows me the developing trend of swap. Now I also have 'swapiness' set to '10'. Go Google to find out the why/wherefor/arguments about that. After a LOT of visiting new web pages and closing them the swap goes up to about the 4000 mark and the load factor to the 20s and higher and the machine becomes unresponsive until logout, manually purging swap or rebooting to force purge swap. It seems that the way firefox interacts with swap and caching is not good. Either that or the swap is fragmented rather than self contracting stack-like entity that frees up as the web pages get closed. Sometimes, just sometimes, I can swapon -s # to not just how much swapon /dev/vgmain/SWAP2 # which I have previously set up swapoff /dev/SWAP and watch the VMSTAT screen process that until it stabilizes, then swapon -s # to see if its contracted swapon /dev/SWAP swapoff /dev/vgmain/SWAP2 swapon -s and that should have got rid of any fragmentation of swap and brought it down. Well, it works for me, typically bringing the VMSTAT report down from around 5000 to under 1000 But the reality is that there is something broken with swap. maybe it can be turned out with a superior knowledge of the virtual memory settings, but that's beyond me. -- “Reality is so complex, we must move away from dogma, whether it’s conspiracy theories or free-market,” -- James Glattfelder. http://jth.ch/jbg