Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 07:08:11 +0000
From:      James Morris <jamesmorris8@outlook.com>
To:        freebsd-fs <freebsd-fs@FreeBSD.org>
Subject:   Unresponsive system, ZFS ARK forcing proceses into swap
Message-ID:  <BM1PR01MB02092F7FEF86A6CF73DC47898CB40@BM1PR01MB0209.INDPRD01.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help
Hi,

I have a freebsd 10.3 zfs server running with multiple zfs jails.

I run samba, syslog-ng, a web server and a few assorted other services in e=
ach jail.

The machine is not used much, but I have noticed that I can not ssh into th=
e base system or reach a web server that I run on the base system after a f=
ew days of running.

On connecting via the console I notice that arc is taking up a bulk of the =
ram and it seems processes like sshd and nginx are frozen.

Also the swap space is utilised and the ARC is taking up the majority of my=
 RAM.

When I try and run an interactive command like top, less, ... It loads, but=
 the system takes exceedingly long 10min+ to close these.

The same symptoms are true when I try to use ^c to quit a running process l=
ike ping.

Any help triaging this issue will be much appreciated.

I believe that the ZFS ARC has something to do with it, but I do not want t=
o turn it off altogether.

Is there a way to make sure ZFS does not push my other processes (sshd, ngi=
nx, ...) into swap where they are unresponsive.

Output of top while in this state is below

last pid: 31465;  load averages:  0.43,  0.56,  0.54  up 1+08:18:48    13:5=
9:44
319 processes: 1 running, 308 sleeping, 1 stopped, 3 zombie, 6 waiting

Mem: 82M Active, 336K Inact, 15G Wired, 76M Cache, 12M Free
ARC: 12G Total, 3503M MFU, 26M MRU, 13M Anon, 22M Header, 8572M Other
Swap: 2048M Total, 1064M Used, 984M Free, 51% Inuse

Thanks in advance,

James=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BM1PR01MB02092F7FEF86A6CF73DC47898CB40>