On Sat, Feb 22, 2003 at 11:29:56PM -0500, Gianni Johansson wrote:
> Matthew Toseland wrote:
> 
> > On Sat, Feb 22, 2003 at 11:03:38PM -0500, Gianni Johansson wrote:
> > > Matthew:
> > >
> > > With the current default  datastore size setting downloading of large
> > > splitfiles is effectively disabled by your tempbucket accounting limits
> > > because you can't get enough temp space.
> > >
> > > We should just warn users that they need lots of temp space.
> > > Arbitrarily failing is rude.
> >
> > We can determine whether there is enough space in the splitfile download
> > dialog, and warn the user if there isn't. Fortunately the MIME utils
> > problem that causes fproxy to need twice the file size in temp space
> > only applies to uploads.
> > >
> > > Can't we turn it off and deal with this issue after the release?
> > No. If we turn it off the default configuration will result in serious
> > problems if you download a large splitfile with space close to store
> > size.
> >
> > One remaining issue: currently storeMaxTempFraction default to 1/3.
> > Maybe we should increase this. We can't make it 1.0 because the node
> > needs some space for various things (like handling requests).
> 
> I think the accounting is missing some releases.
> 
> http://server:8888/servlet/nodeinfo/internal/env
> reportss, Space used by temp files in the data store 37,228 KiB
> 
> but du -h in my  <blahblah>/store/temp dir only reports  740k.

Maybe... or maybe it is simply being careful. Like the store, it
allocates space for the file _before_ writing it. With the new
anti-lock-contention code, it increases the size allocated by a factor
of 1.5 or a minimum increment of 1kB every time it runs out of space
(with a minimum allocation size of 1kB... all of these are configurable
on a per-tempfilebucket basis). The temp store is used for for example
keys that are currently being downloaded and haven't been committed yet
as well as client side stuff.
> 
> >
> > >
> > > --gj

-- 
Matthew Toseland
[EMAIL PROTECTED]/[EMAIL PROTECTED]
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at 
http://80-192-4-23.cable.ubr09.na.blueyonder.co.uk:8889/GptQvHy-Ap8/
ICTHUS.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to