Jails on ZFS yielding 100% load on gstat

2018-08-13 Thread Marco Steinbach
Hi there. % zpool list NAMESIZE ALLOC FREE EXPANDSZ FRAGCAP DEDUP HEALTH ALTROOT zroot 5.41T 670G 4.75T -13%12% 1.00x ONLINE - % uname -a FreeBSD XXX 11.1-STABLE FreeBSD 11.1-STABLE #0 r322984 [...] amd64 I'm running multiple jails on ZFS, using ezjail to

FreeBSD blocks on BOCHS serial port

2018-08-13 Thread Alexander Lochmann
Hi folks! We are doing some automatic experiments using FreeBSD running in a virtual machine. To control the experiment from the outside, we use serial ports to communicate with an userspace program. The communication via serial does work with QEMU. However, it does not work with BOCHS which is ou

Re: Jails on ZFS yielding 100% load on gstat

2018-08-13 Thread Alan Somers
Jails probably aren't the source of your problem. You need to find out what process or processes are responsible for all this activity. Since the write bandwidth is fairly low, you might have a process that's sync(2)ing or fsync(2)ing. too often. "gstat -o" will show if that's the case. You can

Re: Jails on ZFS yielding 100% load on gstat

2018-08-13 Thread Mike Tancsa
On 8/12/2018 2:50 PM, Marco Steinbach wrote: > > These loads lead to the system suffering from very much delayed > responses to even the basic task of echoing characters entered on the > console, consequently rendering the services offered unusable to the > users because of the delays. Do you ha

Re: All the memory eaten away by ZFS 'solaris' malloc - on 11.2-R amd64

2018-08-13 Thread Mark Martinec
2018-08-04 21:47, Mark Johnston wrote: Sorry, I missed that message. Given that information, it would be useful to see the output of the following script instead: # dtrace -c "zpool list -Hp" -x temporal=off -n ' dtmalloc::solaris:malloc /pid == $target/{@allocs[stac

Re: FreeBSD blocks on BOCHS serial port

2018-08-13 Thread Eugene Grosbein
13.08.2018 20:52, Alexander Lochmann wrote: > Hi folks! > > We are doing some automatic experiments using FreeBSD running in a > virtual machine. > To control the experiment from the outside, we use serial ports to > communicate with an userspace program. > The communication via serial does work

Re: All the memory eaten away by ZFS 'solaris' malloc - on 11.1-R amd64

2018-08-13 Thread Volodymyr Kostyrko
23.07.18 18:12, Mark Martinec wrote: After upgrading an older AMD host from FreeBSD 10.3 to 11.1-RELEASE-p11 (amd64), ZFS is gradually eating up all memory, so that it crashes every few days when the memory is completely exhausted (after swapping heavily for a couple of hours). I've been in the

Re: FreeBSD blocks on BOCHS serial port

2018-08-13 Thread Alexander Lochmann
On 13.08.2018 21:36, Eugene Grosbein wrote: > 13.08.2018 20:52, Alexander Lochmann wrote: > >> Hi folks! >> >> We are doing some automatic experiments using FreeBSD running in a >> virtual machine. >> To control the experiment from the outside, we use serial ports to >> communicate with an users

Re: FreeBSD blocks on BOCHS serial port

2018-08-13 Thread Eugene Grosbein
14.08.2018 3:15, Alexander Lochmann wrote: >> You should not rely on defaults and make sure you disable modem control/CD >> either explicitly (using stty(1) etc.) or implicitly by switching to >> /dev/cuau0 >> instead of /dev/ttyu0. Flow control settings should match too, for both sides >> of vir

Re: All the memory eaten away by ZFS 'solaris' malloc - on 11.1-R amd64

2018-08-13 Thread Mark Martinec
2018-08-13 21:48, Volodymyr Kostyrko wrote: I've been in the same situation. ZFS, only pool, no ZFS errors. I think the problem is rather between swapping and ZFS ARC. This host has different load, sometimes it needs more active memory, somtimes less... This means that active zone can expand and

Re: FreeBSD blocks on BOCHS serial port

2018-08-13 Thread Kurt Jaeger
Hi! > 14.08.2018 3:15, Alexander Lochmann wrote: > > >> You should not rely on defaults and make sure you disable modem control/CD > >> either explicitly (using stty(1) etc.) or implicitly by switching to > >> /dev/cuau0 > >> instead of /dev/ttyu0. Flow control settings should match too, for bot