-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/15/2010 01:43 AM, Nick Shaw wrote:
> I assume sqlite should no longer have any handles
> open to the database; however Windows (which I'm running under) may well
> still have open handles to the file waiting to flush cached changes to
> disk.  The way I resolve this is to try deleting the file over and over
> until either it succeeds, or it has still failed to delete after a set
> time (say a few seconds).

The cause of this is almost always tag alongs.  They register with the
kernel and get notified when a file is about to be closed, so they promptly
open it and then do whatever with it.

Number one whatever is virus scanners, but the culprits can also include
backup tools, source control tools and various Explorer extensions that like
to display status/icons for files.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyQjegACgkQmOOfHg372QSdzwCg1ol6P7DZfCv0tXexuyVYaRI6
EOkAoKmVDOl8oVbTwUoDsVKefXEUPn8I
=zXNt
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to