* Runit on sl3
@ 2006-05-26 9:56 Nandakumar, R (Raja)
2006-05-26 20:18 ` Charlie Brady
0 siblings, 1 reply; 6+ messages in thread
From: Nandakumar, R (Raja) @ 2006-05-26 9:56 UTC (permalink / raw)
Hello,
I would like to know if there have been any known problems while using
the runit class of commands on scientific linux. Two of the problems we
see are :
1. runsv does not automatically fork and make itself a background job.
2. runsv and runsvdir occasionally die
It would be wonderful if someone could help me out. If you let me know I
can send you any pertinent information.
Thanks a lot and Best Regards,
Raja.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Runit on sl3
2006-05-26 9:56 Runit on sl3 Nandakumar, R (Raja)
@ 2006-05-26 20:18 ` Charlie Brady
2006-05-26 20:59 ` Nandakumar, R (Raja)
0 siblings, 1 reply; 6+ messages in thread
From: Charlie Brady @ 2006-05-26 20:18 UTC (permalink / raw)
Cc: supervision
On Fri, 26 May 2006, Nandakumar, R (Raja) wrote:
> I would like to know if there have been any known problems while using
> the runit class of commands on scientific linux. Two of the problems we
> see are :
>
> 1. runsv does not automatically fork and make itself a background job.
Why do you see that as a problem? runsv should only be run by runsvdir,
which will then wait for it to complete.
> 2. runsv and runsvdir occasionally die
Do you know why they do? My guess is that you have had severe memory
overcommitment, and they are being killed by the "Out of Memory" killer of
the linux kernel. They won't have been the only processes killed (but
perhaps they would be the most noticable ones*).
But if there's any other cause of them dying, then I'm
sure Gerrit would be interested to know.
---
Charlie
* runsv will be replaced automatically, but service will be in down state
if there is a "down" file, whereas it might have been running when the
runsv died/was killed. Hence, death of runsv might be quite noticeable.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Runit on sl3
2006-05-26 20:18 ` Charlie Brady
@ 2006-05-26 20:59 ` Nandakumar, R (Raja)
2006-05-26 22:43 ` Charlie Brady
0 siblings, 1 reply; 6+ messages in thread
From: Nandakumar, R (Raja) @ 2006-05-26 20:59 UTC (permalink / raw)
> On Fri, 26 May 2006, Nandakumar, R (Raja) wrote:
>
> > I would like to know if there have been any known problems while
> using
> > the runit class of commands on scientific linux. Two of the problems
> we
> > see are :
> >
> > 1. runsv does not automatically fork and make itself a background
> job.
>
> Why do you see that as a problem? runsv should only be run by
> runsvdir,
> which will then wait for it to complete.
Hi,
Runsvdir also does not become a background process automatically. So, I
tried using runsv directly. I can run it in the background, but the
problem is that now my shell will not exit and I am forced to kill the
shell which is not always a good thing. Would you have any ideas about
how to get around this?
About the problem below, I donot know for sure but I will investigate.
Thanks and Cheers,
Raja.
> > 2. runsv and runsvdir occasionally die
>
> Do you know why they do? My guess is that you have had severe memory
> overcommitment, and they are being killed by the "Out of Memory"
> killer of
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Runit on sl3
2006-05-26 20:59 ` Nandakumar, R (Raja)
@ 2006-05-26 22:43 ` Charlie Brady
2006-05-26 22:47 ` Nandakumar, R (Raja)
0 siblings, 1 reply; 6+ messages in thread
From: Charlie Brady @ 2006-05-26 22:43 UTC (permalink / raw)
Cc: supervision
On Fri, 26 May 2006, Nandakumar, R (Raja) wrote:
> Runsvdir also does not become a background process automatically.
Correct. You either haven't read http://smarden.org/runit/useinit.html or
you have chosen to do things in some way other than what is documented
there. That would be unwise. It's good advice.
---
Charlie
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Runit on sl3
2006-05-26 22:43 ` Charlie Brady
@ 2006-05-26 22:47 ` Nandakumar, R (Raja)
2006-05-26 22:59 ` Charlie Brady
0 siblings, 1 reply; 6+ messages in thread
From: Nandakumar, R (Raja) @ 2006-05-26 22:47 UTC (permalink / raw)
Hi Charlie,
Thanks! Yes, I had managed to miss this website. I will let you know if
I still have problems.
Cheers,
Raja.
> -----Original Message-----
> From: Charlie Brady [mailto:charlieb-supervision@budge.apana.org.au]
> Sent: 26 May 2006 23:43
> To: Nandakumar, R (Raja)
> Cc: supervision@list.skarnet.org
> Subject: RE: Runit on sl3
>
>
> On Fri, 26 May 2006, Nandakumar, R (Raja) wrote:
>
> > Runsvdir also does not become a background process automatically.
>
> Correct. You either haven't read http://smarden.org/runit/useinit.html
> or
> you have chosen to do things in some way other than what is documented
> there. That would be unwise. It's good advice.
>
> ---
> Charlie
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-05-26 22:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-26 9:56 Runit on sl3 Nandakumar, R (Raja)
2006-05-26 20:18 ` Charlie Brady
2006-05-26 20:59 ` Nandakumar, R (Raja)
2006-05-26 22:43 ` Charlie Brady
2006-05-26 22:47 ` Nandakumar, R (Raja)
2006-05-26 22:59 ` Charlie Brady
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).