Re: Partition size
On Fri, 2002-11-29 at 05:40, Michael Naumann wrote:
> For this very reason, I have ext2. But gkrellm shows me small write
> peaks every other second. I figured out, that /var/log/XFree86.0.log
> gets filled with
> (II) PM Event received: Power Status Change
>
> I asked some days ago in a separate thread, how do solve this issue,
> but noone replied. Googling around shows, that other people have the
> same problem, yet no solution is provided.
Hi Michael,
I had the same problem with the write peals every other second a while
ago, here some pointers in the right direction.
>From the syslog.conf manpage:
You may prefix each entry with the minus ``-'' sign to
omit syncing the file after every logging. Note that you
might lose information if the system crashes right behind
a write attempt. Nevertheless this might give you back
some performance, especially if you run programs that use
logging in a very verbose manner.
Note that entry means the full pathname of a log file in this
context.
Also, you might want to add the option 'noatime' to your partition
entries in /etc/fstab. Have a look at 'man mount' for details.
Basically, I added a '-' in front of every log file pathname inside
/etc/syslog.conf, and added 'noatime' as an option for every partition
entry in /etc/fstab, and this solved the problem.
HTH
Matthias
Reply to: