Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Sep 2007 13:06:36 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Per olof Ljungmark <peo@intersonic.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: g_vfs write error = 28, bad memory?
Message-ID:  <46D947BC.8000201@FreeBSD.org>
In-Reply-To: <46D90C6B.8070807@intersonic.se>
References:  <46D90C6B.8070807@intersonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Per olof Ljungmark wrote:
> I use a memory file system for some tmp files and last night I saw this, 
> followed by a reboot. Bad memory? 6-STABLE from April..
> 
> foo-bar kernel: g_vfs_done():md0[WRITE(offset=259244032, 
> length=131072)]error = 28
> foo-bar kernel: g_vfs_done():md0[WRITE(offset=259375104, 
> length=131072)]error = 28
> [ten more lines...]
> [reboot]
> 
> Thanks,

#define ENOSPC          28              /* No space left on device */

You are probably (incorrectly) using a malloc backed disk.  Use swap 
backing and you won't panic when memory is low.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D947BC.8000201>