Vlastimil Babka wrote on 20/08/15 17:46:
On 08/19/2015 05:44 PM, Arthur Marsh wrote:
Hi, I've found that the Linus' git head kernel has had some unwelcome
behaviour where chromium browser would exhaust all swap space in the
course of a few hours. The behaviour appeared before the release of
4.2.0-rc7.
Do you have any more details about the memory/swap usage? Is it really
that chromium process(es) itself eats more memory and starts swapping,
or that something else (a graphics driver?) eats kernel memory, and
chromium as one of the biggest processes is driven to swap by that? Can
you provide e.g. top output with good/bad kernels?
Also what does /proc/meminfo and /proc/zoneinfo look like when it's
swapping?
To see which processes use swap, you can try [1] :
for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{
print ""}' $file; done | sort -k 2 -n -r | less
Thanks
[1] http://www.cyberciti.biz/faq/linux-which-process-is-using-swap/
This does not happen with kernel 4.2.0-rc6.
Sorry for the delay in replying. I had to give an extended run under
kernel 4.2.0-rc6 to obtain comparative results. Both kernels' config
files are attached.
The applications running are the same both times, mainly iceweasel
38.1.0esr-3 and chromium 44.0.2403.107-1.
With the rc7+ kernel but not the rc6 kernel, chromium eventually gets
into a state of consuming lots of swap.
I was able to capture the output requested when running a 4.2.0-rc7+
kernel (Linus' git head as of around 05:00 UTC 19 August 2015) just
before swap was exhausted, forcing me to do a control-alt-delete
shutdown and waiting ages. The kernel config for the rc7+ is attached
The comparison good kernel is from Debian:
Linux am64 4.2.0-rc6-amd64 #1 SMP Debian 4.2~rc6-1~exp1 (2015-08-12)
x86_64 GNU/Linux