>As for using a regular thread or an high one... I wonder why you aren't >spawning another thread just for this task;
Yes, this would be an option, if both High-Threads are overloaded - let's see how it works the simple way. For the last days, this feature (and every change I made) was running on my prod systems without any issue. I use both scanner options. Yes, the overall system workload was a little growing, but this is normal, if now every mail or file is scanned for a virus. And not any other implementation would change this. >>I wonder why you aren't spawning another thread Sounds nice and easy - but it is'nt. Implementing another High-Thread requires a redesign of many code parts. - startup - shutdown - thread controll and monitoring - stats - SNMP - GUI - health check ............ Before I would create a new thread for the scanning, I see the chance to make both new options a 'select' [OFF, resend folder only , resend folder and collected files] . If there are virus infected files in the corpus, this does not matter as long as nobody want to access them. Even infected mail parts are used by the rebuildspamdb to make the spam detection more accuate. Only the resend is dangerous - an infected file should not (never) be resent. Thomas Von: Grayhat <gray...@gmx.net> An: assp-test@lists.sourceforge.net Datum: 22.10.2014 15:25 Betreff: Re: [Assp-test] fixes in assp 2.4.4 build 14295 :: On Wed, 22 Oct 2014 15:09:47 +0200 :: <titc.6372c6e693.of581c4ccf.bef7cd3e-onc1257d79.00471ba1-c1257d79.00484...@thockar.com> :: Thomas Eckardt <thomas.ecka...@thockar.com> wrote: > How ever, assp has to make sure, that no other assp process is able > to access the file before it was scanned - so, a long term queue > (anytime queue) is not an option. thinking loud: store the file in a separate "scan" folder, then the scanner process will decide where to move it (regular storage or quarantine); this way only the scanner will "know where the file is" :) As for using a regular thread or an high one... I wonder why you aren't spawning another thread just for this task; all in all it will run only if this scan is enabled :) ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ 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! ******************************************************* ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Assp-test mailing list Assp-test@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-test