Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2011 13:20:12 GMT
From:      Gleb Kurtsou <gleb.kurtsou@gmail.com>
To:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/155411: [regression] [8.2-release] [tmpfs]: mount: tmpfs : No space left on device
Message-ID:  <201103101320.p2ADKCVr048984@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/155411; it has been noted by GNATS.

From: Gleb Kurtsou <gleb.kurtsou@gmail.com>
To: bug-followup@FreeBSD.org, pgollucci@FreeBSD.org
Cc:  
Subject: Re: kern/155411: [regression] [8.2-release] [tmpfs]: mount: tmpfs :
 No space left on device
Date: Thu, 10 Mar 2011 14:53:54 +0200

 Could you test the patch. It changes the way tmpfs grows, sets
 filesystem default size to half of RAM by default.  Tmpfs no longer
 depends on inactive/wired memory stats, but checks if swap is nearly
 full. I've added vfs.tmpfs.swap_reserved sysctl to limit tmpfs growth.
 
 Bottom line is, that you should specify meaningful filesystem size to
 prevent resource exhaustion.
 
 In my tests system didn't panic nor invoked OOM killer while consuming
 nearly all available ram and swap.
 
 Patch:
 http://marc.info/?l=freebsd-fs&m=129735686129438&w=2
 
 It also handles test case described in OpenSolaris bug report for me:
 http://marc.info/?l=freebsd-fs&m=129747362722933&w=2
 
 Thanks,
 Gleb.



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