[Users] Service restart on host system kills same service inside all VEs

2011-11-11 Thread Anton Zaytsev
Hello, guys. Everything is in subject. I'm experiencing this problem on both my openvz hosts. For httpd it happens from time to time, for nrpe - always... Tell please where should I look. In /proc/user_beancounters "failcnt" is 0 for all options. Anton

Re: [Users] Service restart on host system kills same service insideall VEs

2011-11-11 Thread Stoyan Stoyanov
Hi man, I was used nrpe inside vz containers and on the hn from along time ago and never see behavior like this. Is there some customizations in your nrpe service start/stop scripts or something, I think there is the place too look at why this happens. ... I think this situation is not op

Re: [Users] Service restart on host system kills same service inside all VEs

2011-11-11 Thread Gary Wallis
Anton Zaytsev wrote: Hello, guys. Everything is in subject. I'm experiencing this problem on both my openvz hosts. For httpd it happens from time to time, for nrpe - always... Tell please where should I look. In /proc/user_beancounters "failcnt" is 0 for all options. Your service restart scr

Re: [Users] Service restart on host system kills same service insideall VEs

2011-11-11 Thread Anton Zaytsev
Thanks for quick reply. > Is there some customizations in your nrpe service start/stop scripts or > something no, all scripts are default. This happens for httpd too. I suppose it's openvz related. Seems like some misunderstanding between host and ve... Systems are centos 4 and 5, latest kernel

Re: [Users] Service restart on host system kills same serviceinsideall VEs

2011-11-11 Thread Stoyan Stoyanov
LIke Gary says, the host system just kills the ct's proceses (may be in a killall `procesname` style :))) so the thing that u should take care is the procces's start/stop scripts On Nov 11, 2011, at 3:40 PM, Anton Zaytsev wrote: Thanks for quick reply. Is there some customizations in your nr

Re: [Users] Service restart on host system kills same service insideall VEs

2011-11-11 Thread Anton Zaytsev
Ok, nrpe init script does "killproc nrpe" and its killing all processes named nrpe, inside containers too. But almost all of init scripts do so. So modify all of them? Looks not so pretty:) On Fri, Nov 11, 2011 at 3:40 PM, Anton Zaytsev wrote: > Thanks for quick reply. > > >> Is there some custom

Re: [Users] Service restart on host system kills same serviceinsideall VEs

2011-11-11 Thread Stoyan Stoyanov
Agree :) it's not so pretty.. but every process from every container is a seen process on the host On Nov 11, 2011, at 4:04 PM, Anton Zaytsev wrote: Ok, nrpe init script does "killproc nrpe" and its killing all processes named nrpe, inside containers too. But almost all of init scripts do

Re: [Users] Service restart on host system kills same service insideall VEs

2011-11-11 Thread Tim Small
On 11/11/11 14:04, Anton Zaytsev wrote: > Ok, nrpe init script does "killproc nrpe" and its killing all processes > named nrpe, inside containers too. But almost all of init scripts do so. > So modify all of them? Looks not so pretty:) > Use Debian? I've not seen this broken behaviour with any

Re: [Users] Service restart on host system kills same serviceinsideall VEs

2011-11-11 Thread Anton Zaytsev
Ok, I've decided to just leave it as is. It's production systems, service restarts are not so often. So only solution for this issue now is to use host system just as host. Tim, Migration to Debian will be not so simple. Yes, I think it's needed to send bug report to CentOS/Redhat packaging. I sur

Re: [Users] Service restart on host system kills same serviceinsideall VEs

2011-11-11 Thread Anton Zaytsev
> > Yes, I think it's needed to send bug report to CentOS/Redhat packaging. I > surprised that no one has mentioned this before. I mean this bug) On Fri, Nov 11, 2011 at 5:59 PM, Anton Zaytsev wrote: > Ok, I've decided to just leave it as is. It's production systems, service > restarts are not s

Re: [Users] Service restart on host system kills same service insideall VEs

2011-11-11 Thread lst_hoe02
Zitat von Anton Zaytsev : Ok, nrpe init script does "killproc nrpe" and its killing all processes named nrpe, inside containers too. But almost all of init scripts do so. So modify all of them? Looks not so pretty:) you should not run any services beside maybe SSH on the hardware node. It is

Re: [Users] Service restart on host system kills same service insideall VEs

2011-11-11 Thread Ilya A. Otyutskiy
On Sat, Nov 12, 2011 at 12:42 AM, wrote: > you should not run any services beside maybe SSH on the hardware node. It is > the "root" node and should only be used to manage the VEs. That's bad advice. It's generally good idea to run things like nrpe and munin on HN to monitor it's performance and