DCC filling the filesystem

Gary Mills mills@cc.UManitoba.CA
Fri Nov 22 05:26:15 UTC 2002


On Thu, Nov 21, 2002 at 09:34:10PM -0700, Vernon Schryver wrote:
> > From: Gary Mills <mills@cc.UManitoba.CA>
> . ...
> > I'm seeing regular complaints that dcc's filesystem is full, yet there's
> > a gigabyte of space left...
> >
> > Nov 21 21:55:21 electra ufs: [ID 213553 kern.notice] NOTICE: realloccg /var/dcc: file system full
> > ...
> 
> That looks like a message from the kernel and not from any DCC
> code.  Thus, the UNIX kernel thinks the file system is full at
> least some of the time.

That's true.  It seems to be happening several times a minute, too.

Here's a `truss' of dccd that shows the error...

  poll(0xFFBEF658, 7, 1000)                       = 1
  recv(14, " D C C   f l o d   v e r".., 256, 0)  = 256
  setsockopt(14, 65535, 4097, 0x0006E3E8, 4, 1)   = 0
  poll(0xFFBEF658, 7, 1000)                       = 1
  recv(14, "\0\0\0\007BAE2F4\0\0\006".., 2048, 0) = 2048
  mmap(0x00000000, 516096, PROT_READ|PROT_WRITE, MAP_SHARED, 7, 10838016) = 0xFEED6000
  mmap(0x00000000, 516096, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 127475712) = 0xFED12000
  mmap(0x00000000, 516096, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 125411328) = 0xFEC1A000
  lseek(6, 0x0826E000, SEEK_CUR)                  = 0x104DC000
  lseek(6, 0x0826E000, SEEK_SET)                  = 0x0826E000
  write(6, "\0\0\0\0\0\0\0\0\0\0\0\0".., 4096)    Err#28 ENOSPC
  write(2, " i f l o d   s t a t u s".., 18)      = 18

Those are some mighty large offsets for `lseek'.  File descriptor 6 is
associated with /var/dcc/dcc_db.  It seems to be unable to write past
the current end of file.  Hmm, `mkfile 10k foobar' says `foobar: initialized
0 of 10240 bytes: No space left on device'.  I wonder what's happened
to the filesystem?  Anyway, there's the problem.

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.