From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ea9b47aa2e5ee68c,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-01-28 11:09:47 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: frafart@chez.com (Fabrice Rafart) Newsgroups: comp.unix.tru64 Subject: Process dead - trace Date: 28 Jan 2003 11:09:46 -0800 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 81.56.254.158 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1043780987 32502 127.0.0.1 (28 Jan 2003 19:09:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 28 Jan 2003 19:09:47 GMT Xref: archiver1.google.com comp.unix.tru64:9459 Hello, On a GS140 - Tru64 4.0f kit patch 6, we have some fool process. I have made a trace with : while `true` do # this for a ctpstart process without terminal PIDFOOL=`ps -ef | egrep '\?\?.*ctpstart' | awk '{print $2}'` [ ! -z "$PIDFOOL" ] && /usr/field/Compaq/trace -o /tmp/$PIDFOOL.trace.log -p $PIDFOOL sleep 10 done Here an extract of /tmp/$PIDFOOL.trace.log : read (0, 0x40018800, 32) = -1 (I/O error) fcntl (0, F_SETFL, 2) = 0 setitimer (ITIMER_REAL, {{0,0}, {0,0}}, {{0,0},{7,174025}}) = 0 sigaction (SIGALRM, {{0x1200ded10,0x0,SA_RESTART}}, (struct sigaction *)0) = 0 setitimer (ITIMER_REAL, {{0,0}, {7,174001}}, {{0,0},{0,0}}) = 0 read (0, 0x40018800, 1) = -1 (I/O error) setitimer (ITIMER_REAL, {{0,0}, {0,0}}, {{0,0},{7,172050}}) = 0 sigaction (SIGALRM, {{0x1200ded10,0x0,SA_RESTART}}, (struct sigaction *)0) = 0 setitimer (ITIMER_REAL, {{0,0}, {7,172001}}, {{0,0},{0,0}}) = 0 sigreturn (0x140000488) = 0 (Error 0) fcntl (0, F_GETFL, 0) = 2 fcntl (0, F_SETFL, 32770) = 0 read (0, 0x40018800, 32) = -1 (I/O error) fcntl (0, F_SETFL, 2) = 0 setitimer (ITIMER_REAL, {{0,0}, {0,0}}, {{0,0},{7,171025}}) = 0 sigaction (SIGALRM, {{0x1200ded10,0x0,SA_RESTART}}, (struct sigaction *)0) = 0 setitimer (ITIMER_REAL, {{0,0}, {7,171001}}, {{0,0},{0,0}}) = 0 read (0, 0x40018800, 1) = -1 (I/O error) setitimer (ITIMER_REAL, {{0,0}, {0,0}}, {{0,0},{7,171001}}) = 0 sigaction (SIGALRM, {{0x1200ded10,0x0,SA_RESTART}}, (struct sigaction *)0) = 0 setitimer (ITIMER_REAL, {{0,0}, {7,171001}}, {{0,0},{0,0}}) = 0 sigreturn (0x140000488) = 0 (Error 0) fcntl (0, F_GETFL, 0) = 2 fcntl (0, F_SETFL, 32770) = 0 The file growning until 23 Mo and I kill the process. All group (here 2 groups) of lines are identical execpt for time reference. I can't know whitch process will become fool, so I can't trace it before and get more information about file descriptor, ... I'm looking for some help about this. for example, the super command to find file descriptor open by a process running, ... All thing to trace this problems. Thanks for your time. Fabrice Rafart.