Re: tmp files left by TB!

2002-06-19 Thread Thomas F

Hello Jonathan,

On Wed, 19 Jun 2002 00:09:43 -0500 GMT (19/06/02, 12:09 +0700 GMT),
Jonathan Angliss wrote:

JA Depends on your standpoint... from what I've experience with the software we
JA write, most anti-virus applications have a habbit of locking a file just before
JA the file gets read, moved, copied, or deleted.  Now when TB goes to delete the
JA file, the anti-virus program locks the file, so TB gets a flag saying file busy,
JA I'm sure the coders may have added in a try statement to attempt to do it 3
JA times... depending on the system, and setup, this may fail several times,

[...]

Sounds like you know what you are talking about. I also have this
issue sometimes, namely bat.tmp files in the temp directory. Seems
to depend onthe weather or what whether I have them (and then in the
thousands per day) or not. Your article explains it.

However, over here most of these tmp files have a length of 0 (zero)
bytes. Would you venture to take a guess at what may cause
those? I am not losing any mails.

-- 

Cheers,
Thomas.

Moderator der deutschen The Bat! Beginner Liste.

Everybody repeat after me.We are all individuals.

Message reply created with The Bat! 1.60q
under Chinese Windows 98 4.10 Build  A 
using an AMD Athlon K7 1.2GHz, 128MB RAM



Current Ver: 1.60q
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/



tmp files left by TB!

2002-06-18 Thread lists


wow, just looked at my temporary internet files and found tons of
TB temp files.. any idea what setting causes them to be cleaned
up.. a lot of them were messages!!! and old..

i'm curious about how this happened and why?

thanks!




Current Ver: 1.60q
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/



Re: tmp files left by TB!

2002-06-18 Thread Jonathan Angliss

On Tuesday, June 18, 2002, [EMAIL PROTECTED] wrote...

 wow, just looked at my temporary internet files and found tons of
 TB temp files.. any idea what setting causes them to be cleaned
 up.. a lot of them were messages!!! and old..

 i'm curious about how this happened and why?

I had it do that to me a while ago... in fact spawned temp files so
rapidly, I had over 100 megs within 2 hours... Reinstalled TB! and it
went away... not sure about that though. By any chance, do you have a
virus scanner on your computer? It could be possible that TB! is
creating a file, your virus scanner locks it for scanning, then when
TB! tries to delete it, the file is reported as locked, so TB!
continues processing as normal, leaving the temp file there.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



Current Ver: 1.60q
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/



Re[2]: tmp files left by TB!

2002-06-18 Thread lists

yep, I do use norton.. maybe tb should wait to continue until the
file is free? man, this is a big problem, full text viewable by
any editor or file viewer.

anyone  else have this problem?

thanks for the quick response.

Laura




--Original Message
Tuesday, June 18, 2002, 10:51:55 AM, you wrote:

JA On Tuesday, June 18, 2002, [EMAIL PROTECTED] wrote...

 wow, just looked at my temporary internet files and found tons of
 TB temp files.. any idea what setting causes them to be cleaned
 up.. a lot of them were messages!!! and old..

 i'm curious about how this happened and why?

JA I had it do that to me a while ago... in fact spawned temp files so
JA rapidly, I had over 100 megs within 2 hours... Reinstalled TB! and it
JA went away... not sure about that though. By any chance, do you have a
JA virus scanner on your computer? It could be possible that TB! is
JA creating a file, your virus scanner locks it for scanning, then when
JA TB! tries to delete it, the file is reported as locked, so TB!
JA continues processing as normal, leaving the temp file there.





-
mailto:[EMAIL PROTECTED]




Current Ver: 1.60q
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/



Re: tmp files left by TB!

2002-06-18 Thread Jonathan Angliss

On Tuesday, June 18, 2002, [EMAIL PROTECTED] wrote...

 yep, I do use norton.. maybe tb should wait to continue until the
 file is free? man, this is a big problem, full text viewable by
 any editor or file viewer.

Do a regular clean up ;)  To be honest, this isn't really TB! fault...
Norton holds the lock for just too long, so TB! disregards the file.
If the coders were to set it so that it waited until the lock was
removed, it would possibly cause TB! to crash as it'd end up holding
on waiting for that file.

 thanks for the quick response.

Not a problem.

-- 
Jonathan Angliss
([EMAIL PROTECTED])



Current Ver: 1.60q
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/



Re: tmp files left by TB!

2002-06-18 Thread Nick Andriash

Hello Jonathan Angliss,

In Reference to your Posting on Tuesday, June 18 2002 at 11:31 AM PDT,

  yep, I do use norton.. maybe tb should wait to continue until the
  file is free? man, this is a big problem, full text viewable by
  any editor or file viewer.
 
 Do a regular clean up ;)  

You're kidding... right? 

 To be honest, this isn't really TB! fault...

Oh, but it is.

-- 
Nick Andriash
Courtenay, B.C. Canada



Current Ver: 1.60q
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/



Re: tmp files left by TB!

2002-06-18 Thread Jonathan Angliss

Hi Nick,
On Tue, 18 Jun 2002 21:38:41 -0700, you wrote:

  Do a regular clean up ;)  
 
 You're kidding... right? 

Automate it if you want :P

  To be honest, this isn't really TB! fault...
 
 Oh, but it is.

Depends on your standpoint... from what I've experience with the software we
write, most anti-virus applications have a habbit of locking a file just before
the file gets read, moved, copied, or deleted.  Now when TB goes to delete the
file, the anti-virus program locks the file, so TB gets a flag saying file busy,
I'm sure the coders may have added in a try statement to attempt to do it 3
times... depending on the system, and setup, this may fail several times, so TB
fails the delete, hence you end up with temp files.  As for why there aren't
always temp files, if your virus scanner releases the lock before TB tries to do
anything with the file, then TB can happily remove it... it's a question of
timing.  We've found in 99% of the cases where files have been reported as
locked (we develop accounting software), disabling the virus scanner for a 10
minute test shows the lock issue vanishes.  In theory, it may not even be with
the temporary file itself... it may be with the temporary file's lock file
(which is where our software has issues, the database lock file isn't removed
because the anti-virus software has a lock on the lock file... when the database
attempts to remove the lock, it cannot... so fails trying without error, but
when you next attempt to access the file, the original lock file is still there,
and the table is still open).

Then there is the other standpoint which says it is TB! fault... saying it
didn't attempt to delete it enough times... If the programmers of TB were to
force TB to make X number of attempts more at deleting the file, you could end
up stuck in a nasty loop of delays, eventually slowing the system down.

-- 
Jonathan Angliss
([EMAIL PROTECTED])


Current Ver: 1.60q
FAQ: http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]
Bug Reports: https://www.ritlabs.com/bt/