Search 
You are here: Forums   
Latest PostsMinimize
RE: Hack attempts seem to be taking down POP3
by SteveT
on 05 Feb 2012 11:46 AM
RE: Hack attempts seem to be taking down POP3
by ub
on 04 Feb 2012 04:52 PM
RE: relaying denied errors
by SteveT
on 02 Feb 2012 10:29 AM
RE: relaying denied errors
by electricpet
on 02 Feb 2012 09:12 AM
RE: relaying denied errors
by SteveT
on 02 Feb 2012 12:57 AM
relaying denied errors
by electricpet
on 30 Jan 2012 10:47 AM
RE: Hack attempts seem to be taking down POP3
by ub
on 25 Jan 2012 07:56 PM
RE: Hack attempts seem to be taking down POP3
by TheOtherBob
on 25 Jan 2012 03:01 PM
RE: Hack attempts seem to be taking down POP3
by ub
on 24 Jan 2012 08:26 PM
RE: I have to migrate mailserver pro > mailserver.net
by vincewarde
on 18 Jan 2012 11:08 AM
I have to migrate mailserver pro > mailserver.net
by vincewarde
on 17 Jan 2012 08:20 PM
RE: How can I set up a DNS server - MySQL
by StephenRussell
on 13 Jan 2012 09:15 AM
RE: How can I set up a DNS server - MySQL
by SteveT
on 12 Jan 2012 01:58 PM
How can I set up a DNS server - MySQL
by StephenRussell
on 12 Jan 2012 05:18 AM
RE: IMAP / iPhone
by Eskissimo
on 06 Jan 2012 07:47 AM
RE: IMAP / iPhone
by Bru92
on 06 Jan 2012 07:35 AM
RE: IMAP / iPhone
by Eskissimo
on 20 Dec 2011 06:03 AM
RE: Feature Request: DKIM Signing
by jeffff
on 13 Dec 2011 05:11 PM

ArGoStuff User to User Support Forums
How do I throttle MF?
Last Post 20 Apr 2008 08:35 AM by Steve Topilnycky. 10 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
AuthorMessages
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
19 Apr 2008 03:41 AM  

Hi all.

So far my testing of Argo .Net with the latest MF using Sophos AV and SpamAssaaasin has been going well - until I added more than a few domains!  Now the server just kills itself by doing too much.  Although I have restricted Argo and MF to use 1 delivery thread I end up with an ever growing number of sav32cli.exe and sa.exe processes.  It was fine with just a few small domains but now it's at the point where the server barely responds.  Has anyone else encountered this?

I'll try recreating the filters, and taking them out one at a time to see where the problem lies, but wondered if there is a way to easily control the number of messages it processes at one time?

Thanks,

Dave

Dave Webb
www.windows2008forums.co.uk
Steve TopilnyckyUser is Offline
Forum Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:1277
Avatar

--
19 Apr 2008 03:48 AM  

Hi Dave,

Have you tried excluding the Sophos AV and the SA to see if they are the cause of the tie up.  I don't recall if Sophos was listed in MF list of AV products.  I am not familiar with Sophos, but I do use AVG and find it integrates will with ArGo.  I also do not use SA, I use Paranoid instead.

- - - - - - -
Regards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com/
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
19 Apr 2008 05:11 AM  
Hi Steve.

Having removed the rules and put them back one at a time it seems that SA (Win32 version) is the problem. With a few emails coming through at a time it's fine, but with a hundred or so every minute I end up with about 40 SA.EXE processes running, eating about 32MB of RAM each (!) and not terminating. I've tried restricting the delivery threads in Argo and MF to just 1 but this doesn't seem to help. Any thought?

Thanks,
Dave
Dave Webb
www.windows2008forums.co.uk
Steve TopilnyckyUser is Offline
Forum Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:1277
Avatar

--
19 Apr 2008 05:22 AM  

Dave,
I have never used SA. Is there a different method of running it (PERL)? From the sounds of it, each time SA is called it is launching a new instance and racking up the memory.

Take a look at this solution:
http://support.sssolutions.net/kb/i...21&c=7

- - - - - - -
Regards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com/
Roland -User is Offline
Forum Moderator
Veteran Member
Veteran Member
Send Private Message
Posts:1073
Avatar

--
19 Apr 2008 05:25 AM  
Have you ever tried to use spamd (daemonized version of spamassassin). It is much less resource consuming and it works well for me.

Let me know if you need assistance for setup.

-Roland
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
19 Apr 2008 05:46 AM  

Steve,

I use the PERL version on 3 other servers and don't have a problem with it.  However, for some reason on this one it won't work and I've had to use the Win32 version.  The only difference is this one is running Argo .NET and the latest version of MF (this is my test server to help me sus out the problems before upgrading the other 3).

Just for my own sanity, am I right in thinking that in MF I need to use the filters on the Default tab for MailBag messages and the Incoming/Outgoing tab for POP3/SMTP messages?

Dave

Dave Webb
www.windows2008forums.co.uk
Steve TopilnyckyUser is Offline
Forum Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:1277
Avatar

--
19 Apr 2008 05:48 AM  
Dave,

Honestly, I'm not sure, as I do not have any mail bags, so I can not even test this.
- - - - - - -
Regards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com/
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
19 Apr 2008 06:12 AM  
Steve,

No problem - thanks for replying anyway. I thought I'd sorted it by adding sa.exe to the Windows firewall exceptions (when testing via a command prompt it popped up with the warning) and for about 10 minutes it seemed alright, processes were starting and then terminating a few seconds later. But now I have 40 instances of sa.exe running and the server is barely responding.

It could also be related to the server spec - as it's a test box it's only a Celeron 1.7 with 1GB of RAM so I may try testing on a better server if I can.

Thanks,
Dave

P.S. As I'm typing this I've just noticed that the MF service has stopped - probably out of resources!
Dave Webb
www.windows2008forums.co.uk
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
19 Apr 2008 06:53 AM  

Just a quick update...

I found that by running a virus check and spam check by hand through the command prompt that it was taking 15 seconds for SpamAssassin and about 5 seconds for Sophos, totalling about 20 seconds per message. Adding the -L parameter to the SA check improved things (down to about 5 seconds) but when there are about 20 processes running at once they tend to exceed the timeout specified in MailFilter (I don't want it to be above 60 seconds really).

Despite setting the number of threads in MF to 1 I am still seeing an infinite number of messages being scanned at once. How can I fix this? On my other servers it's set to 5 which works well. I am using 4.1.121.

Also, I have my rules set to save the message before deleting them if they are SPAM - since yesterday this has stopped working. It's deleting them without saving them (nothing in the rule has changed and the target path does exist).


Update 2...

The mail server is ignoring my list of valid recipients and accepting stacks of messages to random recipients, which should be ignored and not processed.  This is probably contributing to the high volume of sa.exe processes, etc.  I have emailed Archie to see if he has come accross this before.

Dave Webb
www.windows2008forums.co.uk
Dave WebbUser is Offline
Basic Member
Basic Member
Send Private Message
Posts:146

--
19 Apr 2008 12:55 PM  
OK, I think I've sorted this one now. Having spoken to Archie it seems that MailBags require a full email address for valid recipients as opposed to just a username in the .Net version (despite the help file saying NOT to include the domain part). Having sorted this out the number of messages being processed by SA and Sophos has dropped dramatically, and now it seems fairly stable. Hoepfully come Monday morning when lots of real messages come piling in it will hold out.

I hope this helps anyone else who runs into the same problems

Dave
Dave Webb
www.windows2008forums.co.uk
Steve TopilnyckyUser is Offline
Forum Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:1277
Avatar

--
20 Apr 2008 08:35 AM  
Dave,

Thanks for sharing your experience with us. I am sure that it will of help to someone.
- - - - - - -
Regards,
Steve Topilnycky
Top Cat Computing
http://www.topcatcomputing.com/
You are not authorized to post a reply.

Active Forums 4.2
DonationsMinimize

Find our site useful? Make a donation to show your support

Donate

logo_ccMC.giflogo_ccVisa.giflogo_ccDiscover.giflogo_ccAmex.gif

ArGoStuff Supporters

 


News from ArGoSoftMinimize
1 2 3 4 5 6


Mail Server v1.0.8.3
  • Added support of STARTTLS (STLS) command for SMTP, POP3, IMAP, and SMTP relay and delivery, which will allow secure, fully encrypted connections, when possible;
11/6/2011 1:10:34 PM
Mail Server v1.0.8.2
  • Optimized delivery speed. In earlier versions each "tick" which was checking whether messages were in the outbox queue, was picking up only one message at a time. Now it will attempt to pick MaximumAllowedThreads-ActiveDelivery threads messages, which should considerably increase deliver speed;
  • Optimized SEARCH and STATUS IMAP commands. They appear to be used very extensively by Android, and (not that extensively, but still) by iPhone. Now users who use mobile phones to access their IMAP accounts will see considerable improvement;
  • Optimized STORE IMAP command. Before storing of IMAP flags was occuring one message at a time, which seemed to be fine with SQL server, but proved to be slow for SQLite... Now it happens with single SQL call.
10/8/2011 7:59:35 PM
ArGoSoft Mail Server v1.0.8.1
  • Fixed a bug: when using IMAP via Firefox with "When I delete a message, move it to Trash folder" option, marking messages in the trash folder was causing high CPU usage, and was taking some time, making the server pretty much non-responsive. The problem was happening only when using SQLite.
6/6/2011 9:33:36 PM
ArGoSoft Mail Server v1.0.8.0
  • Fixed a problem with web interface - was showing only first page of messages, and would not switch to other pages; In order to fix the web interface, mail server itself has to be updated;
  • When installint initially, was still using SQLite, even when SQL was requested;
  • There was a problem with switching from SQLite database engine to SQL server database engine: the SQL database was not being created;
5/23/2011 5:53:55 PM
ArGoSoft Mail Server .NET v1.0.7.9
  • The server no longer requires Microsoft SQL Server. If SQL server is not found, it will use SQLite engine, which does not require separate installation. If SQL server is found, then user will be prompted whether he wants to use it;
  • Made other improvements, such as, now mailbox rebuild indexes orphaned records, rather then deleting them, also added an opotion to increment UIDL validity of folder (both on the Mailbox viewer box);
  • Made minor improvements on web interface;
4/26/2011 9:47:25 PM


1 2 3 4 5 6

Get PayPal


Home:ArGoStuff:Forums:Articles:Cyber Security Tips:FAQ:Downloads:Links
Copyright 2006-2011 by ArGoStuff Terms Of UsePrivacy Statement