|Main Archive Page > Month Archives > clamav-users archives|
On 05/22/2010 08:34 AM, Dennis Peterson wrote:
> Has the team explored the notion of checking MD5 hashes of signature
> files before deciding to reload them?
This might be useful if partial reloads would be supported, but see below.
clamd checks the timestamp on the DB, and reloads it if it has changed,
or if freshclam/clamdscan --reload explicitly tells it to reload.
Is there a situation where the timestamp changes but the DB stays the same?
> Is it even possible to reload only
> those that have changed since the last reload?
The engine only supports a full reload, since a reload actually means:
- drop reference count on old engine (so its memory will be freed once
all scanning threads that use it finish)
- create a new engine
- load database into new engine
- compile the engine