Newsgroups: comp.mail.sendmail
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!comp.vuw.ac.nz!cc-server4.massey.ac.nz!A.Raman
From: A.Raman@massey.ac.nz (A.V.Raman)
Subject: Mailer getting killed by SIGPROF
Message-ID: <1991Jun4.223419.8121@massey.ac.nz>
Organization: Massey University Computer Centre
Date: Tue, 4 Jun 91 22:34:19 GMT

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
the 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

