Re: [lxc-users] Strange freezes with btrfs backend

2016-12-06 Thread Pierce Ng
On Sat, Dec 03, 2016 at 06:48:29PM +0900, Tomasz Chmielewski wrote: > Don't use a file-based image for a different filesystem - your > performance will be poor, and you risk loosing the whole filesystem > if something wrong happens to your main fs. Thanks Tomasz for your tips. And thanks all for

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-04 Thread Fajar A. Nugraha
On Sat, Dec 3, 2016 at 7:56 PM, Ron Kelley wrote: > My 0.02 > > We have been using btrfs in production for more than a year on other > projects and about 6mos with LXD. It has been rock solid. I have multiple > LXD servers each with >20 containers. We have a separate btrfs filesystem > (with co

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Ron Kelley
My 0.02 We have been using btrfs in production for more than a year on other projects and about 6mos with LXD. It has been rock solid. I have multiple LXD servers each with >20 containers. We have a separate btrfs filesystem (with compression enabled) to store the LXD containers. I take nigh

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Fajar A. Nugraha
On Sat, Dec 3, 2016 at 6:01 PM, Sergiusz Pawlowicz wrote: > > You'd need to set arc to be as small as possible: > > # cat /etc/modprobe.d/zfs-arc-max.conf > > options zfs zfs_arc_max=67108865 > > What is a sense of using ZFS if you don't use its cache? Non sense. it > - excellent integration wit

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Sergiusz Pawlowicz
> You'd need to set arc to be as small as possible: > # cat /etc/modprobe.d/zfs-arc-max.conf > options zfs zfs_arc_max=67108865 What is a sense of using ZFS if you don't use its cache? Non sense. it will work slower and less reliable than ext4. S. ___ l

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Fajar A. Nugraha
On Sat, Dec 3, 2016 at 11:30 AM, Pierce Ng wrote: > Hi all, > > I'm running LXD on a Ubuntu 16.04 VPS with ~1GB RAM. My setup uses a disk > image > file, running on the default ext4 base filesystem, as the btrfs backend. > The > server runs four containers, of which only one is on the high side o

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Tomasz Chmielewski
On 2016-12-03 18:31, Pierce Ng wrote: On Sat, Dec 03, 2016 at 11:49:02AM +0700, Sergiusz Pawlowicz wrote: With 1GB of memory is is not recommended to use ZFS not BTRFS, especially via a disk image file. Just forget about it. The same VPS - as same as a VPS can be :-) - ran LXC on Ubuntu 14.04

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Pierce Ng
On Sat, Dec 03, 2016 at 11:49:02AM +0700, Sergiusz Pawlowicz wrote: > With 1GB of memory is is not recommended to use ZFS not BTRFS, > especially via a disk image file. Just forget about it. The same VPS - as same as a VPS can be :-) - ran LXC on Ubuntu 14.04 fine. For my work load perhaps the dir

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-02 Thread Sergiusz Pawlowicz
On Sat, Dec 3, 2016 at 12:05 PM, Ingo Baab wrote: > Hi Sergiusz, > > I am using a vm running ubuntu 16.04 with ~6GB Ram utilizing ZFS as > loopback running multiple containers > (multiple wordpress containers and one mailserver container.. What do you > suggest as minimum Ram > requirement for us

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-02 Thread Ingo Baab
Hi Sergiusz, I am using a vm running ubuntu 16.04 with ~6GB Ram utilizing ZFS as loopback running multiple containers (multiple wordpress containers and one mailserver container.. What do you suggest as minimum Ram requirement for using ZFS? Thank you Ingo Am 03.12.2016 um 05:49 schrieb Se

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-02 Thread Sergiusz Pawlowicz
With 1GB of memory is is not recommended to use ZFS not BTRFS, especially via a disk image file. Just forget about it. S. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] Strange freezes with btrfs backend

2016-12-02 Thread Pierce Ng
Hi all, I'm running LXD on a Ubuntu 16.04 VPS with ~1GB RAM. My setup uses a disk image file, running on the default ext4 base filesystem, as the btrfs backend. The server runs four containers, of which only one is on the high side of lightly loaded. I'm getting random freezes such that all conta