[clamav-users] clamd using ~1GB memory on Debian Stretch
Avinash Sonawane
rootkea at gmail.com
Mon May 13 14:55:57 UTC 2019
On Mon, 13 May 2019 16:21:15 +0200
Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
> loading takes time, much time.
How much time are we talking about here? I suppose by 'time' we mean
loading time (load binary and signatures) + processing time (comparing
signatures).
Now, for loading time, when I start firefox within 5-6 seconds it
immediately fills up 250+ Mb memory so for 950+ Mb (clamd) loading time
shouldn't be that of an issue.
Please note that processing time will be the same doesn't matter whether
you keep clamd and signatures loaded *all the time* or load on demand.
> And, they still would take about the same memory.
Yes. The difference is hogging memory *all the time* and loading *on
demand*
> there are many signatures, they must be parsed and understood by
> clamav. The only place they can be stored at scanning time is the
> memory.
Of course, at scanning time those signs/dbs need to be in memory. At
scanning time not *all the time*. e.g. I am expecting an email at 6 PM.
I don't mind clamd taking that much of a memory *at* 6 PM and then
release it. I find it absolutely inconvenient to having to forgo ~1GB
memory since the morning. As I said, a poor bargain.
Regards,
Avinash Sonawane (rootKea)
PICT, Pune
https://rootkea.wordpress.com
More information about the clamav-users
mailing list