gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUnet-developers] no space free on GNUNET_HOME device


From: Christian Grothoff
Subject: Re: [GNUnet-developers] no space free on GNUNET_HOME device
Date: Sat, 13 May 2006 18:35:00 -0700
User-agent: KMail/1.9.1

On Monday 08 May 2006 13:48, Milan wrote:
> During insertion, I got these errors :
>
> mai 08 20:50:02 Failure at uri.c:184.
> mai 08 20:50:02 Assertion failed at upload.c:193.
>
> I don't know if both are related to this bug, but I discovered that it
> was caused by a GiB/GB problem : my GNUNET_HOME is on a 3 GiB disk, so I
> specified 3000 in configuration, an it was about 2900 MB. Not such a
> serious issue, but still a stupid error of conversion...
> So I have three questions :
> 1) Couldn't this error message be more explicit ? I understand you will
> to keep many failures uncommented to help translators and not lose time
> for little breaks, but this error seems to be important and not so exotic.

Well, it turns out that this was actually a bug in the code. I've been able to 
pinpoint and fix the bug thanks to the two error messages (fixed in SVN 
2792). So it should not happen in the future (instead, a more reasonable 
error message will be given).  

> 2) Should the usable space indication be in GB or in GiB ? Gnome uses
> GiB, df GB, so i'ts difficults ot choose. But it would maybe be better
> to use GiB : if you type 3072 in this field (because you believe it's GB
> and because you have  3 GB), some bytes will not be used, but no memory
> problem will appear. But if the conf file uses GB, if you type 3000
> (because you believe it's GiB as I did without caring), you will get
> some trouble. This is why I think we could change it to GiB to avoid
> stupid errors.

I don't know what is best.  Other opinions?

> 2) I notice that it's a little complex to resize a DB on a separate hard
> disk, because gnunet-update need some free space to work and resize the
> DB lower. I had to move some shared files that were copied to this
> directory (I wasn't aware of this, but it's cool). So shouldn't too
> these copied (not symlinked) files be taken in account in the quota ?

Well, that's why we have TWO quotas: QUOTA and INDEX-QUOTA.  You might be 
happy with being able to index many GBs, but you might want to limit 
migration to much less.  

> I'm thinking of my configuration for example : I don't want my DB to be
> corrupted because I indexed too many files that were copied. In general,
> the user just cares about the space GNUnet will take *in addition of
> what his personal files use*.

For that, you can just make the INDEX-QUOTA very large (as in, say, your disk 
size).

> A little long discussion, but it would be good to avoid trouble in this
> domain before users are many, this is likely to frighten an average user
> because of simple quota issues.

I disagree with one thing here: quota issues are NOT simple, they just seem to 
be ;-).

Christian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]