I am running 2.6 on a P4-2.4GHz that gets about 1/3 that amount of traffic and most of my analyses are completed in under .25 seconds. The box is running RH9.0 and using postfix to call procmail.
A few things I can recommend that speed things up: 1) Turn off RBL lookups 2) Run a local caching DNS daemon 3) Check your swap space and increase phsical memory if you are using it 4) Make sure spamd is set up to spawn enough children if things are beign queued up by the default. Here's my stats for the past couple of hours (I zeroed my logs this morning): Number of spams : 6076 ( 74.10%) Number of clean messages : 2124 ( 25.90%) Average message analysis time : 0.22 seconds Average spam analysis time : 0.23 seconds Average clean message analysis time : 0.20 seconds Average message score : 11.68 Average spam score : 16.49 Average clean message score : -2.12 Total spam volume : 29 Mbytes Total clean volume : 7 Mbytes On Wed, 8 Oct 2003, Diego Weinstein wrote: > I'm using SA 2.6 spamd/spamc > > I'm using it in a very loaded server, I get arround 2 mail connections > per second. > I want to know if there are people having this kind of load, or even > bigger, cause I don't think this should be a big load for the server. > > The server is Pentium III 1 ghz, 512 MB ram. > Linux and postfix as mta. > > I've noticed many mails beeing analyzed by SA for more than 400 seconds. > So because of this, the mail quere starts growing. > I've tried the timeout in spamc -t, so I've noticed that spamc gives me > back the mail, but spamd keeps analyzing it, reaching the times already > mentioned. > Any Ideas about this? > > Is SA supose to work with big loads. > > To have a stable server, I had to make a script which runs every 10 > sends, to stop analyzing when the queue gets to 400 mails and to start > again when it gets to 100 mails. So this gives me arround 1 minute per > hour, when the spamassassin is not analyzing. This is not something I > like use, but was the only thing that gave me the stability I needed. > > > Local.cf > > user_scores_sql_username spam > user_scores_sql_password pass > > ######################################################################## > ### > # Automatic-whitelist directory, for the default db-based whitelist > # backend. By default, each user has their own, in their > ~/.spamassassin > # directory with mode 0600, but for system-wide SpamAssassin use, you > may > # want to share this across all users; uncomment and customise the below > # lines. (Make sure the mode has --x bits set.) > > auto_whitelist_factor 0.5 > > # default: per-user whitelist: > # auto_whitelist_path ~/.spamassassin/auto-whitelist > # auto_whitelist_file_mode 0600 > > # use this for a system-wide whitelist: > auto_whitelist_path /var/spool/spamassassin/auto-whitelist > auto_whitelist_file_mode 0666 > > > rewrite_subject 1 > > #body HOLAS /holas/i > #describe HOLAS pusieron holas > > #score HOLAS 60 > > required_hits 10 > > > bayes_ignore_header ReSent-Date > bayes_ignore_header ReSent-From > bayes_ignore_header ReSent-Message-ID > bayes_ignore_header ReSent-Subject > bayes_ignore_header ReSent-To > bayes_ignore_header Resent-Date > bayes_ignore_header Resent-From > bayes_ignore_header Resent-Message-ID > bayes_ignore_header Resent-Subject > bayes_ignore_header Resent-To > > score RCVD_IN_OSIRUSOFT_COM 0 > score X_OSIRU_DUL 0 > score X_OSIRU_DUL_FH 0 > score X_OSIRU_OPEN_RELAY 0 > score X_OSIRU_SPAM_SRC 0 > score X_OSIRU_SPAMWARE_SITE 0 > score RCVD_IN_ORBS 0 > > > # Enable the Bayes system > use_bayes 1 > > # Enable Bayes auto-learning > auto_learn 1 > bayes_learn_to_journal 1 > > skip_rbl_checks 0 > use_razor2 0 > use_razor1 0 > use_dcc 1 > use_pyzor 0 > > # Mail using languages used in these country codes will not be marked > # as being possibly spam in a foreign language. > # - english hebrew spanish > ok_languages en he es > > # Mail using locales used in these country codes will not be marked > # as being possibly spam in a foreign language. > ok_locales es > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk