OpenVZ Forum


Home » Mailing lists » Users » sysctl to hide VE processes from HN ps?
sysctl to hide VE processes from HN ps? [message #31882] Fri, 11 July 2008 16:27 Go to next message
Gregor Mosheh is currently offline  Gregor Mosheh
Messages: 62
Registered: April 2007
Member
From: openvz.org
I was glad to hear about bug 511. I am running 2.6.24-ovz005 and was 
surprised to see that I had this great new feature.

But it doesn't seem to be working. Maybe I'm doing it wrong?

# sysctl kernel.pid_ns_hide_child=1

A 'ps ax' or 'ls /proc' shows the same thing regardless of this setting: 
VPSs' PostgreSQL and httpd and so on.

-- 
Gregor Mosheh / Greg Allensworth, BS, A+
System Administrator
HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA
Re: sysctl to hide VE processes from HN ps? [message #32103 is a reply to message #31882] Mon, 21 July 2008 10:43 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

From: openvz.org
Gregor Mosheh wrote:
> I was glad to hear about bug 511. I am running 2.6.24-ovz005 and was 
> surprised to see that I had this great new feature.
>
> But it doesn't seem to be working. Maybe I'm doing it wrong?
>
> # sysctl kernel.pid_ns_hide_child=1
>
> A 'ps ax' or 'ls /proc' shows the same thing regardless of this 
> setting: VPSs' PostgreSQL and httpd and so on.
>
Processes are hidden for all containers started _after_ you have changed 
the setting.
Re: sysctl to hide VE processes from HN ps? [message #32110 is a reply to message #32103] Mon, 21 July 2008 15:10 Go to previous messageGo to next message
rmello is currently offline  rmello
Messages: 15
Registered: October 2007
Junior Member
From: openvz.org
On Tue, Jul 22, 2008 at 6:13 AM, Kir Kolyshkin <kir@openvz.org> wrote:
>>
> Processes are hidden for all containers started _after_ you have changed the
> setting.

Is 2.6.24 considered stable yet?

Roberto

-- 
http://blog.divisiblebyfour.org/
Re: 2.6.24 stable [message #32112 is a reply to message #32110] Mon, 21 July 2008 16:18 Go to previous messageGo to next message
Gregor Mosheh is currently offline  Gregor Mosheh
Messages: 62
Registered: April 2007
Member
From: openvz.org
Roberto Mello wrote:
> Is 2.6.24 considered stable yet?

When I installed it three weeks ago, it was considered development. I've 
been using it with DRBD, NIC bonding, and a 3ware 9650 controller for 
the last three weeks and so far so good!

-- 
Gregor Mosheh / Greg Allensworth    BS, A+, Network+, Security+, Server+
System Administrator, Lead Programmer
HostGIS development & hosting services, http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA
Re: sysctl to hide VE processes from HN ps? [message #32113 is a reply to message #32103] Mon, 21 July 2008 16:20 Go to previous messageGo to next message
Gregor Mosheh is currently offline  Gregor Mosheh
Messages: 62
Registered: April 2007
Member
From: openvz.org
Kir Kolyshkin wrote:
>> # sysctl kernel.pid_ns_hide_child=1

> Processes are hidden for all containers started _after_ you have changed 
> the setting.

Ahhhh, I get it. Too bad it can't change the view more dynamically. I'd 
love to be able to toggle the view of HN or HN+VPSs. But I'll likely not 
be making that patch; I'll be patient. :)

-- 
Gregor Mosheh / Greg Allensworth    BS, A+, Network+, Security+, Server+
System Administrator, Lead Programmer
HostGIS development & hosting services, http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA
Re: 2.6.24 stable [message #32118 is a reply to message #32112] Mon, 21 July 2008 17:20 Go to previous message
drescherjm is currently offline  drescherjm
Messages: 27
Registered: February 2008
Junior Member
From: openvz.org
On Mon, Jul 21, 2008 at 12:18 PM, Gregor Mosheh <gregor@hostgis.com> wrote:
> Roberto Mello wrote:
>>
>> Is 2.6.24 considered stable yet?
>
> When I installed it three weeks ago, it was considered development. I've
> been using it with DRBD, NIC bonding, and a 3ware 9650 controller for the
> last three weeks and so far so good!
>
I have been using it since February at home and since May in my
production units at work. For the most part it is stable, although I
do still have a rare problem that pops up every once and a while that
causes me to have to restart the application (usually a console app).

When this happens I get a message in my dmesg output about "scheduling
while atomic"

This is with 2.6.24-ovz005 #1 SMP PREEMPT but I do not see this at
home with the git version.

John
Previous Topic: Netatalk in kernel?
Next Topic: No source code in download.openvz.org/debian/
Goto Forum:
  


Current Time: Tue Nov 20 23:25:41 GMT 2018