On Tue, Sep 28, 2004 at 11:56:52AM -0700, Justin Mason wrote:
> Will Yardley writes:
> > On Fri, Sep 24, 2004 at 10:22:01AM -0700, Justin Mason wrote:
> > > Will Yardley writes:

> > > > Much more detailed information in bug #3667 (bugzilla.spamassassin.org)

> > > I'm almost certain it's a fixed bug.

> > What will provide the most useful information for debugging this? Should
> > I run the daemon in debug mode, or just run strace on it and see what
> > happens when it dies?
 
> *both* would provide info that will help. ;)

So just do this?

 # /usr/local/bin/spamd -d -D 2> /tmp/spamd.debug.out

or do you have to do something special to get debug to work when running
as a daemon? Do I need to do something to get the child processes to
spit out debug information too?

for strace, I'm doing:
 # strace -f -p[pid] 2> /tmp/spamd.strace.out &
 # disown %1
(-f should be chasing the child processes as well)

so far here I'm just seeing:
pause(

in the strace output (I'd expect much more verbose output here), and
just:

creating INET socket:
        Listen: 128
        LocalAddr: 127.0.0.1
        LocalPort: 783
        Proto: 6
        ReuseAddr: 1
        Type: 1
debug: SpamAssassin version 3.0.0
debug: Score set 0 chosen.
debug: Storable module v1.014 found

in the debug file.

Reply via email to