HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

Number of threads
http://havp.hege.li/forum/viewtopic.php?f=3&t=247
Page 1 of 1

Author:  decoder [ 13 Jun 2007 13:40 ]
Post subject:  Number of threads

Hello all,

I have a problem concerning the number of threads started, my config shows:

SERVERNUMBER 4
MAXSERVERS 20

Still, I see more than 40 threads of havp, how is this possible? I'm using the clamav library scanner and the machine only has 512 MB of RAM (currently) so this is important to me until the memory size is increased.

Thank you very much in advance

Chris

P.S.: Feature request: A possibility to exclude certain OSes from scanning (using UserAgent to determine OS). We run a mixed environment and only need this scanner for our windows boxes, but it is hard to do this on a IP basis.

Author:  damo2929 [ 13 Jun 2007 15:16 ]
Post subject: 

Quote:
P.S.: Feature request: A possibility to exclude certain OSes from scanning (using UserAgent to determine OS). We run a mixed environment and only need this scanner for our windows boxes, but it is hard to do this on a IP basis.


couldn't you handle this with squid using it's ACL's ?

Author:  decoder [ 13 Jun 2007 15:19 ]
Post subject: 

Quote:
couldn't you handle this with squid using it's ACL's ?


Yes, possibly. I haven't exactly found out yet how, but it could be possible. The disadvantage is that I have to run squid as well then.

Regards,


Chris

Author:  damo2929 [ 13 Jun 2007 15:21 ]
Post subject: 

I would always use squid with it because of it's ACL's, content cache to cache clean content, download rate limiting, timeout handling etc.

Author:  hege [ 13 Jun 2007 17:42 ]
Post subject:  Re: Number of threads

decoder wrote:
Hello all,

I have a problem concerning the number of threads started, my config shows:

SERVERNUMBER 4
MAXSERVERS 20

Still, I see more than 40 threads of havp, how is this possible? I'm using the clamav library scanner and the machine only has 512 MB of RAM (currently) so this is important to me until the memory size is increased.


You will always see more processes than set, it's fine.

1 main process + 20 scanner "handlers" + 20*(number of scanners) slaves

20 concurrent connections handled

Page 1 of 1 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/