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

Bug#290398: Additional information on oom_killer debacle



Alex Fernandez writes...

> USB memory stick was mounted as "ramfs", since vfat was not working.
> Relevant line from /etc/fstab:
> /dev/sda        /mnt/usbkey     ramfs   rw,user,noauto  0       0

That's your problem then. ramfs is, like the name suggests, a filesystem that 
resides in memory. mount will ignore the /dev/sda you specified and just 
create a ramfs instance at /mnt/usbkey. Try umounting it and remounting it and 
you'll see that the contents disappear. If you specify ramfs without any 
options the default behavior is to create a ramfs with a maximum size of one 
half of physical memory. ramfs only consumes memory for what you're using, so 
when you started copying stuff in there it started to grow and apparently the 
rest of the system was already using more that half of the memory so once the 
ramfs got big enough it triggered the OOM.

I think this bug can be closed, ok Alex?

-- 
Matt Taggart
taggart@debian.org





Reply to: