On Wednesday, Nov 22nd 2006 at 10:01 -0500, quoth Charlie Brady:

=>
=>On Wed, 22 Nov 2006, Steven W. Orr wrote:
=>
=>> I'm running 1.2.1 and on an occasional basis I end up with a gzip process 
=>> that does not get reaped. It's not a zombie process, it's just hanging 
=>> waiting for it's parent to reap it.
=>
=>Your statement doesn't make sense.
=>
=>A zombie is a process which has exited. The process's remains are kept by
=>the kernel waiting for the parent to reap. Running processes (which have
=>not exited) do not wait for their parents to reap them.
=>
=>A process is either still running, or it is a process which is a zombie 
=>and has not been reaped. There's no such thing as a dead process which has 
=>not been reaped which is not a zombie
=>
=>> Here's what ps shows:
=>> 
=>> root     23277  0.0  0.0   1784   592 ?        S    03:31   0:03 gzip -9
=>
=>Whatever is feeding the standard input of that process has not terminated. 
=>What does "ps fax" tell you?
=>
=>> Do we need to modify flexbackup to set SIG_IGN for SIGCHLD?
=>
=>I don't know why you are suggesting that.

Right. It's not a zombie like I said above, but since it's not, you're 
correct that the issue of SIG_IGN for SIGCHLD would be a red herring. From 
the ps output above, it's in a sleep state. Your question about who the 
parent is is good. I don't remember because I just killed the process 
after I sent this message but I believe (from previous incidents) it is 
the child of flexbackup. So the tree should be

cron
\_bash
     \_flexbackup
          \_gzip

What I think is happening is that flexbackup is waiting for gzip to 
complete before it exits. But gzip doesn't exit because it's waiting for 
more input, not knowing that more isn't coming. 

Sometimes I can go a month without a hangup, and sometimes it hangs 
multiple times per week. Do we need to wait for a reoccurance or is this 
enough to be able to work with?

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
flexbackup-help mailing list
flexbackup-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexbackup-help

Reply via email to