List Info

Thread: 2.4 not removing temp folders




2.4 not removing temp folders
user name
2006-04-29 16:02:16
I'm running Amavisd-2.4..

Everything works fine, except temp dir's aren't being
removed properly.

I have /var/amavis/tmp as a ramdisk, and in the amavis log
after an 
email is sent, I see

Apr 29 11:57:11 ns1.freedyhome.com
/usr/local/sbin/amavisd[23994]: 
(23994-01) TempDir::strip:
/var/amavis/tmp/amavis-20060429T115708-23994
Apr 29 11:57:11 ns1.freedyhome.com
/usr/local/sbin/amavisd[23994]: 
(23994-01) rmdir_recursively: 
/var/amavis/tmp/amavis-20060429T115708-23994/parts, excl=1


But if I look at /var/amavis/tmp, I see

rootns1 [/var/amavis/tmp]
11:59:50 $ls -laR
.:
total 4
drwxrwxrwt  3 amavis amavis   60 Apr 29 11:57 .
drwxrwxr-x  6 amavis amavis 4456 Apr 29 11:57 ..
drwxr-x---  3 amavis amavis   80 Apr 29 11:57
amavis-20060429T115708-23994

./amavis-20060429T115708-23994:
total 4
drwxr-x---  3 amavis amavis   80 Apr 29 11:57 .
drwxrwxrwt  3 amavis amavis   60 Apr 29 11:57 ..
-rw-r-----  1 amavis amavis 1732 Apr 29 11:57 email.txt
drwxr-x---  2 amavis amavis   40 Apr 29 11:57 parts

./amavis-20060429T115708-23994/parts:
total 0
drwxr-x---  2 amavis amavis 40 Apr 29 11:57 .
drwxr-x---  3 amavis amavis 80 Apr 29 11:57 ..
rootns1 [/var/amavis/tmp]

So it doesn't seem to be removing the temp dir's...  after
a while I'll 
have tons of these temp folders....

Any thoughts?



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
2.4 not removing temp folders
user name
2006-04-29 17:51:35
Scott,

> I'm running Amavisd-2.4..
> Everything works fine, except temp dir's aren't being
removed properly.
> I have /var/amavis/tmp as a ramdisk, and in the amavis
log after an
> email is sent, I see
>
> Apr 29 11:57:11 ns1.freedyhome.com
/usr/local/sbin/amavisd[23994]:
> (23994-01) TempDir::strip:
/var/amavis/tmp/amavis-20060429T115708-23994
> Apr 29 11:57:11 ns1.freedyhome.com
/usr/local/sbin/amavisd[23994]:
> (23994-01) rmdir_recursively:
> /var/amavis/tmp/amavis-20060429T115708-23994/parts,
excl=1
>
> But if I look at /var/amavis/tmp, I see ...
> So it doesn't seem to be removing the temp dir's... 
after a while I'll
> have tons of these temp folders....

http://ww
w.ijs.si/software/amavisd/#faq-gen

| This means one normally sees $max_servers temporary
directories
| at any time.  ...

Are you really seeing more than one set of directories?

  Mark


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )