Mailer getting killed by SIGPROF

A.V.Raman A.Raman at massey.ac.nz
Thu May 30 12:05:12 AEST 1991


We're running OSx 5.0 on our Pyramid here.

I wrote a mailer to handle PSI mail.  Sometimes, this mailer is killed
with a SIGPROF signal and sendmail returns the message saying:

554 psi died because of profiling timer alarm (27)--requeueing message

Now, I haven't compiled my mailer with the -p flag, so I guess I'm not
profiling my code.  This is the command line that is used to compile
my mailer:

   cc -gx -c -DDEBUG -DDEBUGDIR='"/tmp"' sendpsimail.c

I don't call setitimer() in the code.
Does the -gx flag automatically turn on profiling or something?

I don't know what causes this signal to be sent to my mailer.
Where do I start looking?

Thanks very much for any help.

- Anand



More information about the Comp.unix.questions mailing list