> On Tue, 27 Feb 2007 [EMAIL PROTECTED] wrote: > >> Some emails have a scantime of more than 900 seconds. >> >> I do not see a relation to a huge load on the SpamAssassin Servers >> (I have 2 of them). The timeout problems happen when there is >> small load (10 out of 20 spamds marked Busy) as well as when there >> are 45 spamds forked with 35 marked Busy. > > That really smells like swap thrashing. How much memory is in your SA > servers, and what does procinfo / top report for swap used vs. swap > available when things are going pear-shaped?
RAM doesn't seem to be the issue here. Both spamd boxes are equipped with 4GB RAM. Although all is used up 2.4GB, 1GB respectively are used for disk cache. Swap space is untouched and swap pages per second in|out are near zero. CPU load on both boxes peaks at 10%. Hence both spamd boxes request and write their bayes stuff to one and the same mysql box I suspect there to be the problem. This morning I ran a manual sa-learn --force-expire --sync job on the users the timeout problem occured during the night. While running the job I had several timeout errors on the bayes DB as well as on certain spamd children. In the coming days I will try to reproduce the problem by stressing the SQL based bayes db using a parallelized sa-learn --force-expire job. Philipp > -- > John Hardin KA7OHZ http://www.impsec.org/~jhardin/ > [EMAIL PROTECTED] FALaholic #11174 pgpk -a [EMAIL PROTECTED] > key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 > ----------------------------------------------------------------------- > Users mistake widespread adoption of Microsoft Office as the > development of a standard document format. > ----------------------------------------------------------------------- > 14 days until Albert Einstein's 128th Birthday > >