Re: [Clamav-users] Unix socket vs IP Socket

2007-05-08 Thread Fabio Pedretti
Ideally, it should be faster if using only the unix socket, but there  
is this in clamdscan/client.c:

/* #define ENABLE_FD_PASSINGFIXME: Doesn't work yet */


But since it's passing the file stream, should not be possible to scan  
all files, regardless of the file permission, with clamdscan? But this  
is not the case: with clamdscan it is possible to scan only file seen  
by clamd.

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] 0.92 and memory usage

2007-12-18 Thread Fabio Pedretti
I just upgraded my servers after a little testing: 0.92 seems to be about 20% 
faster than 0.91.2 and about 15% faster than 0.92rc2.
The initial memory usage seems to be a little improved also (from 36m to 35m).

Remains, however, the problem of icreased memory usage after DB reload:

This is my "top" output after launching clamd but before DB reload:

16100 vscan  9   0 36484  35m 1080 S  0.0  1.8   0:02.90 clamd
16408 vscan  9   0 36484  35m 1080 S  0.0  1.8   0:00.02 clamd

After bout 1800s there is the DB self checking (note that I'm also using 
sanesecurity signatures so the over 190k signatures):

Tue Dec 18 17:18:37 2007 -> No stats for Database check - forcing reload
Tue Dec 18 17:18:37 2007 -> Reading databases from /usr/local/share/clamav
Tue Dec 18 17:18:39 2007 -> Database correctly reloaded (190744 signatures)

And this is the "top" output just a second after the DB reload:

16100 vscan  9   0 70408  68m 1088 S  0.0  3.4   0:05.05 clamd
16408 vscan  8   0 70408  68m 1088 S  0.0  3.4   0:00.02 clamd


___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Mailscanner doesn't work with 0.92 due to libclamav incompatibility

2007-12-20 Thread Fabio Pedretti
Newer release of Mailscanner lets you connect directly to clamd, which does not 
have this problem and should also use less memory.

If in doubt ask to Mailscanner mailing list.

Citando Dariusz Wojciechowski <[EMAIL PROTECTED]>:

> Hi.
>
> I use Clamav with Mailscanner inastalled on RHEL4. It works as perl module.
>
> I recently upgraded Clamav to the newest version (from Dag Wieers' packages)
> and Mailscanner stopped to work. The probable reason is that Mailscanner
> needs libclamav.so.2, which is not supplied by Clamav 0.92.
>
> When I tried to reinstall perl-Mail-ClamAV, dependencies failed due to
> libclamav improper version.
>
> What should I do now? Wait for new perl module, which is libclamav.so.3
> capable? Or can I just make symlink like libclamav.so.2 -> libclamav.so.3?
> Will it work?
>
> Darek
>   ___
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>



-- 
Fabio Pedretti
Facoltà di Ingegneria
Università degli Studi di Brescia
Via Branze, 38
25123 Brescia

Tel: ++39.030.3715431
Fax: ++39.030.380014

___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html