On 03/02/2016 05:09, Thierry Thomas wrote:> Le mar 2 f?v 16 ? 8:55:46 +0100, Hajimu UMEMOTO <ume at mahoroba.org> > ?crivait : > >> Hi, > > Hello, > >> I'm disturbed by a frequent hangup of my 10-STABLE boxes since this >> year. It seems occur during running the periodic daily scripts. >> I've narrowed which commit causes this problem. It seems r292895 >> causes it. I see many `Resource temporarily unavailable' message just >> before hangup occurs. >> Any idea? > > Not exactly the same problem, but it is also occuring during periodic > daily: > <https://lists.freebsd.org/pipermail/freebsd-stable/2015-December/083810.html> > > and also: > <https://lists.freebsd.org/pipermail/freebsd-stable/2015-December/083807.html> > > I'm also experiencing problems during daily periodic on a -STABLE box, > but no kernel panics: the machine is frozen, and no login is possible, I > have to hard reboot it. > > For the time being, I have commented out almost every entry in > periodic.conf, and I'm trying to find the culprit. > > Regards, >Any chance you get high wired allocations? Sometimes several times in a day I see the wired amount shown in top rise to over 6GB (of 8GB) bringing the system to a crawl. When wired gets over 7GB the system rarely recovers. I am now running 10.2-STABLE r292646 on corei7 with 8GB and ZFS FS This is my everyday desktop running xfce and a variety of gui apps. I use a small script to allocate several GB of ram that gives the pressure needed to start releasing some wired, provided I can get in early enough. Not sure how to gather any helpful info for this. -- FreeBSD - the place to B...Software Developing Shane Ambler
Le mer 3 f?v 16 ? 8:53:13 +0100, Shane Ambler <FreeBSD at ShaneWare.Biz> ?crivait?:> Any chance you get high wired allocations? > > Sometimes several times in a day I see the wired amount shown in top > rise to over 6GB (of 8GB) bringing the system to a crawl. When wired > gets over 7GB the system rarely recovers. > > I am now running 10.2-STABLE r292646 on corei7 with 8GB and ZFS FS > This is my everyday desktop running xfce and a variety of gui apps. > > I use a small script to allocate several GB of ram that gives the > pressure needed to start releasing some wired, provided I can get in > early enough. > > Not sure how to gather any helpful info for this.I don't think so: this box has 16 GB of RAM, and everything is usually fine, even during high activity (e.g. poudriere build). The problem occurs only at daily periodic time. It's not repetable on demand, that's why I've not yet identified the task... -- Th. Thomas. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 949 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20160203/141d36f0/attachment.sig>
On 2016-Feb-03 18:23:13 +1030, Shane Ambler <FreeBSD at ShaneWare.Biz> wrote:>Any chance you get high wired allocations?A high wired allocation is normal for ZFS - ARC shows up as "wired" memory.>Sometimes several times in a day I see the wired amount shown in top >rise to over 6GB (of 8GB) bringing the system to a crawl. When wired >gets over 7GB the system rarely recovers.The ARC limit defaults to 1GB less than physical RAM so 6GB wired on an 8GB system isn't unexpected (my home system currently has 30GB wired out of 32GB). If this is causing problems for your workload, it sounds like you may need to explicitly reduce vfs.zfs.arc_max (note that this is a soft limit). You might like to install sysutils/zfs-stats and do some ZFS tunung. -- Peter Jeremy -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 949 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20160204/abc75f0b/attachment.sig>