Re: Partition size
On Friday 29 November 2002 03:24, Matthias Szupryczynski wrote:
> 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
Thanx Matthias,
I'll give this a try.
But I doubt, this will help in my situation.
The XFree86.0.log file is not mentioned in /etc/syslog.conf
and -o noatime will only block writing "inode access times".
But once I found out how to stop X from repeatedly telling me this nonsense,
(Ok Mr. X11, my "Power status changed", but why is this your business)
your tips may fill the remaining gap.
Michael
Reply to: