Re: [Clamav-users] Cruft left by clamd in temp directory

2006-12-12 Thread Joe Pace
Stephen Gran wrote: Does AIX have the equivalent of linux's /proc/$pid/fd/ ? It would be nice to know if those files are open or not. Yes -- AIX 5.3 has the /proc/$pid/fd/ manifestation. Thanks! Have been stopping and restarting everything related with clam nightly to do cleanup, and nice

Re: [Clamav-users] Cruft left by clamd in temp directory

2006-12-12 Thread Stephen Gran
On Tue, Dec 12, 2006 at 05:57:01PM -0800, Joe Pace said: > Stephen Gran wrote: > >The short term option would be to use something like tmpreaper to keep > >/tmp under control until the real problem is sorted out. I'm afraid > >I've never seen this problem before, and the permissions all look fine

Re: [Clamav-users] Cruft left by clamd in temp directory

2006-12-12 Thread Joe Pace
Stephen Gran wrote: The short term option would be to use something like tmpreaper to keep /tmp under control until the real problem is sorted out. I'm afraid I've never seen this problem before, and the permissions all look fine in the other messages I've seen. Thank you -- this answers my q

Re: [Clamav-users] Cruft left by clamd in temp directory

2006-12-12 Thread Stephen Gran
On Tue, Dec 12, 2006 at 01:32:27PM -0500, Mark Hennessy said: > I've seen some instances where clamd will sometimes leave large directories > named like clamav-[hash] or large files named like clamav-[hash] and not > clean them up after they're done with. As far as I can tell, clamav was not > sto

Re: [Clamav-users] Cruft left by clamd in temp directory

2006-12-12 Thread Joe Pace
Stephen Gran wrote: On Tue, Dec 12, 2006 at 04:30:50PM -0800, Joe Pace said: LibClamAV Error: Can't remove temporary directory /tmp/clamav-6f0b3bbf9fc92179: Error 0 What are the permissions on /tmp ? Should have included that -- # ls -ld /tmp drwxrwxrwt 66 bin bin

Re: [Clamav-users] Cruft left by clamd in temp directory

2006-12-12 Thread Stephen Gran
On Tue, Dec 12, 2006 at 04:30:50PM -0800, Joe Pace said: > Here's an example of one of the directories that's failing removal: > > # ls -l clamav-507d766bac9683c7 > total 24 > -rw--- 1 clamav clamav 516 Dec 12 16:21 > mixedtextportionsd7jrj > -rw--- 1 clamav clamav

Re: [Clamav-users] Cruft left by clamd in temp directory

2006-12-12 Thread Joe Pace
Mark Hennessy wrote: I've seen some instances where clamd will sometimes leave large directories named like clamav-[hash] or large files named like clamav-[hash] and not clean them up after they're done with. As far as I can tell, clamav was Hi Mark: I am seeing the same as well -- and this i