[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] Diskspace and insert problem
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] Diskspace and insert problem |
Date: |
Wed, 23 Apr 2003 15:04:51 -0500 |
User-agent: |
KMail/1.4.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 23 April 2003 01:55 am, eric haumant wrote:
> Hello,
>
> I've found a small bug. When the disk is full (and the diskquota is not
> passed) the gnunet-insert fails to insert the file but gnunetd fails too. I
> think it shouldn't.
Oh, yes, that's where gdbm calls abort() or exit() or something like that.
That's a problem in the gdbm code (we call gdbm write, the disk is full, gdbm
kills gnunetd instead of just returning an error code). Except for checking
if the disk is full (which may be difficult since we can't tell by how much
gdbm will grow) we can't do much about this. Adding some extra checks that
disable migration completely once only, say 5 MB are left on the drive might
be an option. But the current crash that occurs if the disk is full is
definitely a problem in the gdbm code (and a problem with the user since the
quota specified was obviously too large :-)
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+pvHj9tNtMeXQLkIRAstsAKCKxxNbU+fJujztKkDL6lPraxq4CgCaAxuw
gitwdADIshMqPvpwztfRzNM=
=+M+j
-----END PGP SIGNATURE-----