we have made with the configuration option-x

./configure --enable-clamav=y --enable-clamdscan=/usr/local/bin/clamdscan 
--enable-dropmsg=y --enable-custom-smtp-reject=n --enable-per-domain=y 
--enable-attach=y --enable-spam=y --enable-ripmime=/usr/local/bin/ripmime 
--enable-received=y --enable-spam-hits=5.0 --enable-spamc=/usr/bin/spamc 
--enable-spamc-args="-x -d 172.16.10.9" --enable-spamc-user=y --enable-regex=y 
--with-pcre-include=/usr/local/include

 memory before the crash SA

                   total       used       free     shared    buffers     cached
Mem:       1033468    1012956      20512          0      71440     270720
-/+ buffers/cache:     670796     362672
Swap:      2031608          0    2031608


works for a few minutes then stops again

@400000004a27f6b60c9922c4 simscan:[26843]:CLEAN (0.00/3.00):112.9283s:: 
@400000004a27f6b60ea04d04 simscan:[23571]:CLEAN (0.00/3.00):221.3648s:: 
@400000004a27f6b61000ac0c simscan:[23679]:CLEAN (0.00/3.00):218.1913s:: 
@400000004a27f6b6291b8d4c simscan:[22930]:CLEAN (0.00/3.00):242.5665s:: 
@400000004a27f6b62c46770c simscan:[28731]:CLEAN (0.00/3.00):30.6124s:: 

memory after the fall SA
                  total       used       free     shared    buffers     cached
Mem:       1033468     531860     501608          0      26700     147200
-/+ buffers/cache:     357960     675508
Swap:      2031608      13684    2017924





> Date: Wed, 3 Jun 2009 15:57:08 -0700
> From: jhar...@impsec.org
> To: lcr_2...@hotmail.com
> CC: users@spamassassin.apache.org
> Subject: Re: FW: SpamAssassin error Interrupted system call
> 
> On Wed, 3 Jun 2009, Luis campo wrote:
> 
> > this is an example of var / log / qmail / spamd
> >
> > 2009-06-03 12:00:16.531889500 [19168] info: prefork: child states: 
> > BBBBBBBBBB
> > 2009-06-03 12:00:16.531949500 [19168] info: prefork: server reached 
> > --max-children setting, consider raising it
> 
> There is a problem. You're overloaded. I don't know if spamd being 
> overloaded would result in spamc reporting interrupted system calls, but 
> that would explain the behaviour you are seeing:
> 
> > The problem is that spam works a few minutes then let it pass all 
> > messages giving a score of 0.00 in the log
> 
> From the spamc man page:
> 
>    -t timeout, --timeout=timeout
>      Set the timeout for spamc-to-spamd communications (default: 600, 0
>      disables).  If spamd takes longer than this many seconds to reply to
>      a message, spamc will abort the connection and treat this as a
>      failure to connect; in other words the message will be returned
>      unprocessed.
> 
> "unprocessed" == "score of zero".
> 
> You might try using spamc's "-x" option, which will tell qmail that spamd 
> is overloaded rather than skipping the scan. I don't know how simscan will 
> respond, but it's likely the messages would be queued for retry. Messages 
> would take longer to be delivered, but they would all be scanned.
> 
> > you said we have 3 mx with each SA, which work well only 2 and 3 is 
> > where the error comes, If influence on our server reaches around 75,000 
> > emails received daily.
> 
> You may want to add memory and increase the number of child processes.
> 
> Are you using any DNSBLs to reduce load within qmail at SMTP time, before 
> the messages get passed off to SA for scoring?
> 
> -- 
>   John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>   jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
>   key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
>    Our government should bear in mind the fact that the American
>    Revolution was touched off by the then-current government
>    attempting to confiscate firearms from the people.
> -----------------------------------------------------------------------
>   3 days until the 65th anniversary of D-Day

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

Reply via email to