Subject: Problem with 'ps' [Was: Postfix or amavis troubles ...]
From: Gilles Sadowski <gilles@harfang.homelinux.org>
Date: Wed, 23 Apr 2008 13:01:02 +0200
Wed, 23 Apr 2008 13:01:02 +0200
> > P.S.  Still no luck with "ps" though...

> what problem do you have with "ps"?

Thanks for coming back to that issue.
Here attached, the messages which I had sent previously.

Best,
Gilles


Subject: 'ps' not working inside vserver (kernel 2.6.24.4)
From: Gilles Sadowski <gilles@harfang.homelinux.org>
Date: Thu, 10 Apr 2008 02:05:36 +0200

Hi again.

Upgrading to kernel 2.6.24.4 patched with vs2.3.0.34, 'ps' (or 'top') does
not work anymore when run inside a vserver.  That is upon hitting return
after having typed 'ps', the command seems to hang:  Nothing is printed
back on the terminal, and (one of) the CPU is reported (by gkrellm) to work
at full load.

Even stranger, the same command sometimes does print something back,
indefinitely filling the terminal (until I hit Ctrl-C) by repeating
the same lines (which seemingly are partly the expected result of 'ps').

As in my previous post, rebooting in kernel 2.6.22, 'ps' behaves nicely.

Does someone have a clue as to what causes this?

Thanks,
Gilles

 Thu, 10 Apr 2008 02:05:36 +0200

Subject: 'ps' not working inside vserver (kernel 2.6.24.4)
From: Gilles Sadowski <gilles@harfang.homelinux.org>
Date: Thu, 10 Apr 2008 02:05:36 +0200

Subject: Re: [vserver] 'ps' not working inside vserver (kernel 2.6.24.4)
From: Gilles Sadowski <gilles@harfang.homelinux.org>
Date: Thu, 10 Apr 2008 18:14:01 +0200

> >
> > Upgrading to kernel 2.6.24.4 patched with vs2.3.0.34, 'ps' (or 'top') does
> > not work anymore when run inside a vserver.  That is upon hitting return
> > after having typed 'ps', the command seems to hang:  Nothing is printed
> > back on the terminal, and (one of) the CPU is reported (by gkrellm) to
> > work
> > at full load.
> >
> > Even stranger, the same command sometimes does print something back,
> > indefinitely filling the terminal (until I hit Ctrl-C) by repeating
> > the same lines (which seemingly are partly the expected result of 'ps').
> >
> > As in my previous post, rebooting in kernel 2.6.22, 'ps' behaves nicely.
> >
> > Does someone have a clue as to what causes this?
> 
> Which init style are you using? The 2.6.24 patches are highly
> experimental, and fakeinit is one of the things known to be broken...

# cat /etc/vservers/mail/apps/init/style
plain
 

Best,
Gilles

 Thu, 10 Apr 2008 18:14:01 +0200