Subject: Can't see all my processes?
From: Ed W <lists@wildgooses.com>
Date: Fri, 09 May 2008 15:21:13 +0100

Hi, anyone shed some light on why not all my processes seem to be 
visible in my vserver?

I needed a caching dns server so created my usual vanilla shell and 
added dnscache and the other djb daemon tools

If I now fire up the dnscache then it seems to work (as expected) and 
stops working when I shut down the vserver (as expected)

Curiously though the process is not visible to "ps" (although most of 
the other daemon tools processes are...)  The process is visible to vps 
in the host server though...

In vserver "dnscache"

dnscache / # ps ax
  PID TTY      STAT   TIME COMMAND
14641 ?        Ss     0:00 /usr/bin/svscan /service
14642 ?        S      0:00 supervise dnscachex
14644 ?        S      0:00 supervise log
14645 ?        S      0:04 multilog t ./main
14659 ?        Ss     0:00 /usr/sbin/syslog-ng
14672 ?        Ss     0:00 /usr/sbin/cron
26442 pts/3    S+     0:00 login
26489 pts/2    Ss     0:00 /bin/bash -login
29159 pts/2    R+     0:00 ps ax


And on the host:

svr3 vservers # vps ax|grep dnsc
 9785     0 MAIN          pts/3    S+     0:00 grep --colour=auto dnsc
14641  1011 dnscache      ?        Ss     0:00 /usr/bin/svscan /service
14642  1011 dnscache      ?        S      0:00 supervise dnscachex
14643  1011 dnscache      ?        S      0:03 /usr/bin/dnscache
14644  1011 dnscache      ?        S      0:00 supervise log
14645  1011 dnscache      ?        S      0:01 multilog t ./main
14659  1011 dnscache      ?        Ss     0:00 /usr/sbin/syslog-ng
14672  1011 dnscache      ?        Ss     0:00 /usr/sbin/cron


Kernel 2.6.22.19-grsec2.1.11-vs2.2.0.6 - Can anyone explain?

Ed W