In response to Bug #92921, script /etc/init.d/mdev function mount_it() contains the line... mount -n -t tmpfs -o "exec,nosuid,mode=0755,size=10M" mdev /dev Since /dev/shm is mounted on /dev, that restricts /dev/shm to 10 megabytes whenever this line is invoked. 10 megabytes is insufficient for today's programs. This is in 1.23.0-r1, but I suspect also in all versions. Reproducible: Sometimes Steps to Reproduce: 1. reboot 2. try to copy an 11 megabyte file to /dev/shm 3. Actual Results: Fails due to insufficient space Expected Results: Copy should work As a temporary workaround, I've changed the line in question to mount -n -t tmpfs -o "exec,nosuid,mode=0755,size=50%" mdev /dev i.e. allow up to 50% of ram for /dev/shm, which is the usual default. Does this consume more ram than "mount -n /dev" when /dev/shm is empty?
1) Please post your `emerge -vpq /etc/init.d/mdev' output in a comment. 2) Please post your `emerge --info' output in a comment.