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!
Now with regards to the unresponsiveness of the system, you maybe experiencing DNS timeouts and with the small amount of slots available, well, while the server is waiting, nothing is getting done and this is the real source of your problem. Please consider using a DNS cache locally which will speed up DNS queries. If you use rblsmtpd to block, try removing the rblsmtpd from the SMTP, and restart. If things start behaving "normally" then you found your problem. You need to determine which RBL is timing-out and remove it, then reinstate all the working RBL lists. -- Jorge Valdes Intercom El Salvador ------------------------------------------------------------------------- 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 Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general