On Tue, Jan 29, 2002 at 02:31:16PM -0500, Gianni Johansson wrote:
> Optionally configure this line too:
> 
> fproxy.params.tempDir=some_dir_with_lots_of_space
> 
> If you don't set fproxy.params.tempDir, fproxy will dump it's temp files into 
> the "default place" (C:\Window\Temp ???).  The problem is that if the user
> kills the node before it has time to clean up its temp files they get left 
> behind forever. 

I think calling System.runFinalizersOnExit(true) may help (at least for
SIGTERM kills).

> In a perfect world we would never leak temp files, but since we sometimes do, 
> I figured it is better to keep them in a separate dir where they are more 
> easily cleaned up manually.

Why doesn't fproxy allocate temp files from the node's BucketFactory?
(maybe we should include a "freenet.support.BucketFactory" in the
 context-wide attributes for servlets).

-tc


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

Reply via email to