[Users] Re: /etc/init.d/service stop

Peter Senna Tschudin peter.senna at gmail.com
Tue Jul 27 07:08:41 EDT 2010


solar:~# ps aux |grep gmond
nobody    3993  0.0  0.0  52552  1652 ?        Ss   Jul26   0:02 /usr/sbin/gmond
nobody    3998  0.0  0.0  52552  1680 ?        Ss   Jul26   0:09 /usr/sbin/gmond
root      8389  0.0  0.0   5164   792 pts/0    S+   08:06   0:00 grep gmond
495      21602  0.0  0.0 145460  2764 ?        Ss   Jul26   0:09 /usr/sbin/gmond

solar:~# echo 1 > /proc/sys/kernel/pid_ns_hide_child

solar:~# ps aux |grep gmond
nobody    3993  0.0  0.0  52552  1652 ?        Ss   Jul26   0:02 /usr/sbin/gmond
nobody    3998  0.0  0.0  52552  1680 ?        Ss   Jul26   0:09 /usr/sbin/gmond
root      8391  0.0  0.0   5160   772 pts/0    R+   08:06   0:00 grep gmond
495      21602  0.0  0.0 145460  2764 ?        Ss   Jul26   0:09 /usr/sbin/gmond

Only one gmond process is running on the host. The other two are running on VEs.
On Tue, Jul 27, 2010 at 4:45 AM, Aleksandar Ivanisevic
<aleksandar at ivanisevic.de> wrote:
> Gregor at HostGIS <gregor at hostgis.com>
> writes:
>
>>> So isn't it a global way to avoid killing the
>>> processes of VEs from the host?
>>
>> Nope. A killall would include processes that run in containers.
>
> Hm, even if kernel.pid_ns_hide_child = 0 ?
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>



-- 
Peter Senna Tschudin
peter.senna at gmail.com
gpg id: 48274C36


More information about the Users mailing list