On Thu, 06 Dec 2007 18:03:12 +0100
Ernest Wypierowski <[EMAIL PROTECTED]> wrote:

> I had dive into the maillist's archive but I was unsuccessful in finding
> the answer how to calculate memory stack size for thread in  clamav-mil-
> ter.  I am running clamav-milter in 32 bit mode operating system (linux)
> and I am wonder if there will be a problem in fixing 2 MB per thread?

That mostly depends on your scan settings. If you want to limit the stack
size, you'll definitely need to limit the level of recursion (eg.
MailMaxRecursion, ArchiveMaxRecursion). 2 MB should be enough to keep sane
limits, but you will need to determine proper settings empirically.

-- 
   oo    .....         Tomasz Kojm <[EMAIL PROTECTED]>
  (\/)\.........         http://www.ClamAV.net/gpg/tkojm.gpg
     \..........._         0DCA5A08407D5288279DB43454822DC8985A444B
       //\   /\              Thu Dec  6 18:56:31 CET 2007
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to