http://bugzilla.spamassassin.org/show_bug.cgi?id=3625
------- Additional Comments From [EMAIL PROTECTED] 2004-08-31 15:32 -------
Going back to the original and making just the modification:
--- spamd.orig Tue Aug 31 10:44:36 2004
+++ spamd Tue Aug 31 16:17:09 2004
@@ -1683,7 +1683,7 @@
eval { syslog( 'info', "%s", $msg ); };
- if ($@) {
+ if ($@ || $main::SIGPIPE_RECEIVED ) {
if ($main::SIGPIPE_RECEIVED) {
# SIGPIPE received when writing to syslog -- close and reopen
Does not work. While it will recover to send messages, when shutting it down,
it still fork-bombs. The message log says:
2004 Aug 31 16:27:19 InstaGate spamd[14595]: syslog reopened
2004 Aug 31 16:27:19 InstaGate spamd[14595]: Attempt to free unreferenced
scalar
.
2004 Aug 31 16:27:19 InstaGate spamd[14595]: SIGPIPE received, reopening log
soc
ket
2004 Aug 31 16:27:19 InstaGate spamd[14595]: Attempt to free unreferenced
scalar
at /usr/bin/spamd line 1645.
2004 Aug 31 16:27:19 InstaGate spamd[14595]: logmsg: server hit by SIGCHLD, pid
-1
2004 Aug 31 16:27:19 InstaGate spamd[14595]: server hit by SIGCHLD, pid -1
2004 Aug 31 16:27:20 InstaGate spamd[14483]: syslog reopened
2004 Aug 31 16:27:20 InstaGate spamd[14483]: server hit by SIGCHLD, pid 14488
2004 Aug 31 16:27:20 InstaGate spamd[14483]: SIGPIPE received, reopening log
soc
ket
2004 Aug 31 16:27:20 InstaGate spamd[14483]: server hit by SIGCHLD, pid 14489
Going back to the previous patch, on shutdown I see the following:
2004 Aug 31 16:31:25 InstaGate spamd[14868]: syslog reopened
2004 Aug 31 16:31:25 InstaGate spamd[14868]: SIGPIPE received, reopening log
soc
ket
2004 Aug 31 16:31:25 InstaGate spamd[15412]: Attempt to free unreferenced
scalar
at /usr/bin/spamd line 1645.
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14872
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14873
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14874
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14875
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14876
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14877
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14878
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid 14879
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server hit by SIGCHLD, pid -1
2004 Aug 31 16:31:25 InstaGate spamd[14868]: server killed by SIGTERM, shutting
down
2004 Aug 31 16:31:25 InstaGate spamd[14868]: Attempt to free unreferenced
scalar
.
And there's no forkbomb.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.