Re: qmail hangs for while
Lampa <[email protected]>
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Message-ID | <[email protected]> |
Hello,
spamassassin and clamav are parts of scanning, eg should be:
qmail-smtpd->qmail-scanner|qmail-queue(for some hosts)->deliver
But there is no message from kernel not enough memory. But i'm
checking each 10 minutes system resource (free) 9:10 is before 9:20 is
after (proble was about 9:14 - 9:18)
05.10.07 09:10:
total used free shared buffers cached
Mem: 2061020 1943956 117064 0 111824 544656
Swap: 3951968 102616 3849352
05.10.07 09:20:
total used free shared buffers cached
Mem: 2061020 1172144 888876 0 69752 175092
Swap: 3951968 745208 3206760
Looks that was missing memory perhaps (starts using swap from 100M -> 740M)
5 Oct 2007 17:59:31 -0000, [email protected] <[email protected]>:
> >>
> >> Lampa wrote:
> >> > Hello,
> >> >
> >> > i'm using toaster 0.8.3. Sometimes (one per week) i have problem that
> >> > my server hangs for minute or two. I've limit 50 connections for smtpd
> >> > (local 20 and remote 10), all 50 connections are used. Server load is
> >> > about 50 - 100 and mostly is not responding. I setup connections limit
> >> > (timeoutconnect - 20, timeoutremote - 60, timeoutsmtpd - 60) it helps
> >> > little (dropping spammers and peple who only block free connections).
> >> > Computer is core duo 2 6400@ 2.13GHz with 2G ram. Emails are on
> >> > separate disc. Discs are sata with sw raid (mirror) using reiserfs
> >> > (need migrate to xfs). There is nothing unusual in logs (except no
> >> > activity for minute or two) - no errors, qmail is accepting
> >> > connections.
> >> >
> >> > After this "timeout" spamassassin takes long time to process emails.
> >> >
> >> > Where can be problem ? Weak CPU, bad power source, bad settings ?
> >> >
> >> > Qmail is compiled with conf-spawn = 509, conf-split=101. Qmail-scanner
> >> > using st patch, using fast spamassassin. Spamassassin is 3.2.1. OS
> >> > Debian testing
> >> >
> >> > Any advices welcome, thank you or help.
> >> >
> >> > Lampa
> >> >
> >> Try upping your concurrency for SMTP... with your hardware, 100 SMTP
> >> connections should not be a problem.
> >> First: check your logs and determine your highest local slot usage. With
> >> this in mind,
> >> 20 local connections maybe is too much, since these are done really
> >> fast, try with 10 or even 5...
> >> 10 remote connections is way too little, these can take a lot of time to
> >> complete depending on how much bandwidth you have available. What is the
> >> size of your queue? If you have a lot of messages in your queue raising
> >> from 10 to 20 (or even 40) connections will help a lot!
>
> with qmail-scanner, this means that the given number of remote connections may be
> in the scanning phase simultaneously. If you have antivirus or spamassassin as part
> of your scanning, make sure that the memory footprint of these processes does
> not exceed actual RAM
>
> Wolfgang
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Qmail-scanner-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/