Re: [Clamav-users] announcing ClamAV 0.92

2007-12-18 Thread Mark
Thanks, Matthias

Usually, via the ports system, I see a lot of FreeBSD specific patches
under ./files -- are you sure I can ignore those? I will give it a try,
though.

- Mark


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthias Häker
Sent: dinsdag 18 december 2007 9:00
To: ClamAV users ML
Subject: Re: [Clamav-users] announcing ClamAV 0.92

Hi

i just installed 0.92 on Freebsd 4.10 without Problems from the source, 
so far no Problems

i will wait 1 or 2 Days before it goes on the other Production Server

Matthias

Mark schrieb:

 Anyone done this on FreeBSD yet?

 http://www.freebsd.org/cgi/cvsweb.cgi/ports/security/clamav/

 Is a no-show.

 - Mark


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


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

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


Re: [Clamav-users] clamav gcc dependendencies ...

2007-12-18 Thread Per Jessen
Török Edwin wrote:

 You don't need to upgrade to 4.1.2/4.2.x.
 gcc-3.4 can be nicely installed side-by-side with a 4.0.x/4.1.0 series
 gcc, all you need to do is:
 
 # apt-get install gcc-3.4
 $ export CC=gcc-3.4
 $ ./configure

All our systems are frozen - no changes until mid-Jan.  clamav is one of
very few exceptions. 


/Per Jessen, Zürich

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


Re: [Clamav-users] clamav gcc dependendencies ...

2007-12-18 Thread Török Edwin
Per Jessen wrote:
 All our systems are frozen - no changes until mid-Jan.  clamav is one of
 very few exceptions. 
   
Try:
$ CFLAGS=-O0 ./configure

If that works you can try:
$ CFLAGS=-O1 ./configure

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


Re: [Clamav-users] announcing ClamAV 0.92

2007-12-18 Thread Gerard
 On December 18, 2007 at 05:57AM Mark wrote:

[ snip ]

 Usually, via the ports system, I see a lot of FreeBSD specific patches
 under ./files -- are you sure I can ignore those? I will give it a try,
 though.

Please don't top post. It makes following a thread far more difficult than
need be.

I am currently using FreeBSD-6.2 and have not had any problems updating
Clamav via the ports system. I use either 'portupgrade' or 'portmanager' to
handle the updating although it works if I do it manually also. Precisely why
do you feel you have to install it from the source code?


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


Re: [Clamav-users] announcing ClamAV 0.92

2007-12-18 Thread Ed Kasky
At 09:36 PM Monday, 12/17/2007, Mark wrote -=
-Original Message-
[mailto:[EMAIL PROTECTED] On Behalf Of Ed Kasky
Sent: dinsdag 18 december 2007 6:28
   Starting clamav-milter: clamav-milter: error while loading
   shared libraries: libclamav.so.3: cannot open shared object
   file: No such file or directory
  
   Ed
 
  I saw the following during make install
 
 (cd /usr/local/lib  { ln -s -f libclamav.so.3.0.3 libclamav.so || {
  rm -f libclamav.so  ln -s libclamav.so.3.0.3 libclamav.so; }; })

Hmm, maybe because milter is looking for libclamav.so.3, whereas
symlinks seems to be made for libclamav.so.3.0.3 only?
http://lurker.clamav.net/list/clamav-users.html

Actually, both clamd and clamav-milter complained...

Ed

. . . . . . . . . . . . . . . . . .
Randomly Generated Quote (315 of 1319):
A man who carries a cat by its tail learns something he can learn
in no other way.

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


Re: [Clamav-users] clamav gcc dependendencies ...

2007-12-18 Thread Stephen Gran
On Tue, Dec 18, 2007 at 03:38:12PM +0100, Oliver Schwarz said:
 is it safe to build it with CFLAGS=-O0 and to let it run on  
 production servers?
 i have to mention, that i'm no expert in using compiler options.

-O0 is safe, but as mentioned elsewhere, I'd just upgrade your compiler.
-- 
 --
|  Stephen Gran  | Schshschshchsch.   -- The Gorn, |
|  [EMAIL PROTECTED] | Arena, stardate 3046.2|
|  http://www.lobefin.net/~steve | |
 --


signature.asc
Description: Digital signature
___
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] 0.92 and memory usage

2007-12-18 Thread Steven Stern
Fabio Pedretti wrote:
 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
   

I'm looking at clamd using 93m (res) and 151m (virt) after running for 
about an hour, using the standard signatures.
On a fresh start, it's 47m (res) and 81m (virt).
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] 0.92 and memory usage

2007-12-18 Thread Steven Stern
Steven Stern wrote:
 Fabio Pedretti wrote:
   
 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
   
 

 I'm looking at clamd using 93m (res) and 151m (virt) after running for 
 about an hour, using the standard signatures.
 On a fresh start, it's 47m (res) and 81m (virt).
   

Half an hour later:

2332 clamav20   0  154m  69m  892 S0  3.5   0:05.28 clamd


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


[Clamav-users] Problem Starting clamd after upgrade to 0.92

2007-12-18 Thread Kaplan, Andrew H.
Hi there -

 

I completed an upgrade of ClamAV to version 0.92 by following the appropriate
procedure on the website. 

When I tried to start either clamd or freshclam, the error message shown below
appears:

 

error while loading shared libraries: libclamav.so.3: cannot open shared object
file: No such file or directory

 

How can I correct this? Thanks. 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


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


Re: [Clamav-users] Problem Starting clamd after upgrade to 0.92

2007-12-18 Thread Kaplan, Andrew H.
Hi there --

Thanks for your e-mail. I ran the ldconfig utility, and afterwards was able
to successfully run freshclam and clamd. Thanks for the help. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Stern
Sent: Tuesday, December 18, 2007 1:51 PM
To: ClamAV users ML
Subject: Re: [Clamav-users] Problem Starting clamd after upgrade to 0.92

Kaplan, Andrew H. wrote:
 Hi there -

  

 I completed an upgrade of ClamAV to version 0.92 by following the appropriate
 procedure on the website. 

 When I tried to start either clamd or freshclam, the error message shown below
 appears:

  

 error while loading shared libraries: libclamav.so.3: cannot open shared
object
 file: No such file or directory

  

 How can I correct this? Thanks. 

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

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


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


[Clamav-users] rpm failed on 0.92

2007-12-18 Thread Sasa
Hi, on Fedora core 3 I have a problem with rpm construction for to use 
clamav-0.92, when I execute:

#rpmbuild --target i386 -ba SPECS/clamav.spec

I have this error:

Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) = 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/var/tmp/clamav-0.92-root
error: Installed (but unpackaged) file(s) found:
   /usr/lib/libclamunrar.so.3.0.3
   /usr/lib/libclamunrar_iface.so.3.0.3
RPM build errors:
Installed (but unpackaged) file(s) found:
   /usr/lib/libclamunrar.so.3.0.3
   /usr/lib/libclamunrar_iface.so.3.0.3

..now I have:

[EMAIL PROTECTED] ~]# rpm -qa|grep unrar
unrar-3.6.8-1.fc3.rf
[EMAIL PROTECTED] ~]# rpm -qa|grep clam
clamav-0.91.2-1

..what's the rpm file that I must upgrade ?
Thanks.

--

   Salvatore.

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


Re: [Clamav-users] rpm failed on 0.92

2007-12-18 Thread Andre Huebner
you have to check your spec-file which is used to build your clam 0.92
this file seems to be new to your spec and is installed into your libdir
add it to  %files-section

André


- Original Message - 
From: Sasa [EMAIL PROTECTED]
To: ClamAV users ML clamav-users@lists.clamav.net
Sent: Tuesday, December 18, 2007 8:10 PM
Subject: [Clamav-users] rpm failed on 0.92


 Hi, on Fedora core 3 I have a problem with rpm construction for to use
 clamav-0.92, when I execute:

 #rpmbuild --target i386 -ba SPECS/clamav.spec

 I have this error:

 Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1
 rpmlib(PayloadFilesHavePrefix) = 4.0-1
 Checking for unpackaged file(s): /usr/lib/rpm/check-files
 /var/tmp/clamav-0.92-root
 error: Installed (but unpackaged) file(s) found:
   /usr/lib/libclamunrar.so.3.0.3
   /usr/lib/libclamunrar_iface.so.3.0.3
 RPM build errors:
Installed (but unpackaged) file(s) found:
   /usr/lib/libclamunrar.so.3.0.3
   /usr/lib/libclamunrar_iface.so.3.0.3

 ..now I have:

 [EMAIL PROTECTED] ~]# rpm -qa|grep unrar
 unrar-3.6.8-1.fc3.rf
 [EMAIL PROTECTED] ~]# rpm -qa|grep clam
 clamav-0.91.2-1

 ..what's the rpm file that I must upgrade ?
 Thanks.

 --

   Salvatore.

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


 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date: 
 17.12.2007 14:13

 

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


Re: [Clamav-users] rpm failed on 0.92

2007-12-18 Thread Brian Morrison
On Tue, 18 Dec 2007 20:10:28 +0100
Sasa [EMAIL PROTECTED] wrote:

 Hi, on Fedora core 3 I have a problem with rpm construction for to use 
 clamav-0.92, when I execute:
 
 #rpmbuild --target i386 -ba SPECS/clamav.spec
 
 I have this error:
 
 Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 
 rpmlib(PayloadFilesHavePrefix) = 4.0-1
 Checking for unpackaged file(s): /usr/lib/rpm/check-files 
 /var/tmp/clamav-0.92-root
 error: Installed (but unpackaged) file(s) found:
/usr/lib/libclamunrar.so.3.0.3
/usr/lib/libclamunrar_iface.so.3.0.3
 RPM build errors:
 Installed (but unpackaged) file(s) found:
/usr/lib/libclamunrar.so.3.0.3
/usr/lib/libclamunrar_iface.so.3.0.3

 ..what's the rpm file that I must upgrade ?
 Thanks.

None, the problem is that the spec file needs the addition of the
libclamunrar*.so* libraries to the files section.

It's easy, find the line that adds the libclamav*.so.* files and copy
it, then modify it as shown in my first sentence.

-- 

Brian Morrison

bdm at fenrir dot org dot uk

   Arguing with an engineer is like wrestling with a pig in the mud;
after a while you realize you are muddy and the pig is enjoying it.

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] rpm failed on 0.92

2007-12-18 Thread Sasa
Hi, my spec file is this:

Name:  clamav
Version: 0.92
Release: 1
Epoch:  102
License: GPL
Group:  System Environment/Daemons
Source0: http://download.sf.net/clamav/%{name}-%{version}.tar.gz
Source1: clamd.sh
Source2: clamav-milter.sh
Source3: freshclam.sh
Source4: clamav-milter.sysconfig
Source5: clamd.logrotate
Source6: freshclam.logrotate
Source7: RPM-clamav.txt
Source8: RPM-clamav-milter.txt
Source9: clamav-milter.daily
Source10: freshclam.daily
Requires: bzip2-libs gmp zlib = 1.2.1.2
Requires: curl libidn
BuildRequires: bzip2-devel gmp-devel zlib-devel = 1.2.1.2
BuildRequires: autoconf automake
BuildRequires: curl-devel libidn-devel
Obsoletes: clamav-lib clamav-update
BuildRoot: %{_tmppath}/%{name}-%{version}-root
..
%if %{!?_without_milter:1}%{?_without_milter:0}
%packagemilter
Summary:Clamav - milter
Group:System Environment/Daemons
License:GPL
Requires:   %{name}-server = %{epoch}:%{version}-%{release}
Requires:   sendmail = 8.12
Requires:   sendmail-cf = 8.12
Requires:   tcp_wrappers
BuildRequires:sendmail-devel = 8.12
BuildRequires:tcp_wrappers
..
%packageserver
Summary:Clamav - clamd an anti-virus daemon
Group:System Environment/Daemons
Requires:   %{name} = %{epoch}:%{version}-%{release}
Obsoletes:  clamd
..
%packagedevel
Summary:Clamav - Development header files and libraries
Group:Development/Libraries
Requires:   %{name} = %{epoch}:%{version}-%{release}
%description  devel
%packagedb
Summary:Clamav - virus patterns DB
Group:System Environment/Daemons
Requires:   %{name} = %{epoch}:%{version}-%{release}
Obsoletes:  clamav-data
..
%prep
%setup -q
%build
%configure \
  --program-prefix=%{?_program_prefix} \
  %{!?_without_milter:--enable-milter} \
  --enable-dns \
  --with-libcurl \
  --disable-clamav \
  --enable-id-check \
  --with-user=clamav \
  --with-group=clamav \
  --disable-zlib-vcheck \
  --with-dbdir=%{_localstatedir}/lib/clamav
%{__make}

%install
[ $RPM_BUILD_ROOT != / ]  rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_initrddir}/
install -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/
install -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/
install -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/
install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/clamav/
install -d $RPM_BUILD_ROOT%{_localstatedir}/log/clamav/
install -d $RPM_BUILD_ROOT%{_localstatedir}/run/clamav/
install -d $RPM_BUILD_ROOT%{_localstatedir}/spool/clamav/

%{__make} DESTDIR=$RPM_BUILD_ROOT install

%{?_without_milter:rm -f $RPM_BUILD_ROOT%{_mandir}/man8/clamav-milter.8*}
install %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/clamd
install %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/freshclam
install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/clamd
install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/freshclam
install etc/clamd.conf $RPM_BUILD_ROOT%{_sysconfdir}/clamd.conf
install etc/freshclam.conf $RPM_BUILD_ROOT%{_sysconfdir}/freshclam.conf
install %{SOURCE7} RPM-clamav.txt
install %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/freshclam
touch $RPM_BUILD_ROOT%{_localstatedir}/log/clamav/clamav.log
touch $RPM_BUILD_ROOT%{_localstatedir}/log/clamav/freshclam.log
..
# Milter
%if %{!?_without_milter:1}%{?_without_milter:0}
install %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/clamav-milter
install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/clamav-milter
install %{SOURCE8} RPM-clamav-milter.txt
install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/clamav-milter
%endif
#

# Customize config files
sed -e 's!^Example!#Example!;
s!^#LogFile .*!LogFile /var/log/clamav/clamd.log!;
s!^#LogFileMaxSize .*!LogFileMaxSize 0!;
s!^#LogTime!LogTime!;
s!^#LogSyslog!LogSyslog!;
s!^#PidFile .*!PidFile /var/run/clamav/clamd.pid!;
s!^#TemporaryDirectory .*!TemporaryDirectory /tmp!;
s!^#DatabaseDirectory .*!DatabaseDirectory /var/lib/clamav!;
s!^LocalSocket .*!#LocalSocket /var/run/clamav/clamd.sock!;
s!^#TCPSocket .*!TCPSocket 3310!;
  s!^#MaxConnectionQueueLength .*!MaxConnectionQueueLength 30!;
  s!^#MaxThreads .*!MaxThreads 50!;
  s!^#ReadTimeout .*!ReadTimeout 300!;
s!^#User .*!User clamav!;
s!^#AllowSupplementaryGroups!AllowSupplementaryGroups!;
  s!^#DetectBrokenExecutables!DetectBrokenExecutables!;
  s!^#ScanMail!ScanMail!;
s!^#ArchiveMaxCompressionRatio .*!ArchiveMaxCompressionRatio 300!;
s!^#ArchiveBlockEncrypted!ArchiveBlockEncrypted!;
s!^#ArchiveBlockMax!ArchiveBlockMax!;' \
  etc/clamd.conf  $RPM_BUILD_ROOT%{_sysconfdir}/clamd.conf

sed -e 's!^Example!#Example!;
  s!^#DatabaseDirectory .*!DatabaseDirectory /var/lib/clamav!;
s!^#UpdateLogFile .*!UpdateLogFile /var/log/clamav/freshclam.log!;
  s!^#PidFile .*!PidFile /var/run/clamav/freshclam.pid!;
s!^#DatabaseOwner .*!DatabaseOwner clamav!;

Re: [Clamav-users] 0.92 and memory usage

2007-12-18 Thread Steven Stern
Steven Stern wrote:
 Fabio Pedretti wrote:
   
 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
   
 

 I'm looking at clamd using 93m (res) and 151m (virt) after running for 
 about an hour, using the standard signatures.
 On a fresh start, it's 47m (res) and 81m (virt).
   
After 3 1/2 hours

 2332 clamav20   0  216m  83m 1636 S0  4.1   0:21.52 clamd 

It does seem to be growing




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


Re: [Clamav-users] 0.92 and memory usage

2007-12-18 Thread David F. Skoll
Steven Stern wrote:

 After 3 1/2 hours
  2332 clamav20   0  216m  83m 1636 S0  4.1   0:21.52 clamd 
 It does seem to be growing

That's probably perfectly normal.  Clamd uses pthreads.  When it needs
to allocate space for a new thread's stack, it allocates memory.
When the thread exits, the memory is not returned to the operating
system but is recycled.  So you can expect clamd to grow, quickly at
first and then gradually, until it reaches some steady-state related to
the maximum number of threads that have ever run simultaneously.

It's also the reason that clamd will appear to use a LOT more memory on
a busy server than on a quiet one.

Now, as to whether pthreads vs. a traditional preforked UNIX server
was the right design decision... that's a whole other thread, so to
speak. :-)

Regards,

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


Re: [Clamav-users] clamav gcc dependendencies ...

2007-12-18 Thread fchan

Hi,
I just configure with CFLAGS=-O0 and did make 
and make install and it worked on my Mac running 
10.4.11!
However we in the Apple user community are at the 
mercy of Apple as to when Apple will update gcc 
to 4.1.1 or later. I had pre-release version of 
gcc-4.2.1 from Apple which didn't work on 
compiling clamav on my Mac running 10.4.11. This 
pre-release version of gcc-4.2.1 was for a 
different project so I didn't think it would work 
since it was partial release.


Frank


hey all,

just to chime in with GCC 4.0.1 compiler problems on Mac OS X 10.4.10Ê
Server.
it breaks with the same errors mentioned:

checking for a supported version of gcc... ok (4.0.1)
checking for gcc bug PR27603... ok, bug not present
checking for gcc bug PR28045... configure: error: your compiler hasÊ
gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/
bugzilla/show_bug.cgi?id=28045

but with Edwins mentioned parameter:
CFLAGS=-O0 it works
CFLAGS=-O1 or CFLAGS=-O2 it fails again.

is it safe to build it with CFLAGS=-O0 and to let it run onÊ
production servers?
i have to mention, that i'm no expert in using compiler options.

thx.
oliver

Am 18.12.2007 um 15:10 schrieb Tšršk Edwin:


 Leonardo Rodrigues Magalh‹es wrote:

 Compiling clamav-0.92 with an old gcc (gcc 3.2 in my Fedora 4 and
 Fedora 5 machines) will make clamav behave strangely, slow ...Ê
 disable
 features ... or something like that ? Is it 'very bad' to compile
 clamav-0.92 with gcc 3.2 ??

 Please note that i'm NOT running in high loaded environments, so
 missing some optimizations flags which would make clamav 0,05% faster
 will certainly NOT be a problem to me.



 Any compiler that passes the test in ./configure is ok (just to beÊ
 clear,
 you can use any compiler, not just gcc).
 For gcc versions  4.1.1, and   4.0 are known to work.
 So 3.2 is ok.

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



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


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


[Clamav-users] ScanRAR?

2007-12-18 Thread Mark
Hmm, I get this error when I put ScanRAR back in:

 

clamav ERROR: Parse error at line 19: Unknown option ScanRAR

 

I thought the ChangeLog said:

 

Wed Dec 12 21:59:00 CET 2007 (tk)

-

  * libclamunrar, libclamunrar_iface: re-include RAR code

 

It DOES seem to be using the libraries, at least:

 

asarian-host: {root} % ldd ./clamd

.../clamd:

libclamav.so.3 = /usr/local/lib/libclamav.so.3 (0x28072000)

...

libclamunrar_iface.so.3 = /usr/local/lib/libclamunrar_iface.so.3
(0x28237000)

libclamunrar.so.3 = /usr/local/lib/libclamunrar.so.3 (0x2823b000)

 

So, how do I re-enable ScanRAR then?

 

Thanks

 

-   Mark

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


[Clamav-users] How to gewt rid of virus intercepted messages

2007-12-18 Thread Markus Gonaus
I am using clamav-milter with sendmail.
The only thing that annoyes me is, I am drowning in virus intercepted 
messages.
They are sent to postmaster as well as to the recipient adresses.
I want to stop both. but nothing foung in the docu now.

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