>the problem is probably due to memory constraint

I think so - because the 'griplist.pl' task is running separate and should 
not take longer than 30-60 seconds. The MaintThread is waiting for this 
task to finish. All other threads should run. I think the whole Perl 
engine is dieing on your system with V2.

To calculate the needed physical memory: 
- start V1 
- take the memory size used by V1
- add 20 MB
- multiply it with (SMTP-Workers + 3)
- add 100 MB if you use Griplist and you have more than 30.000 connections 
a day

If you use BerkeleyDB for the internal hashes and a relational DB for all 
other hashes and lists, no more than 700 MB  should be needed, even if 
more than 10 SMTP-Workers are running. The typical memory usage of ASSP 
with such configuration is 300 to 450 MB + 100MB if rebuildspamdb is used 
+ temporary 100 MB for the 'griplist.pl' .

Never run V2 on systems with one core!

Thomas





"GrayHat" <gray...@gmx.net> 
06.07.2009 12:27
Bitte antworten an
GrayHat <gray...@gmx.net>; Bitte antworten an
ASSP development mailing list <assp-test@lists.sourceforge.net>


An
"ASSP development mailing list" <assp-test@lists.sourceforge.net>
Kopie

Thema
Re: [Assp-test] ASSP V2 - ready to be released on SF ?






> Thomas, as you know I've tried using v2 from time to time and
> each time I had to rollback to 1.x since 2.x bombed on my test
> system; the problem is probably due to memory constraint on
> the test system, at any rate, I'll give v2 a spin next week to see
> what comes out and will report about my findings

Downloaded latest version (RC 0.3.06) and gave it a spin, started
fine, worked for some minutes then, suddenly logged the following

[9648] (ASSP): Jul-6-09 09:50:21 [Worker_10000] Downloading Griplist via
direct HTTP connection
[9648] (ASSP): Jul-6-09 09:50:23 [Worker_10000] Griplist download
completed
[9648] (ASSP): Jul-6-09 09:50:23 [Worker_10000] Info: next Griplist
download in 11 hours 0 mins
[9648] (ASSP): Jul-6-09 09:50:23 [Worker_10000] Griplist download
completed: binary download 1049784 bytes
[9648] (ASSP): Jul-6-09 09:50:23 [Worker_10000] Griplist - starting
binary to text conversion for Griplist

and didn't answer on port 25 anymore; kept waiting for 15 minutes
to no luck, had to kill the two perl processes (one running assp.pl
and the other griplist.pl) and rolled back to v1; not sure what's
causing the above; apparently it should keep working even if a
thread is running the griplist process but it doesn't seem so



------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************

------------------------------------------------------------------------------
_______________________________________________
Assp-test mailing list
Assp-test@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to