OpenVZ Forum


Home » General » Support » Hidden process for init (PID 1)?
Re: Hidden process for init (PID 1)? [message #34254 is a reply to message #34253] Wed, 17 December 2008 12:24 Go to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi signal11,
Quote:


The only problem I have, and what my question was about, is whether I have to expect that there will be one host PID (which in my guess would correspond to init in the VE) that will not follow the 'offset by 1024' rule.


As maratrus has already said above in general you can _not_ relay on the "offset by 1024" rule for every process, not only "init". Moreover in recent dev-t kernels (2.6.26-x) rule "offset by 1024" almost never works.

BTW, /proc/$PID/status will show you both pid and vpid, so you can you this info for your investigations, for example:

# cat /proc/27179/status |egrep -i "env|pid"
Pid:    27179
PPid:   24599
TracerPid:      0
envID:  101
VPid:   28203


--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: samba: no entropy gathering module detected
Next Topic: Inconsistent free space after resizing ve
Goto Forum:
  


Current Time: Fri Jul 12 08:53:03 GMT 2024

Total time taken to generate the page: 0.02301 seconds