Re: Potato keeps waking up?!

2000-08-23 Thread Vitux
David Vrabel wrote:
 
 On 22 Aug 2000, Vitux wrote:
 
  What puzzles me most is: I just can't figure out what keeps spinning
  the disk?!
  I can't find any ref's to it in the logs or in cron-whatever...
  If necessary I could post some of my log-files?!
 
 atime updates I'd guess.  The time that files were last accesses (read) is
 stored in the filesystem. Hence the disk access when these are written.
 
 Consult the mount (?) man page for details on the noatime option.
What I'm trying to understand is: what's writing files, when the
machine is idle?! (I am beginning to grasp the fact that Linux is
never really idle; there's always some cron-stuff going on...)
 
  BTW: How do you empty logs? Can you just delete'em?
 
 Aren't all the logs rotated by daily/weekly cron jobs?  There are by
 default in Debian.  But yes, you can just delete them.
 
 David Vrabel
Nope, not all the logs. ppp-logs are, but not syslog, f.ex.
Oh well, someone indicated that I had already done a pretty good job
by reducing wake-ups to three times pr hour, so maybe I should leave
it.
Now if I could only get my nic working...
Still Learning after 1½ year!
Thanks
Vitux

-- 
I'm not a crook
Richard Nixon

Debian GNU/Linux
Micro$loth-free Zone



Potato keeps waking up?!

2000-08-22 Thread Vitux
My apologies if this is a FAQ, but I'm stumped here.
System: Compaq Deskpro PII350, 128Mb ram, Potato (upgraded from
Slink). Fresh recompiled 2.2.16. Stand-alone box using an
ISDN-connection via ppp.

The bios has a lot of very nice power-saving facilities, which seem
to function fine, but Potato keeps spinning the disk up every 20
minutes just for a very short burst of activity, and then spins down
again after a while.

I disabled the MARK in the logs (and some other redundant
logging), and set cron to only run exim hourly (by which I learned a
whole lot and cut the spin-ups by 50%), but I'm still not satisfied;
I would like to have the box sleep completely and maybe only spin
the drive once every hour or even less often.

What puzzles me most is: I just can't figure out what keeps spinning
the disk?!
I can't find any ref's to it in the logs or in cron-whatever...
If necessary I could post some of my log-files?!

BTW: How do you empty logs? Can you just delete'em?

Best Regards
Vitux

-- 
I'm not a crook
Richard Nixon

Debian GNU/Linux
Micro$loth-free Zone



Re: Potato keeps waking up?!

2000-08-22 Thread Joey Hess
Vitux wrote:
 I disabled the MARK in the logs (and some other redundant
 logging), and set cron to only run exim hourly (by which I learned a
 whole lot and cut the spin-ups by 50%), but I'm still not satisfied;
 I would like to have the box sleep completely and maybe only spin
 the drive once every hour or even less often.

I'm suprised you're getting it to spin down for that long even.

You should try the noflushd package in woody. It's for exactly this type
of situation.

-- 
see shy jo