Re: pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zhang Haoyu
On 10/10/15 12:40, Zhang Haoyu wrote: > On 10/10/15 11:35, Zefan Li wrote: >> On 2015/10/9 18:29, Zhang Haoyu wrote: >>> I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), >>> and there's one bad program was running in one container. >>> This program produced many child

Re: pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zhang Haoyu
On 10/10/15 11:35, Zefan Li wrote: > On 2015/10/9 18:29, Zhang Haoyu wrote: >> I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), >> and there's one bad program was running in one container. >> This program produced many child threads continuously without free, so more >>

Re: pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zefan Li
On 2015/10/9 18:29, Zhang Haoyu wrote: I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), and there's one bad program was running in one container. This program produced many child threads continuously without free, so more and more pid numbers were consumed by this

pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zhang Haoyu
I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), and there's one bad program was running in one container. This program produced many child threads continuously without free, so more and more pid numbers were consumed by this program, until hitting the pix_max limit

Re: pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zhang Haoyu
On 10/10/15 11:35, Zefan Li wrote: > On 2015/10/9 18:29, Zhang Haoyu wrote: >> I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), >> and there's one bad program was running in one container. >> This program produced many child threads continuously without free, so more >>

Re: pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zefan Li
On 2015/10/9 18:29, Zhang Haoyu wrote: I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), and there's one bad program was running in one container. This program produced many child threads continuously without free, so more and more pid numbers were consumed by this

Re: pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zhang Haoyu
On 10/10/15 12:40, Zhang Haoyu wrote: > On 10/10/15 11:35, Zefan Li wrote: >> On 2015/10/9 18:29, Zhang Haoyu wrote: >>> I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), >>> and there's one bad program was running in one container. >>> This program produced many child

pidns: Make pid accounting and pid_max per namespace

2015-10-09 Thread Zhang Haoyu
I started multiple docker containers in centos6.6(linux-2.6.32-504.16.2), and there's one bad program was running in one container. This program produced many child threads continuously without free, so more and more pid numbers were consumed by this program, until hitting the pix_max limit