* Process dead - trace
@ 2003-01-28 19:09 Fabrice Rafart
0 siblings, 0 replies; only message in thread
From: Fabrice Rafart @ 2003-01-28 19:09 UTC (permalink / 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-28 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-28 19:09 Process dead - trace Fabrice Rafart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox