On Tue, 20 Jan 2009, t...@mediaforest.net wrote:
> I can't find any information about the way tmpfs_size is calculated, but on 
> two boxes, it is the half of system memory.
> The problem is that on one I get /lib/init/rw and /dev/shm sized to 1.8 
> Gbytes and the other sized to 500 Mbytes, which 
> seems to be very very much just to keep a few Kbytes.

Limiting /lib/init/rw to 10MB or so would be a damn good hint to anything
using it that we don't want any abuse there...  I don't see why we wouldn't
want to do it.  In fact, I do it in every Debian box I admin, especially
servers.

/dev/shm is a completely different beast.  It should be kept separate, the
overhead of one extra tmpfs is well worth the simplification of /dev/shm as
a separate filesystem (for SE Linux, and also to isolate runaway messes with
SYSV SHM, etc).

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



_______________________________________________
Pkg-sysvinit-devel mailing list
Pkg-sysvinit-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

Reply via email to