You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Jason Bertoch [Electronet]" <ja...@electronet.net> on 2007/05/02 18:22:39 UTC

TMP Files


Since the upgrade this morning, many SA temp files aren't being cleaned up.  Is
anyone else seeing this?

Jason A. Bertoch
Network Administrator
jason@electronet.net
ElectroNet Intermedia Consulting
3411 Capital Medical Blvd.
Tallahassee, FL 32308
(V) 850.222.0229 (F) 850.222.8771


RE: TMP Files

Posted by "Jason Bertoch [Electronet]" <ja...@electronet.net>.
> -----Original Message-----
> From: jm@jmason.org [mailto:jm@jmason.org] 
> Sent: Wednesday, May 02, 2007 4:25 PM
> To: Theo Van Dinter
> Cc: users@spamassassin.apache.org
> Subject: Re: TMP Files 
> 
> 
> It does sound like that, alright.  The change was to support 
> win32, which
> doesn't allow the "open then unlink" POSIX mode that  the 
> code was relying
> on.
> 
> My guess -- if the Message object is not finish()'d, it may 
> leave those
> temporary files behind, I guess.
> 
> Could someone seeing this bug please open a bug on the 
> bugzilla about it?
> 
> --j.

Bug #5444 has been opened regarding this matter.  Since opening the bug, I
completely removed my SA install and started from scratch, including updating
all local Perl modules, to no avail.  For now, I've set up a cron job to remove
old files, but it's got me concerned where if that script fails, I'll run out of
tmp space.



Jason A. Bertoch
Network Administrator
jason@electronet.net
ElectroNet Intermedia Consulting
3411 Capital Medical Blvd.
Tallahassee, FL 32308
(V) 850.222.0229 (F) 850.222.8771 


Re: TMP Files

Posted by Theo Van Dinter <fe...@apache.org>.
On Wed, May 02, 2007 at 02:53:03PM -0400, Daryl C. W. O'Shea wrote:
> >normal .spamassassinXXXXXXXXXXXtmp files in /tmp but is not always removing
> >them.  The files that remain only ever contain garbage text, like what's 
> >seen as
> >a mail attachment in a plain text file.  Without usable text from these 

fwiw, it sounds like the new "put non-text parts in a temp file" code.
my version had those files removed when they were created, but I think
I saw a mail float by recently about that bit getting changed before
the release.

-- 
Randomly Selected Tagline:
"Duct tape is like the force; it has a light side & a dark side, and it
 holds the universe together." - Zen Musings

Re: TMP Files

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Jason Bertoch [Electronet] wrote:
>> -----Original Message-----
>> From: Daryl C. W. O'Shea [mailto:spamassassin@dostech.ca] 
>> Sent: Wednesday, May 02, 2007 2:53 PM
>> To: Jason Bertoch [Electronet]
>> Cc: users@spamassassin.apache.org
>> Subject: Re: TMP Files
>>
>> Is MIMEDefang timing out the SA processes and killing them off before 
>> they have a chance to finish (check your maillog)?

> No, neither MIMEDefang nor Sendmail are logging anything out of the ordinary
> while this is happening.

Is there a temp file left for every message processed, a lot of 
messages, or only a few?

Are all of your messages being successfully scanned?


Daryl

RE: TMP Files

Posted by "Jason Bertoch [Electronet]" <ja...@electronet.net>.
> -----Original Message-----
> From: Daryl C. W. O'Shea [mailto:spamassassin@dostech.ca] 
> Sent: Wednesday, May 02, 2007 2:53 PM
> To: Jason Bertoch [Electronet]
> Cc: users@spamassassin.apache.org
> Subject: Re: TMP Files
> 
> Is MIMEDefang timing out the SA processes and killing them off before 
> they have a chance to finish (check your maillog)?
> 
> Daryl

No, neither MIMEDefang nor Sendmail are logging anything out of the ordinary
while this is happening.


Re: TMP Files

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Jason Bertoch [Electronet] wrote:

> So far I've disabled all non-stock SA rules and plugins.  SA is creating its
> normal .spamassassinXXXXXXXXXXXtmp files in /tmp but is not always removing
> them.  The files that remain only ever contain garbage text, like what's seen as
> a mail attachment in a plain text file.  Without usable text from these files,
> I'm having a difficult time tying them to any specific message in my logs.
> 
> I'm running SA 3.2.0 with Sendmail 8.14.1 and calling SA from MIMEDefang 2.62.
> All packages were compiled from source and the only package changed was the
> upgrade to SA 3.2.0.

Is MIMEDefang timing out the SA processes and killing them off before 
they have a chance to finish (check your maillog)?

Daryl

RE: TMP Files

Posted by "Jason Bertoch [Electronet]" <ja...@electronet.net>.
> -----Original Message-----
> From: Daryl C. W. O'Shea [mailto:spamassassin@dostech.ca] 
> Sent: Wednesday, May 02, 2007 1:20 PM
> Jason Bertoch [Electronet] wrote:
> > 
> > Since the upgrade this morning, many SA temp files aren't 
> being cleaned up.  Is
> > anyone else seeing this?
> 
> Can you be more specific?
> 
> Daryl

So far I've disabled all non-stock SA rules and plugins.  SA is creating its
normal .spamassassinXXXXXXXXXXXtmp files in /tmp but is not always removing
them.  The files that remain only ever contain garbage text, like what's seen as
a mail attachment in a plain text file.  Without usable text from these files,
I'm having a difficult time tying them to any specific message in my logs.

I'm running SA 3.2.0 with Sendmail 8.14.1 and calling SA from MIMEDefang 2.62.
All packages were compiled from source and the only package changed was the
upgrade to SA 3.2.0.


Re: TMP Files

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Jason Bertoch [Electronet] wrote:
> 
> Since the upgrade this morning, many SA temp files aren't being cleaned up.  Is
> anyone else seeing this?

Can you be more specific?

Daryl