[lxc-users] Increase temp space /tmp

Fajar A. Nugraha list at fajar.net
Sat Mar 18 09:24:07 UTC 2017


On Sat, Mar 18, 2017 at 10:29 AM, Saint Michael <venefax at gmail.com> wrote:

> My application could no use more space per thread on the temporary file
> system. These are privileged containers and I need that they have access to
> the full resources of the parent, which are essentially unlimited.
> How can I make sure that the container has no constraints? My  config now
> is
>
>
Did you check what /tmp inside the container show?

lxc.aa_profile = unconfined
> lxc.cap.drop=
>

My guess is that your container mounts its own tmpfs on /tmp, which would
be limited to half RAM by default. Configure your container (inside the
container, not from lxc config) NOT to do that, and /tmp should have the
same available space as your container rootfs.

Another possibility is ulimit issue (i.e. the problem might not be with
space, but with number of open files). Since you use privileged container,
you can adjust it inside the container before you start the proces.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170318/aa0a8c67/attachment.html>


More information about the lxc-users mailing list