You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Rick Macdougall <ri...@nougen.com> on 2005/09/15 20:21:33 UTC

SA 3.1.0 freezing

Hi,

I'm having an issue with SA 3.1.0 freezing, it will run through a couple 
of users (3 - 10) and then lockup.

The debug log shows

@400000004329b9a03554bf84 [14009] dbg: config: Conf::SQL: executing SQL: 
select preference, value  from userpref where username = 
'munged@clubplus.net' or username = '@GLOBAL' order by username asc
@400000004329b9a0355ced44 [14009] dbg: config: retrieving prefs for 
munged@clubplus.net from SQL server
@400000004329b9a0355ffa84 [14009] dbg: info: user has changed
@400000004329b9a03563619c [14009] dbg: config: score set 1 chosen.

and it just stops there.

stracing the process shows the process just waiting

tmp]# strace -p 14009
Process 14009 attached - interrupt to quit
read(7,

I also always see this in the logfiles
dbg: prefork: sysread(7) not ready, wait max 300 secs

Specs
Redhat ES fully up to date
This is perl, v5.8.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)

Any one with any ideas ?

Regards,

Rick


Re: SA 3.1.0 freezing

Posted by Rob Mangiafico <rm...@lexiconn.com>.
> Rick Macdougall wrote:
> > I'm having an issue with SA 3.1.0 freezing, it will run through a 
> > couple of users (3 - 10) and then lockup.
> > ...
> > and it just stops there.
> > ...
> > Any one with any ideas ?
> BTW, a reboot fixed it but I still don't know what caused it.

We have seen this with a RHEL 3.5 server SMP kernel as well, but the 
problem was not specific to spamassassin, but something on the OS/kernel 
level that not only caused spamd to hang up, but clamav, and even trying 
to send an attachment locally from pine, mail, etc... A reboot would clear 
up the problem, but it would return 3-5 days later. The hangups would only 
be for emails with attachments.

If you see the problem again, let me know, as we are trying to find the 
cause as well. We will be going to a non SMP kernel if the problem appears 
again. You can grep your /var/log/maillog looking for:
grep timeout /var/log/maillog|grep -i local

If you see a lot of timeouts during draining input, this will signal the 
problem re-occuring.

Rob


Re: SA 3.1.0 freezing

Posted by Rick Macdougall <ri...@nougen.com>.
Rick Macdougall wrote:

> Hi,
>
> I'm having an issue with SA 3.1.0 freezing, it will run through a 
> couple of users (3 - 10) and then lockup.
>
> The debug log shows
>
> @400000004329b9a03554bf84 [14009] dbg: config: Conf::SQL: executing 
> SQL: select preference, value  from userpref where username = 
> 'munged@clubplus.net' or username = '@GLOBAL' order by username asc
> @400000004329b9a0355ced44 [14009] dbg: config: retrieving prefs for 
> munged@clubplus.net from SQL server
> @400000004329b9a0355ffa84 [14009] dbg: info: user has changed
> @400000004329b9a03563619c [14009] dbg: config: score set 1 chosen.
>
> and it just stops there.
>
> stracing the process shows the process just waiting
>
> tmp]# strace -p 14009
> Process 14009 attached - interrupt to quit
> read(7,
>
> I also always see this in the logfiles
> dbg: prefork: sysread(7) not ready, wait max 300 secs
>
> Specs
> Redhat ES fully up to date
> This is perl, v5.8.0 built for i386-linux-thread-multi
> (with 1 registered patch, see perl -V for more detail)
>
> Any one with any ideas ?
>
> Regards,
>
> Rick
>
Hi,

BTW, a reboot fixed it but I still don't know what caused it.

Regards,

Rick