Re: [RFC] Per-user namespace process accounting

2014-06-22 Thread Serge E. Hallyn
Quoting Marian Marinov (m...@1h.com): > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 06/03/2014 08:54 PM, Eric W. Biederman wrote: > > Serge Hallyn writes: > > > >> Quoting Pavel Emelyanov (xe...@parallels.com): > >>> On 05/29/2014 07:32 PM, Serge Hallyn wrote: > Quoting Marian Ma

Re: [lxc-devel] [RFC] Per-user namespace process accounting

2014-06-12 Thread Serge Hallyn
Quoting Alin Dobre (alin.do...@elastichosts.com): > On 29/05/14 07:37, Marian Marinov wrote: > > Hello, > > > > I have the following proposition. > > > > Number of currently running processes is accounted at the root user > > namespace. The problem I'm facing is that multiple > > containers in d

Re: [RFC] Per-user namespace process accounting

2014-06-12 Thread Alin Dobre
On 29/05/14 07:37, Marian Marinov wrote: > Hello, > > I have the following proposition. > > Number of currently running processes is accounted at the root user > namespace. The problem I'm facing is that multiple > containers in different user namespaces share the process counters. > > So if co

Re: [RFC] Per-user namespace process accounting

2014-06-07 Thread Eric W. Biederman
James Bottomley writes: > On Tue, 2014-06-03 at 10:54 -0700, Eric W. Biederman wrote: >> >> 90% of that work is already done. >> >> As long as we don't plan to support XFS (as it XFS likes to expose it's >> implementation details to userspace) it should be quite straight >> forward. > > Any imp

Re: [RFC] Per-user namespace process accounting

2014-06-07 Thread James Bottomley
On Tue, 2014-06-03 at 10:54 -0700, Eric W. Biederman wrote: > Serge Hallyn writes: > > > Quoting Pavel Emelyanov (xe...@parallels.com): > >> On 05/29/2014 07:32 PM, Serge Hallyn wrote: > >> > Quoting Marian Marinov (m...@1h.com): > >> >> We are not using NFS. We are using a shared block storage t

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Marian Marinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/03/2014 08:54 PM, Eric W. Biederman wrote: > Serge Hallyn writes: > >> Quoting Pavel Emelyanov (xe...@parallels.com): >>> On 05/29/2014 07:32 PM, Serge Hallyn wrote: Quoting Marian Marinov (m...@1h.com): > We are not using NFS. We are

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Eric W. Biederman
Pavel Emelyanov writes: > On 06/03/2014 09:26 PM, Serge Hallyn wrote: >> Quoting Pavel Emelyanov (xe...@parallels.com): >>> On 05/29/2014 07:32 PM, Serge Hallyn wrote: Quoting Marian Marinov (m...@1h.com): > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/29/2014 01

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Eric W. Biederman
Serge Hallyn writes: > Quoting Pavel Emelyanov (xe...@parallels.com): >> On 05/29/2014 07:32 PM, Serge Hallyn wrote: >> > Quoting Marian Marinov (m...@1h.com): >> >> We are not using NFS. We are using a shared block storage that offers us >> >> snapshots. So provisioning new containers is >> >>

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Serge Hallyn
Quoting Pavel Emelyanov (xe...@parallels.com): > On 06/03/2014 09:26 PM, Serge Hallyn wrote: > > Quoting Pavel Emelyanov (xe...@parallels.com): > >> On 05/29/2014 07:32 PM, Serge Hallyn wrote: > >>> Quoting Marian Marinov (m...@1h.com): > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 >

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Pavel Emelyanov
On 06/03/2014 09:26 PM, Serge Hallyn wrote: > Quoting Pavel Emelyanov (xe...@parallels.com): >> On 05/29/2014 07:32 PM, Serge Hallyn wrote: >>> Quoting Marian Marinov (m...@1h.com): -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/29/2014 01:06 PM, Eric W. Biederman wrote: >>

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Serge Hallyn
Quoting Pavel Emelyanov (xe...@parallels.com): > On 05/29/2014 07:32 PM, Serge Hallyn wrote: > > Quoting Marian Marinov (m...@1h.com): > >> -BEGIN PGP SIGNED MESSAGE- > >> Hash: SHA1 > >> > >> On 05/29/2014 01:06 PM, Eric W. Biederman wrote: > >>> Marian Marinov writes: > >>> > Hello,

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Pavel Emelyanov
On 05/29/2014 07:32 PM, Serge Hallyn wrote: > Quoting Marian Marinov (m...@1h.com): >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 05/29/2014 01:06 PM, Eric W. Biederman wrote: >>> Marian Marinov writes: >>> Hello, I have the following proposition. Number of

Re: [RFC] Per-user namespace process accounting

2014-05-29 Thread Serge Hallyn
Quoting Marian Marinov (m...@1h.com): > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/29/2014 01:06 PM, Eric W. Biederman wrote: > > Marian Marinov writes: > > > >> Hello, > >> > >> I have the following proposition. > >> > >> Number of currently running processes is accounted at th

Re: [RFC] Per-user namespace process accounting

2014-05-29 Thread Marian Marinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/29/2014 01:06 PM, Eric W. Biederman wrote: > Marian Marinov writes: > >> Hello, >> >> I have the following proposition. >> >> Number of currently running processes is accounted at the root user >> namespace. The problem I'm facing is that >>

Re: [RFC] Per-user namespace process accounting

2014-05-29 Thread Eric W. Biederman
Marian Marinov writes: > Hello, > > I have the following proposition. > > Number of currently running processes is accounted at the root user > namespace. The problem I'm facing is that multiple > containers in different user namespaces share the process counters. That is deliberate. > So if c

[RFC] Per-user namespace process accounting

2014-05-28 Thread Marian Marinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have the following proposition. Number of currently running processes is accounted at the root user namespace. The problem I'm facing is that multiple containers in different user namespaces share the process counters. So if containerX run

[RFC] Per user namespace process accounting

2014-05-28 Thread Marian Marinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have the following proposition. Number of currently running processes is accounted at the root user namespace. The problem I'm facing is that multiple containers in different user namespaces share the process counters. So if containerX run