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

Re: Default size limits for /run (/var/run) and /run/lock (/var/lock)



On Thu, Apr 14, 2011 at 11:50:52AM +0930, Karl Goetz wrote:
> On Wed, 13 Apr 2011 10:32:42 +0100
> Roger Leigh <rleigh@codelibre.net> wrote:
> > Proposal:
> [...]
> > /tmp: No default (use general tmpfs default of 20%)
> 
> 20% doesn't seem like a lot for /tmp when people try and compile
> something. While its not something most people end up doing, it does
> seem odd to make people change their tempfs size before they can start
> building packages for debian/themselves.

Yeah, especially on small systems.

What about using the size of swap instead?  Heck, if RAM is not tight, even
100% of swap could be a good default maximum.  Of course, no swap would mean
/tmp on a slow general-purpose filesystem.

-- 
1KB		// Microsoft corollary to Hanlon's razor:
		//	Never attribute to stupidity what can be
		//	adequately explained by malice.

Attachment: signature.asc
Description: Digital signature


Reply to: