On Wed, Jun 06, 2001 at 10:29:41PM +0100, Dave Hooper wrote:
> Hang on a second.
> How are the temporary files being created?
> How come it isn't freenet's _responsibility_ to do something along the lines
> of:

We do remove all files explicitely. Java has built in temp files, but only
in 1.2+, so we don't use them. The files in the store are being removed in
their destructor, so if they are not going away either the destructor is
not being called or the JVMs are not obeying delete calls on files (since
I believe I have heard complaints about the client temporary files, which
are removed before ending, not in the destructor, are remaining as well).
I would have debugged this further, but I don't have access to any Windows
machines (somewhat thankfully).

To help people, I added a feature (last summer) whereby when the node
is started it purges the store directory of any files not in the store
index. This could be scheduled while the node is running, but you have to
lock down the caching completely while it runs (not just the store, though
a static lock variable in FileData and FileDataProperties would probably
be enough). If it truly is that removing files doesn't work that won't
really help though.

<>
-- 
'DeCSS would be fine. Where is it?'
'Here,' Montag touched his head.
'Ah,' Granger smiled and nodded.

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to