> clamd will be linked against libpthread, the command 'ldd 
> /usr/local/sbin/clamd' should so this.

The command shows the following output:

        libclamav.so.1 => /usr/local/lib/libclamav.so.1 (0x4001a000)
        libz.so.1 => /lib/libz.so.1 (0x4003c000)
        libbz2.so.1 => /usr/lib/libbz2.so.1 (0x4004b000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0x4005b000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4008b000)
        libc.so.6 => /lib/i686/libc.so.6 (0x400dc000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I guess it means that multi-threading is enabled, right?

> What platform are you using?

I am running SuSE Linux 9.0 Professional:
Linux version 2.4.21-166-smp4G ([EMAIL PROTECTED]) (gcc version 3.3.1 (SuSE
Linux)) #1 SMP Fri Dec 19 15:43:30 UTC 2003

> One problem I do get with clamd is this:
> 
> $ clamdscan .
> Session(1): Time out ERROR
>  
> ----------- SCAN SUMMARY -----------
> Infected files: 0
> Time: 3.645 sec (0 m 3 s)
> [EMAIL PROTECTED] gale]$ clamdscan .
> /home/gale/./.mozilla/default/5bc4ycs6.slt/Cache/_CACHE_002_:
> Eicar-Test-Signature FOUND
> Session(0): Time out ERROR
> 
> Timed out after 3 seconds! Thats not right.
> 
> A quick look at the code, and it seems that the thread 
> timeout code isn't correct.
> 
> It is also possible that there is a mutex locking bug in clamd.

Could this be the cause of the problem?

Regards,
Phil.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to