http://bugzilla.spamassassin.org/show_bug.cgi?id=3828





------- Additional Comments From [EMAIL PROTECTED]  2004-11-24 07:00 -------
okay, after adding additional debug at the cleanup stages, it looks like it
hangs here on copy_config().  and that makes sense because the alarm on check()
is shut off at that point, so the child spins forever chewing up CPU time.

i added the following logmsg's, so it should have said "lets undef current_user"
immediately after it finished copy_config().

        logmsg("calling copy_config");
        $spamtest->copy_config(\%conf_backup, undef) ||
          die "error returned from copy_config, no Storable module?\n";
      }
      logmsg("lets undef current_user");
      undef $current_user;


here is the debug showing where it stopped.


2004-11-24 06:00:46.479088500 debug: [21383] generic: returning
2004-11-24 06:00:46.479090500 debug: [21383] generic: done with call_plugin
check_end
2004-11-24 06:00:46.483242500 logmsg: [21383] clean message (-0.8/5.0) for
$global:0 in 4.5 seconds, 1521 bytes.
2004-11-24 06:00:46.483341500 logmsg: [21383] result: .  0 -
AWL,BAYES_05,HTML_10_20,HTML_MESSAGE,HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,NO_REAL_NAME
scantime=4.5,size=1521,mid=<[EMAIL 
PROTECTED]>,bayes=0.015070754421061,autolearn=no
2004-11-24 06:00:46.483364500 logmsg: [21383] calling status->finish
2004-11-24 06:00:46.483384500 debug: [21383] generic: call_plugins 
per_msg_finish
2004-11-24 06:00:46.483404500 debug: [21383] call_plugins: run callback on
per_msg_finish
2004-11-24 06:00:46.483424500 debug: [21383] generic: callback per_msg_finish
started
2004-11-24 06:00:46.483426500 debug: [21383] generic: lets step thorugh the 
cbpairs
2004-11-24 06:00:46.483445500 debug: [21383] generic: returning
2004-11-24 06:00:46.483464500 debug: [21383] generic: call_plugins
per_msg_finish complete
2004-11-24 06:00:46.484231500 debug: [21383] generic: done deleting self keys
2004-11-24 06:00:46.484253500 logmsg: [21383] calling mail->finish
2004-11-24 06:00:46.484288500 debug: [21383] finish: called for Message.pm
2004-11-24 06:00:46.484602500 debug: [21383] finish: completed for Message.pm
2004-11-24 06:00:46.484708500 logmsg: [21383] spamd: done with check, calling
client->close
2004-11-24 06:00:46.484827500 logmsg: [21383] spamd: returning from 
accept_a_conn
2004-11-24 06:00:46.484876500 logmsg: [21383] returned, evalret is 1
2004-11-24 06:00:46.484897500 logmsg: [21383] do we need to switch uid/gid back?
2004-11-24 06:00:46.484918500 logmsg: [21383] lets restore the config
2004-11-24 06:00:46.484959500 logmsg: [21383] while config in backup, username 
root
2004-11-24 06:00:46.485000500 logmsg: [21383] while config in backup,
learn_to_journal 1
2004-11-24 06:00:46.485019500 logmsg: [21383] calling copy_config


2004-11-24 06:05:01.262876500 logmsg: [8814] received child_handler CHLD
2004-11-24 06:05:01.262949500 logmsg: [8814] server hit by SIGCHLD
2004-11-24 06:05:01.263009500 logmsg: [8814] handled cleanup of child pid 21383
2004-11-24 06:05:01.263035500 logmsg: [8814] set SIGCHLD
2004-11-24 06:05:01.263108500 logmsg: [8814] Need to Spawn a new CHILD!!!
2004-11-24 06:05:01.268627500 logmsg: [8814] server successfully spawned child
process, pid 25546

so i guess now i get to dbg out sub copy_config.  :)





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to