[Pkg-sysvinit-devel] Bug#390184: Bug#390184: /lib/init/rw uses 1.8 Gbytes for nothing
Henrique de Moraes Holschuh
hmh at debian.org
Tue Jan 20 18:13:08 UTC 2009
On Tue, 20 Jan 2009, tech at 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
More information about the Pkg-sysvinit-devel
mailing list