Home » Mailing lists » Users » Service restart on host system kills same service inside all VEs
Service restart on host system kills same service inside all VEs [message #44050] |
Fri, 11 November 2011 12:53 |
antoney
Messages: 12 Registered: January 2011 Location: Ukraine
|
Junior Member |
|
|
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: Service restart on host system kills same service insideall VEs [message #44051 is a reply to message #44050] |
Fri, 11 November 2011 13:20 |
Stoyan Stoyanov
Messages: 11 Registered: November 2011
|
Junior Member |
|
|
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
openvz related in specific, correct me if im wrong
best regs
On Nov 11, 2011, at 2:53 PM, 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.
>
> Anton
>
> <ATT00001.txt>
Stoyan Stoyanov
Core System Administrator
CONFIDENTIAL
The information contained in this email and any attachment is
confidential. It is intended only for the named addressee(s). If you
are not the named addressee(s) please notify the sender immediately
and do not disclose, copy or distribute the contents to any other
person other than the intended addressee(s).
|
|
|
|
Re: Service restart on host system kills same service insideall VEs [message #44056 is a reply to message #44051] |
Fri, 11 November 2011 13:40 |
antoney
Messages: 12 Registered: January 2011 Location: Ukraine
|
Junior Member |
|
|
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 kernels from repo.
On Fri, Nov 11, 2011 at 3:20 PM, Stoyan Stoyanov
<s.stoianov@maxtelecom.bg>wrote:
> 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 openvz related
> in specific, correct me if im wrong
>
> best regs
>
>
>
>
>
> On Nov 11, 2011, at 2:53 PM, 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.
>>
>> Anton
>>
>> <ATT00001.txt>
>>
>
> Stoyan Stoyanov
> Core System Administrator
>
>
>
>
> CONFIDENTIAL
> The information contained in this email and any attachment is
> confidential. It is intended only for the named addressee(s). If you are
> not the named addressee(s) please notify the sender immediately and do not
> disclose, copy or distribute the contents to any other person other than
> the intended addressee(s).
>
>
|
|
|
Re: Service restart on host system kills same serviceinsideall VEs [message #44057 is a reply to message #44056] |
Fri, 11 November 2011 13:52 |
Stoyan Stoyanov
Messages: 11 Registered: November 2011
|
Junior Member |
|
|
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 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 kernels from repo.
>
> On Fri, Nov 11, 2011 at 3:20 PM, Stoyan Stoyanov <s.stoianov@maxtelecom.bg
> > wrote:
> 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 openvz related in specific, correct me if im wrong
>
> best regs
>
>
>
>
>
> On Nov 11, 2011, at 2:53 PM, 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.
>
> Anton
>
> <ATT00001.txt>
>
> Stoyan Stoyanov
> Core System Administrator
>
>
>
>
> CONFIDENTIAL
> The information contained in this email and any attachment is
> confidential. It is intended only for the named addressee(s). If you
> are not the named addressee(s) please notify the sender immediately
> and do not disclose, copy or distribute the contents to any other
> person other than the intended addressee(s).
>
>
> <ATT00001.txt>
Stoyan Stoyanov
Core System Administrator
CONFIDENTIAL
The information contained in this email and any attachment is
confidential. It is intended only for the named addressee(s). If you
are not the named addressee(s) please notify the sender immediately
and do not disclose, copy or distribute the contents to any other
person other than the intended addressee(s).
|
|
|
Re: Service restart on host system kills same service insideall VEs [message #44059 is a reply to message #44056] |
Fri, 11 November 2011 14:04 |
antoney
Messages: 12 Registered: January 2011 Location: Ukraine
|
Junior Member |
|
|
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 <anton.zajtsev@gmail.com>wrote:
> 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 kernels from repo.
>
> On Fri, Nov 11, 2011 at 3:20 PM, Stoyan Stoyanov <s.stoianov@maxtelecom.bg
> > wrote:
>
>> 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 openvz related
>> in specific, correct me if im wrong
>>
>> best regs
>>
>>
>>
>>
>>
>> On Nov 11, 2011, at 2:53 PM, 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.
>>>
>>> Anton
>>>
>>> <ATT00001.txt>
>>>
>>
>> Stoyan Stoyanov
>> Core System Administrator
>>
>>
>>
>>
>> CONFIDENTIAL
>> The information contained in this email and any attachment is
>> confidential. It is intended only for the named addressee(s). If you are
>> not the named addressee(s) please notify the sender immediately and do not
>> disclose, copy or distribute the contents to any other person other than
>> the intended addressee(s).
>>
>>
>>
|
|
|
Re: Service restart on host system kills same serviceinsideall VEs [message #44060 is a reply to message #44059] |
Fri, 11 November 2011 14:46 |
Stoyan Stoyanov
Messages: 11 Registered: November 2011
|
Junior Member |
|
|
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 so.
> So modify all of them? Looks not so pretty:)
>
> On Fri, Nov 11, 2011 at 3:40 PM, Anton Zaytsev <anton.zajtsev@gmail.com
> > wrote:
> 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 kernels from repo.
>
> On Fri, Nov 11, 2011 at 3:20 PM, Stoyan Stoyanov <s.stoianov@maxtelecom.bg
> > wrote:
> 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 openvz related in specific, correct me if im wrong
>
> best regs
>
>
>
>
>
> On Nov 11, 2011, at 2:53 PM, 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.
>
> Anton
>
> <ATT00001.txt>
>
> Stoyan Stoyanov
> Core System Administrator
>
>
>
>
> CONFIDENTIAL
> The information contained in this email and any attachment is
> confidential. It is intended only for the named addressee(s). If you
> are not the named addressee(s) please notify the sender immediately
> and do not disclose, copy or distribute the contents to any other
> person other than the intended addressee(s).
>
>
>
> <ATT00001.txt>
Stoyan Stoyanov
Core System Administrator
CONFIDENTIAL
The information contained in this email and any attachment is
confidential. It is intended only for the named addressee(s). If you
are not the named addressee(s) please notify the sender immediately
and do not disclose, copy or distribute the contents to any other
person other than the intended addressee(s).
|
|
|
|
Re: Service restart on host system kills same serviceinsideall VEs [message #44063 is a reply to message #44060] |
Fri, 11 November 2011 15:59 |
antoney
Messages: 12 Registered: January 2011 Location: Ukraine
|
Junior Member |
|
|
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
surprised that no one has mentioned this before.
On Fri, Nov 11, 2011 at 4:46 PM, Stoyan Stoyanov
<s.stoianov@maxtelecom.bg>wrote:
> 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 so.
>> So modify all of them? Looks not so pretty:)
>>
>> On Fri, Nov 11, 2011 at 3:40 PM, Anton Zaytsev <anton.zajtsev@gmail.com>
>> wrote:
>> 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 kernels from repo.
>>
>> On Fri, Nov 11, 2011 at 3:20 PM, Stoyan Stoyanov <
>> s.stoianov@maxtelecom.bg> wrote:
>> 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 openvz related
>> in specific, correct me if im wrong
>>
>> best regs
>>
>>
>>
>>
>>
>> On Nov 11, 2011, at 2:53 PM, 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.
>>
>> Anton
>>
>> <ATT00001.txt>
>>
>> Stoyan Stoyanov
>> Core System Administrator
>>
>>
>>
>>
>> CONFIDENTIAL
>> The information contained in this email and any attachment is
>> confidential. It is intended only for the named addressee(s). If you are
>> not the named addressee(s) please notify the sender immediately and do not
>> disclose, copy or distribute the contents to any other person other than
>> the intended addressee(s).
>>
>>
>>
>> ______________________________**_________________
>> Users mailing list
>> Users@openvz.org
>> https://openvz.org/mailman/**listinfo/users<https://openvz.org/mailman/listinfo/users>
>>
>>
>>
>> <ATT00001.txt>
>>
>
> Stoyan Stoyanov
> Core System Administrator
>
>
>
>
> CONFIDENTIAL
> The information contained in this email and any attachment is
> confidential. It is intended only for the named addressee(s). If you are
> not the named addressee(s) please notify the sender immediately and do not
> disclose, copy or distribute the contents to any other person other than
> the intended addressee(s).
>
>
|
|
|
Re: Service restart on host system kills same serviceinsideall VEs [message #44064 is a reply to message #44063] |
Fri, 11 November 2011 16:42 |
antoney
Messages: 12 Registered: January 2011 Location: Ukraine
|
Junior Member |
|
|
>
> 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 <anton.zajtsev@gmail.com>wrote:
> 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
> surprised that no one has mentioned this before.
>
> On Fri, Nov 11, 2011 at 4:46 PM, Stoyan Stoyanov <s.stoianov@maxtelecom.bg
> > wrote:
>
>> 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 so.
>>> So modify all of them? Looks not so pretty:)
>>>
>>> On Fri, Nov 11, 2011 at 3:40 PM, Anton Zaytsev <anton.zajtsev@gmail.com>
>>> wrote:
>>> 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 kernels from repo.
>>>
>>> On Fri, Nov 11, 2011 at 3:20 PM, Stoyan Stoyanov <
>>> s.stoianov@maxtelecom.bg> wrote:
>>> 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 openvz related
>>> in specific, correct me if im wrong
>>>
>>> best regs
>>>
>>>
>>>
>>>
>>>
>>> On Nov 11, 2011, at 2:53 PM, 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.
>>>
>>> Anton
>>>
>>> <ATT00001.txt>
>>>
>>> Stoyan Stoyanov
>>> Core System Administrator
>>>
>>>
>>>
>>>
>>> CONFIDENTIAL
>>> The information contained in this email and any attachment is
>>> confidential. It is intended only for the named addressee(s). If you are
>>> not the named addressee(s) please notify the sender immediately and do not
>>> disclose, copy or distribute the contents to any other person other than
>>> the intended addressee(s).
>>>
>>>
>>>
>>> ______________________________**_________________
>>> Users mailing list
>>> Users@openvz.org
>>> https://openvz.org/mailman/**listinfo/users<https://openvz.org/mailman/listinfo/users>
>>>
>>>
>>>
>>> <ATT00001.txt>
>>>
>>
>> Stoyan Stoyanov
>> Core System Administrator
>>
>>
>>
>>
>> CONFIDENTIAL
>> The information contained in this email and any attachment is
>> confidential. It is intended only for the named addressee(s). If you are
>> not the named addressee(s) please notify the sender immediately and do not
>> disclose, copy or distribute the contents to any other person other than
>> the intended addressee(s).
>>
>>
|
|
|
|
|
|
|
Re: Service restart on host system kills same serviceinsideall VEs [message #44078 is a reply to message #44063] |
Mon, 14 November 2011 09:57 |
Aleksandar Ivanisevic
Messages: 34 Registered: April 2011
|
Member |
|
|
Anton Zaytsev <anton.zajtsev@gmail.com>
writes:
> 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
> surprised that no one has mentioned this before.
[...]
It gets mentioned every once in a while, but this is a general problem
with centos init scripts and/or most init scripts in general, they are
mostly written to assume a single instance of the service.
The solution is simply to run as little as possible on the host, and
to fix the scripts for the stuff you need to run. Painful, but
unavoidable. Maybe if you submit a patch to rhel, it could maybe make
it into a release in a couple of years ;)
--
Ti si arogantan, prepotentan i peglaš vlastitu frustraciju. -- Ivan
Tišljar, hr.comp.os.linux
|
|
|
Re: Re: Service restart on host system kills same serviceinsideall VEs [message #44080 is a reply to message #44078] |
Mon, 14 November 2011 16:46 |
antoney
Messages: 12 Registered: January 2011 Location: Ukraine
|
Junior Member |
|
|
I've submited the bug to RHEL.
https://bugzilla.redhat.com/show_bug.cgi?id=753834
Yes for now it's only to limit services on the host.
On Mon, Nov 14, 2011 at 11:57 AM, Aleksandar Ivanisevic <
aleksandar@ivanisevic.de> wrote:
> Anton Zaytsev <anton.zajtsev@gmail.com>
> writes:
>
> > 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
> > surprised that no one has mentioned this before.
>
> [...]
>
> It gets mentioned every once in a while, but this is a general problem
> with centos init scripts and/or most init scripts in general, they are
> mostly written to assume a single instance of the service.
>
> The solution is simply to run as little as possible on the host, and
> to fix the scripts for the stuff you need to run. Painful, but
> unavoidable. Maybe if you submit a patch to rhel, it could maybe make
> it into a release in a couple of years ;)
>
>
> --
> Ti si arogantan, prepotentan i peglaš vlastitu frustraciju. -- Ivan
> Tišljar, hr.comp.os.linux
>
|
|
|
|
|
Goto Forum:
Current Time: Fri Oct 18 09:25:04 GMT 2024
Total time taken to generate the page: 0.06927 seconds
|