[Bug 1635228] Re: Increase number of loopback devices

2016-10-25 Thread Thomas Voß
I just stumbled across an issue when exercising snapd in 14.04 under qemu. Sideloading the same snap a few times leads to the following error message: Oct 25 21:37:21 autopkgtest mount[21178]: mount: could not find any free loop device Might be unrelated, but thought that I would just note down

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Gustavo Niemeyer
About where the notion came from, I've heard about this potential problem pretty much since we considered using the current mount-based model of snaps. Sounds like there's a wide belief that there is such a limit, perhaps backed by actual reality: http://askubuntu.com/questions/499131/how-to-use-m

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Colin Ian King
Perhaps you are referring to some other limit, such as mount namespace limitations? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1635228 Title: Increase number of loopback devices To manage notifi

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Gustavo Niemeyer
Thank you very much for the test. I heard this morning that the limit was 256 based on an error on a test yesterday, but it must be something else then. I'll go back and ask for more details. ** Changed in: linux (Ubuntu) Status: Triaged => Invalid -- You received this bug notification b

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Colin Ian King
It is worth checking to see if it is a limit on some devices which may be running kernels that we may not be directly supporting. So any hard facts will be useful to see why this has been reported as a hard set limit. Let us know the specifics and we can dig into that. -- You received this bug n

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Colin Ian King
I'm curious to know where the notion of a hard-coded limit came from? Is there an example where this is happening or is it just an incorrect postulation? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Colin Ian King
Correction, that attached test ran it to 8192 loop devices, but I did run it with 64K. Note it takes *ages* for this test to purge the loop backed devices. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Colin Ian King
We can have thousands of loop-backed devices (if memory is sufficient). The attached test was run and managed to create 65536 loop-backed devices. ** Attachment added: "test number of loop-backs" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1635228/+attachment/4764313/+files/loopy.c -

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Brad Figg
** Changed in: linux (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1635228 Title: Increase number of loopback devices To manage notifications about this bug g