From: frafart@chez.com (Fabrice Rafart)
Subject: Process dead - trace
Date: 28 Jan 2003 11:09:46 -0800 [thread overview]
Message-ID: <d85f7b1b.0301281109.3ccb8b8@posting.google.com> (raw)
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.
reply other threads:[~2003-01-28 19:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox