Joanna Roman wrote:
What are MaxConnectionQueueLength and MaxThreads for ?
MaxThreads is used to define the number of concurrent scanners; high throughput servers do requiere that many messages be scanned at the same time.
MaxConnectionQueueLength defines how many requests each scanner tries to handle sequentially (by putting them in a FIFO queue they accept new connections but scan one by one). Each scanner is one thread, there is also a manager thread that decides when to create more scanner threads.
I think that you can only run one clamd instance on one machine. Anymore more instaces will automatically exist due to not being able to bind to the same socket (either /tmp/clamd or TCP socket 3310.
Correct.
On my machine, I set both to be 2. Then I noticed that I can do more than two telnet 3310
to the localhost. So I am just curious what are
MaxConnectionQueueLengh and MaxThreads really for ?
I would try more than MaxConnectionQueueLengh x MaxThreads connections (i.e. 5 in your test).
Disclaimer: I'm not a clamav expert, just a programer, and these concepts do vary with different operating systems (how they handle threads and queues) so what I say may not be very precise.
Hope this helps anyway. -- René Berber
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html