Re: [lxc-users] open files limit

2014-03-04 Thread Tamas Papp

On 03/05/2014 06:49 AM, Fajar A. Nugraha wrote:
> On Mon, Mar 3, 2014 at 9:36 PM, Tamas Papp  > wrote:
>
> hi All,
>
> What is the status of open files thing?
> I see too many open files in a container, but everything works
> properly
> outside of the container but sysctl fs.file-nr shows values from
> the host.
>
>
> Have you checked ulimit values inside the container? IIRC most distros
> have a low limit for that by default.
>

Yes, it was set to high enough. Then I will search for the issue in
different way.

Regarding ulimit. If I start a container as user, the resources (open
files, processes etc.) will be limited by ulimit as well, right?


10x
tamas
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] open files limit

2014-03-04 Thread Fajar A. Nugraha
On Mon, Mar 3, 2014 at 9:36 PM, Tamas Papp  wrote:

> hi All,
>
> What is the status of open files thing?
> I see too many open files in a container, but everything works properly
> outside of the container but sysctl fs.file-nr shows values from the host.
>
>
Have you checked ulimit values inside the container? IIRC most distros have
a low limit for that by default.

-- 
Fajar
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] open files limit

2014-03-04 Thread Serge Hallyn
Quoting Tamas Papp (tom...@martos.bme.hu):
> hi All,
> 
> What is the status of open files thing?
> I see too many open files in a container, but everything works properly
> outside of the container but sysctl fs.file-nr shows values from the host.
> 
> Therefore I'm a bit confused now.

fs.file-nr is not per-container.

-serge
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users