Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

thread memory stack size consumption in clamav-milter

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


ew-reg at mailbox

Dec 6, 2007, 1:30 AM

Post #1 of 3 (895 views)
Permalink
thread memory stack size consumption in clamav-milter

Good morning,

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? In
that way I will be able to size daemon for at least more the 1000 simul-
taneous connections.

Best regards,
Ernest Wypierowski
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


ew-reg at mailbox

Dec 6, 2007, 9:03 AM

Post #2 of 3 (795 views)
Permalink
thread memory stack size consumption in clamav-milter [In reply to]

Good morning,

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? In
that way I will be able to size daemon for at least more the 1000 simul-
taneous connections.

Best regards,
Ernest Wypierowski
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net


tkojm at clamav

Dec 6, 2007, 10:13 AM

Post #3 of 3 (796 views)
Permalink
Re: thread memory stack size consumption in clamav-milter [In reply to]

On Thu, 06 Dec 2007 18:03:12 +0100
Ernest Wypierowski <ew-reg[at]mailbox.com.pl> 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 <tkojm[at]clamav.net>
(\/)\......... 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

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.