Hi Brett,

It seems your server has reached the limit of open files:
LibClamAV Error: Can't create temporary file /export/home/var/tmp/clamav-ae56442370c55c7c/textportion8sL6E1: Too many open files <--

It could be that it isn't closing the files Or there are to many programs 
running.
Perheaps a server restart and lowering the number of max children could solve 
your problem.
Or if it's posible rais the number of the maximum open files allowd.

Hope this is of some help.




Brett Greenleaf wrote:
Hi all.

I was running 0.86rc1 on a Solaris 9 box, when on Monday night, suddenly, it 
stopped running.  I looked in the log file, and found many instances of this:

LibClamAV Warning: j5S0vCAs024426: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.PsL6E1: No viruses detected 
ERROR
LibClamAV Warning: j5S0vTAs024544: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.SsL6E1: No viruses detected 
ERROR
LibClamAV Warning: j5S0uMAt024244: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.TsL6E1: No viruses detected 
ERROR
LibClamAV Warning: j5S0vNAs024509: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.0sL6E1: No viruses detected 
ERROR
LibClamAV Error: Can't create temporary file 
/export/home/var/tmp/clamav-ae56442370c55c7c/textportion8sL6E1: Too many open 
files
LibClamAV Error: fileblobDestroy: file not saved: report to [EMAIL PROTECTED]
Mon Jun 27 20:57:54 2005 -> 
/export/home/var/tmp/clamav-a125906f23a14050/msg.wsL6E1: No viruses detected ERROR
LibClamAV Warning: j5S0vBAs024429: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.wsL6E1: No viruses detected 
ERROR
LibClamAV Warning: j5S0vTAs024548: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.4sL6E1: No viruses detected 
ERROR
LibClamAV Warning: j5S0vTAs024547: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.7sL6E1: No viruses detected 
ERROR
LibClamAV Error: lseek() failed, trying to continue anyway...
Mon Jun 27 20:58:08 2005 -> 
/export/home/var/tmp/clamav-a125906f23a14050/msg.usL6E1: No viruses detected ERROR
LibClamAV Error: Can't create temporary file 
/export/home/var/tmp/clamav-2b0476fc872ebd91/textportionftL6E1: Too many open 
files
LibClamAV Error: fileblobDestroy: file not saved: report to [EMAIL PROTECTED]

but alot more instances than I have here.

Also, the end of the log looks like this:

LibClamAV Warning: j5S0whAs024766: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.0tL6E1: No viruses detected 
ERROR
Mon Jun 27 20:59:28 2005 -> 
/export/home/var/tmp/clamav-a125906f23a14050/msg.OtL6E1: No viruses detected ERROR
LibClamAV Warning: j5S0vtAs024653: 
/export/home/var/tmp/clamav-a125906f23a14050/msg.OtL6E1: No viruses detected 
ERROR
LibClamAV Error: Can't create temporary file 
/export/home/var/tmp/clamav-c9228cde18b881f1
LibClamAV Error: Can't load /usr/local/share/clamav/main.cvd: Unable to create 
temporary file
LibClamAV Error: Unable to create temporary file
LibClamAV Error: Failed to load updated database
LibClamAV Error: cl_dup: root == NULL
LibClamAV Error: scanning_root == NULL
LibClamAV Error: cl_dup: root == NULL
LibClamAV Error: scanning_root == NULL
LibClamAV Error: cl_dup: root == NULL
LibClamAV Error: scanning_root == NULL
LibClamAV Error: Can't create temporary file 
/export/home/var/tmp/clamav-f8c98fc18076e402/DCP_0006.JPGqvL6E1: Too many open 
files
/export/home/var/tmp/clamav-a125906f23a14050: Invalid argument
LibClamAV Error: fileblobDestroy: file not saved: report to [EMAIL PROTECTED]
LibClamAV Error: cl_dup: root == NULL
LibClamAV Error: scanning_root == NULL

When I tried to restart the milter, it would not restart at all.  No error 
messages are given as to why it might not be starting, it just does nothing.  
(I know that is not descriptive, sorry).

The command line I have been using is /usr/local/sbin/clamav-milter -lo 
--max-children=120 /var/run/clmilter.sock

I thought maybe it was a bug in rc1, so I upgraded to 0.86.1, and the same 
thing happens, I also downloaded the lastest development snapshop as of 
yesterday (6/29) and that did not help either.

I have tried running clamd seperatly, which does run, and then running the 
milter without the max-children, and with --external, and still nothing happens.

I have reported it to [EMAIL PROTECTED] as directed in the log file.

Anyone out there have any idea as to what might be going on?  If anyone needs 
more information, please let me know.

BRETT



_______________________________________________
http://lurker.clamav.net/list/clamav-users.html



--

With kind regards,

Richard Pijnenburg
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to