On 09/06/2019 08:16 AM, James Knott wrote:
Can you look at top and see if one proc has a virtual memory requirement that is off-scale high?
I have top running now. Earlier this morning, I was up to about 3.9 G swap. I then started shutting down Firefox, Seamonkey and Chromium. That dropped swap down to about 1.4 G. However, given that I'm not even using all real memory, why is swap used at all? Memory use is currently about 10 G of 16.
I ran across this somewhere in the last week or two but don't recall where or the exact details (either on https://unix.stackexchange.com/ or https://superuser.stackexchange.com/), but the gist of the problem (similar to yours) was that a single app had swappiness settings that it was controlling on its own, apart from /proc/sys/vm/swappiness. IIRC it was on an app that was doing background downloading at a reduced rate and apparently felt that the relatively light I/O would be fine to buffer and write to swap. I wish I had committed more to memory, but that Question/Answer had nothing to do with what I was there for, so I just recall the gist of it and recalling in passing thinking "That was sure a stupid way to do things...." I cannot even recall the app, though something tells me it was an IDE or something doing background download of updates similar to what BITS does for the dark side. Maybe somebody else has more info on behavior like this and can chime in. Because while Mozilla and Chromium and just flat ridiculous memory and CPU hogs, if you have killed those apps and reduced swap to 1.4G, you still have a 1.4G problem... -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org