On Mon, Dec 7, 2009 at 4:53 PM, p01air3 p01air3 <p01air3 at mail.ru> wrote:
> About temporary files deletion, here is a suggestion from FMS:
>
>
> Hello,
>
> When the freenet node crashes the datastore must be checked at the next node
> boot. This process creates auxiliary temporary files called
> bloom-A_BIG_NUMBER.tmp in a temporary directory (/tmp on linux).
>
> The problem is, if the node crashes quite often (for example once or twice a
> week, depending on the computer load), and the datastore is consequent 
> (several
> tens of gigabytes), the bloom tmp files begin to be very large (several tens 
> of
> megabytes once the maintenance is finished). Those files accumulates in the 
> /tmp
> directory and this can be very bad, for example when /tmp is mounted on a
> dedicated 500MB partition.
>
> AFAIK those files are not used any more once the maintenance has finished. Due
> to their very nature (temporary files in temporary directory), couldn't the 
> node
> delete them after use ? The node would thus maintain a much cleaner 
> environment.
>
>
> The problem is the same with libfec*.tmp, libNativeThread*.tmp and jcpuid*.tmp
> though those files are much smaller.

Personally, I would start by asking why the node was crashing in the
first place, not why it doesn't clean up when it does!  Have you
checked for error messages in the logs?

Evan Daniel

Reply via email to