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

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 serge.hal...@ubuntu.com writes: Quoting Pavel Emelyanov (xe...@parallels.com): On 05/29/2014 07:32 PM, Serge Hallyn wrote: Quoting

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

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

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 containerX

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 different user

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

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

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 serge.hal...@ubuntu.com 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

Re: [RFC] Per-user namespace process accounting

2014-06-07 Thread Eric W. Biederman
James Bottomley james.bottom...@hansenpartnership.com 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

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

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: > >>> >

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-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 m...@1h.com writes: Hello, I have the following proposition. Number of currently running

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 m...@1h.com writes: Hello, I have the

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: Marian Marinov

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 On 05/29/2014

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Eric W. Biederman
Serge Hallyn serge.hal...@ubuntu.com 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

Re: [RFC] Per-user namespace process accounting

2014-06-03 Thread Eric W. Biederman
Pavel Emelyanov xe...@parallels.com 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:06 PM,

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 serge.hal...@ubuntu.com 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.

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

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

[RFC] Per-user namespace process accounting

2014-05-29 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

[RFC] Per-user namespace process accounting

2014-05-29 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

Re: [RFC] Per-user namespace process accounting

2014-05-29 Thread Eric W. Biederman
Marian Marinov m...@1h.com 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

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 m...@1h.com 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 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 m...@1h.com writes: Hello, I have the following proposition. Number of currently running processes is accounted at the root user

[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

[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