On Tuesday 25 February 2003 18:08, Rick Friedman wrote:
I'm having a problem with /dev/shm. I am trying to run a backup program called, Mondoarchive. It mounts /dev/shm on a directory such as /tmp.mondo.xxxx (as an example).
why is it mounting the dev/shm at all??? It has no need to.
Unfortunately, only about 112mb are being allocated for this. This is about 50% of my ram.
Following some instructions I found on the SuSE support database, I commented out some lines in /etc/init.d/boot.swap and inserted the following line in my fstab:
tmpfs /dev/shm tmpfs size=1g 0 0
When I rebooted, this created tmpfs at a size of 1GB. However, when Mondo mounts /dev/shm, it still mounts at a size of about 112MB.
At the moment, I have not been able to get a solution on the Mondo mailing list. I'm hoping that someone here can help.
don't bother doing anything with /dev/shm... it's the "in memory" temporary shared filesystem. It doesn't exist on disk at all but is purely in your ram. http://sdb.suse.de/en/sdb/html/tmpfs_config.html | By default, the virtual file system tmpfs is mounted to "/dev/shm" with half |the available RAM. the support article explains how you can change the default size so that you can do some tuning to your system. Please note, this comes under the "advanced" Linux umbrella and should not be done unless you really really know what you are doing and why you need to do it.
Rick
-- Paul Cooke Registered Linux user 273897 Machine registration number 156819 Linux Counter: Home Page = http://counter.li.org/