Re: init + orphaned processes
From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 03/29/04
- Next message: Johan Louwers: "run tomcat as a deamon?"
- Previous message: Matty: "init + orphaned processes"
- In reply to: Matty: "init + orphaned processes"
- Next in thread: Frank Cusack: "Re: init + orphaned processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Mar 2004 22:53:31 -0800
Matty <mattyml@bellsouth.net> writes:
> Does anyone know when init will
> terminate processes it inherits and reclaim
> the resources?
Init never does *that*.
What it does do is wait(2) for *already* terminated processes
(aka zombie processes).
If you actually do have zombie processes, and they are not cleaned
up by init, then your init process is likely stuck. One reason this
could happen is given here:
1.153 Why does init not reap its zombie child processes?
http://www.faqs.org/faqs/aix-faq/part1/section-61.html
If you are not on AIX, pray tell what OS you are on, and what the
'ps -ef' output for "stuck" processes looks like.
> I am parsing through Advanced
> Programming in the UNIX Environment in an attempt to
> find an answer.
Why not ask the application vendor how the app is supposed to
be terminated?
Cheers,
-- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.
- Next message: Johan Louwers: "run tomcat as a deamon?"
- Previous message: Matty: "init + orphaned processes"
- In reply to: Matty: "init + orphaned processes"
- Next in thread: Frank Cusack: "Re: init + orphaned processes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|