Thanks Eric for your tips: On Wed, Sep 18, 2013 at 8:54 PM, Eric Shubert <[email protected]> wrote:
> > The following should reduce the overall i/o on your QMT: > .) ext3/4 filesystem tweaks: dirindex, noatime > I was missing noatime. If someone else wonders if you can remount a live LVM root partition without reboot, the answer is "yes you can": this is how I did it: mount -o remount,defaults,noatime /dev/VolGroup00/LogVol00 / > .) put /var/qmail/simscan (scanning work area) on tmpfs. Nice idea! I already have mounted (I guess this is CentoOS default): tmpfs 1.6G 0 1.6G 0% /dev/shm I could create a subdir there for simscan and then bind mount it, yes? As I need to create a simscan dir there everytime I reboot the machine, I'm wondering where should I create the dir: would /etc/rc.d/rc.sysinit be the right place? And now I started thinking, would it be a good idea to put qmail logs there as well? The qmail startup/stop script could be made to copy the logs in a "safe storage dir". I would loose the logs if the server crashes, but I do not see that happening very often :) Regards, Peter
