Re: Defunct processes : SE 7.1 on AIX 4.1
Posted in 1997
In article <346B2DE9.661DE4C6@netway.at>, Norbert Ferstl <ferstl@netway.at> writes >Nick Leporacci, Jr. wrote: >> >> I'm not sure if this is the correct group for this problem so please bear >> with me. When running an Informix query (SQL), a defunct process is being >> generated. If the session is killed by the Administrator or by a connection >> timeout, the defunct process continues to run and keeps the table locked >> from the previous instruction (UPDATE,INSERT,DELETE) until the >> Administrator kills the defunct process. My question is, why is a defunct >> process being initiated and what is its purpose? >> >> Informix SE V7.1 >> AIX 4.1.2 > >defunct is generated accidetially (no parent waiting) >but why I can't tell you > A defunct process if one where it has died but it'r parent process has to yet done a wait(2) system call to get the status returned from the process. If the parent process has died then process 1 (init) should inherit the process and do a wait for it. It sounds like this is not happening due to a bug in the init process i.e. a bug in your version of UNIX. >===================================== >Norbert Ferstl >DI Forsthuber GmbH >Kohlbauernstr. 17 >A-2630 Ternitz, AUSTRIA >Tel: +43 2630 382500 >Fax: +43 2630 3825014 ><ferstl@netway.at> >===================================== -- David Williams