Re: [Clamav-users] Problem after upgrade

2007-03-09 Thread Awie
  Yes, seems the message was coming from Qmail-Scanner. But the Clamd
 consume
  a lot of CPU resource.
  I upgraded the new version for 11 servers. All servers have same
  configuration (setting) and but only 1 server that gave me such error.
 the
  user of clamd. The user of clamd has not been changed since ClamAV
 version
  0.7x. I run the clamd with daemontools.

 Hi Todd,

  Typically you spawn apps with softlimit in the qmail world.  Tests:
  1) Remove softlimit completely.  It will probably start to work.

 The Clamd run under daemontools with a very high CPU usage. The qmail did
 not directly use (load) Clamd but through Qmail-scanner. Jim explained
that
 Clamd did not work well (yes, it is). Of course, Qmail-scanner unable run
 well without normal clamd.

 I am very curios, why clamd run with a very high CPU usage.

Hi All,

I re-installed the latest version of ClamAV from very beginning. seems it
work normally now.

Thx  Rgds,

Awie


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


Re: [Clamav-users] Problem after upgrade

2007-03-07 Thread Jim Maul

Awie wrote:

Hi all,

After upgrading to ClamAV 0.90.1, I got problem with message below:

clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms
problem - exit status 512/2

Would you tell me the source of such problem? Your answer is very
appreciated and waited for.




This is not a clamav issue.  You are probably running clamd as a 
different user or maybe your install configured things as a different 
user than you had in the past.  Check to see what user clamd is running 
as and make sure all clamav directories are accessible by that user.


Also, is clamd running?

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


Re: [Clamav-users] Problem after upgrade

2007-03-07 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Mar 08, 2007 at 12:51:36AM +0800, Awie wrote:

Yes, seems the message was coming from Qmail-Scanner. But the Clamd consume
a lot of CPU resource.
I upgraded the new version for 11 servers. All servers have same
configuration (setting) and but only 1 server that gave me such error. the
user of clamd. The user of clamd has not been changed since ClamAV version
0.7x. I run the clamd with daemontools.

Typically you spawn apps with softlimit in the qmail world.  Tests:
1) Remove softlimit completely.  It will probably start to work.
2) Put it back in and up the limits substantially, see if you can find a
safe spot.
- -- 
Regards...  Todd
Exponential problems need logarithmic solutions. --Eddy Dreger
Linux kernel 2.6.17-6mdv   5 users,  load average: 0.11, 0.12, 0.09
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFF7vgbY2VBGxIDMLwRAh0AAJ4uKhWHC62DMYmnXzkLsi3Rh4ek1wCeJ7w5
xmIuhLGAYAv1u5IuVFAPKKE=
=ladM
-END PGP SIGNATURE-
___
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Problem after upgrade

2007-03-07 Thread Awie
  After upgrading to ClamAV 0.90.1, I got problem with message below:
 
  clamdscan: corrupt or unknown clamd scanner error or
  memory/resource/perms
  problem - exit status 512/2
 
  Would you tell me the source of such problem? Your answer is very
  appreciated and waited for.
 
 
  This is not a clamav issue.  You are probably running clamd as a
  different user or maybe your install configured things as a different
  user than you had in the past.  Check to see what user clamd is running
  as and make sure all clamav directories are accessible by that user.
 
  Also, is clamd running?
 
  -Jim
 
  Thanks Jim,
 
  Yes, seems the message was coming from Qmail-Scanner. But the Clamd
consume
  a lot of CPU resource.
 
  I upgraded the new version for 11 servers. All servers have same
  configuration (setting) and but only 1 server that gave me such error.
the
  user of clamd. The user of clamd has not been changed since ClamAV
version
  0.7x. I run the clamd with daemontools.
 
  Does it related with ldconfig -v that I did not run it yet?
 
  Please advise.

 I dont really know.  The error that qmail-scanner is giving you
 basically means that clamdscan exited with an error for some reason.

 Is clamd running?

Yes, it run with a very high CPU consumption

 Can you manually clamdscan a file?

I did not test it yet and I immediately removed (deactived) the Clamd from
daemontools to reduce the CPU usage. I plan to re-install the ClamAV

Thx  Rgds,

Awie


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


Re: [Clamav-users] Problem after upgrade

2007-03-07 Thread Awie

 Yes, seems the message was coming from Qmail-Scanner. But the Clamd
consume
 a lot of CPU resource.
 I upgraded the new version for 11 servers. All servers have same
 configuration (setting) and but only 1 server that gave me such error.
the
 user of clamd. The user of clamd has not been changed since ClamAV
version
 0.7x. I run the clamd with daemontools.

Hi Todd,

 Typically you spawn apps with softlimit in the qmail world.  Tests:
 1) Remove softlimit completely.  It will probably start to work.

The Clamd run under daemontools with a very high CPU usage. The qmail did
not directly use (load) Clamd but through Qmail-scanner. Jim explained that
Clamd did not work well (yes, it is). Of course, Qmail-scanner unable run
well without normal clamd.

I am very curios, why clamd run with a very high CPU usage.

Thx  Rgds,

Awie


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