Ben Hartshorne <[EMAIL PROTECTED]> wrote: > I had to edit grub.conf to adjust the size of the ramdisk. By default > they're 64MB, but with an argument to the kernel start line, you can set > it to whatever size you need. I chose 4x the current RRD directory, to > accomodate new hosts and more metrics. It is unfortunate that a reboot > is required to change the size of the ramdisk.
Which is much easier to do with tmpfs, see below... Seth Graham <[EMAIL PROTECTED]> wrote: > Once I switched to tmpfs it became rock solid. tmpfs has the added > advantage of being easier to configure.. no editing kernel boot > arguments, just pass mount the options you want and it does it all for you. > > Ramdisk is probably better on a busy system where you don't want risk a > bunch of swapping, but on a dedicated gmetad host I reccomend tmpfs. Either way, you have to allocate some RAM to the RAMdisk or tmpfs. With tmpfs, you can set an upper limit by putting a size option in /etc/fstab, like so: none /ganglia tmpfs size=1024M,mode=755,uid=nobody,gid=root 0 0 Pick an amount of memory that makes sense for you. If you use a RAMdisk, I assume you'll have to allocate all of that RAM to it whether you're using it or not, whereas with tmpfs, it'll only use as much as is needed to store the files, until it reaches the upper limit. That means that if you're memory limited, tmpfs with size= is actually better than RAMdisk. You won't risk any more swapping than you would with a RAMdisk of the same size as your tmpfs size=, and you'll likely do better because you're not using all the space you set aside. If you ever want to resize the /ganglia partition, with my setup: 1. service gmetad stop umount /ganglia 2. edit /etc/fstab, change the size= value for /ganglia 3. mount /ganglia service gmetad start That's it. Do it quickly and you probably won't even see a gap. (you could actually edit fstab *before* stopping gmetad and umounting) -- Cos ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

