Re: [DNG] noisy computer

2018-07-02 Thread marc
Hello

> Installed that.  Processes frequently using disk seem to be:
>   jbd2/dm-0-8
>   dhcpd -q
>   kworker/0:0
>   kworker/0:3
> 
> jbd2 is of course the journaling process for my RAIDs.  But who's I/O is 
> it journalling?
> 
> dhcpd -- whi does it have to read disk every second?  connctions aren't 
> being made that oftern, are they?
> 
> And what are the kworkers all about?  Somthing kde-ish?  

So a "ps -eF" should show you that both kworker and jbd2 have zero
pages (SZ). That generally means that they are part of the 
kernel. 

My suggestion: Stop dhcpd for a while and see if the click goes away.
I'd do a "kill -STOP pid", then a sync, then listen for a few
seconds, then do a "kill -CONT pid".

My suspicion: It isn't dhcpd. I have two candidates:

  * Hardware unhappy. Use smartctl to look at the disk 
statistics. A nonzero reallocated sector count is or used to be
quite a red flag. A new install would have triggered loads
of writes which could have generated bad sectors. 

  * New filesystem type which decides it is necessary to sync all
atime updates to disk, or something similar. Try 
tricks involving mount: Possibly "mount -o remount,noatime /some/path"
or even (after having killed processes which have files open
for writing) "mount -o ro /some/path"

I have lots of angry words for people who write userspace
code, drivers and filesystems which actually aren't
idle when they are idle. Good code blocks in a read(),
select() or epoll() when idle. Good drivers wait for an
interrupt, and good hardware makes this possible. Thesedays
I go around and strace processes "strace -p pid" and disable
those which don't.

There are other less likely things to consider: Hard
disks are computers in their own right (often dual
core ARMs, soon some might be RISC5s). They can
do things like thermal recalibration which can make
noise.

regards

marc
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-02 Thread Steve Litt
On Mon, 2 Jul 2018 14:42:22 -0400
Hendrik Boom  wrote:

> On Mon, Jul 02, 2018 at 02:15:32PM -0400, Steve Litt wrote:

> > Remove the cover from the machine and start wiggling wires, hard.
> > Does it seem like you can trigger the click by moving the wires? If
> > so, move ever fewer wires til you get one wire or one cable that
> > seems to trigger it.  
> 
> There has been one wire that, when jiggled, shuts down one of the
> drives used in my RAID.  That doesn't seem to be the click problem,
> because /proc/mdstat reports all my RAID drives to be OK.

Whoa whoa whoa whoa WHOA!

Replace that wire immediately. Whether or not it's the root cause of
this particular thing, it will be a root cause of other things. A
computer should have no physical intermittence.

SteveT

Steve Litt 
June 2018 featured book: Twenty Eight Tales of Troubleshooting
http://www.troubleshooters.com/28


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-02 Thread ael
On Mon, Jul 02, 2018 at 02:15:32PM -0400, Steve Litt wrote:
> On Mon, 2 Jul 2018 11:54:11 -0400
> Hendrik Boom  wrote:
> 
> > On Mon, Jul 02, 2018 at 10:01:26AM +0200, Dr. Nikolaus Klepp wrote:
> 
> > > In earlier days this was the "click of death". Maybe it would be a

If you have speakers active, check that it isn't coming through the
sound system. I have had that in the past with a system process polling
every second or so. Not sure why it hit the sound: at first I thought it
was a poor soundcard letting system noise on the power rails through.
But it went away after a software upgrade, so that couldn't have been
the explanation.

ael
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-02 Thread Hendrik Boom
On Mon, Jul 02, 2018 at 02:15:32PM -0400, Steve Litt wrote:
> On Mon, 2 Jul 2018 11:54:11 -0400
> Hendrik Boom  wrote:
> 
> > On Mon, Jul 02, 2018 at 10:01:26AM +0200, Dr. Nikolaus Klepp wrote:
> 
> > > In earlier days this was the "click of death". Maybe it would be a
> > > good idea to look at the smart values ... and you sure have a
> > > backup, don't you?  
> > 
> > Against hardware failures, yes.  A pure redundancy RAID.
> > Against other failures, I occasionaly use rdiffbackup.
> 
> I recommend you get a good, clean backup of that thing right now, and
> keep it backed up to within a couple days or the amount of work you can
> afford to lose. Sounds to me like something is on its way out.

Sounds like good advice even when there's nothing suspeicious going on.  
The work I can't afford to lose is, in any case, duplicated on another 
system using a distributed revision management system (monotone).

-- hendrik

> 
> The fact that you upgraded just prior to this symptom's appearance
> casts an accusing finger at the upgrade, and that certainly should be
> investigated. But just in case it's a coincidence, you should do what
> everyone else said about hardware diagnostics. And I'd like to add one
> further diagnostic...


> 
> Remove the cover from the machine and start wiggling wires, hard. Does
> it seem like you can trigger the click by moving the wires? If so, move
> ever fewer wires til you get one wire or one cable that seems to
> trigger it.

There has been one wire that, when jiggled, shuts down one of the drives 
used in my RAID.  That doesn't seem to be the click problem, because 
/proc/mdstat reports all my RAID drives to be OK.

Wiggling wires sounds like something to do *after* that thorough 
backup.

One nice thing about rdiff-backup is that if it backs up a corrupt file, 
it's still possible to find the previous versions.

-- hendrik

> 
> I had an intermittent click several years ago that turned out to be a
> defective hard disk power connector.
> 
> SteveT
> 
> Steve Litt 
> June 2018 featured book: Twenty Eight Tales of Troubleshooting
> http://www.troubleshooters.com/28
> 
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-02 Thread Steve Litt
On Mon, 2 Jul 2018 11:54:11 -0400
Hendrik Boom  wrote:

> On Mon, Jul 02, 2018 at 10:01:26AM +0200, Dr. Nikolaus Klepp wrote:

> > In earlier days this was the "click of death". Maybe it would be a
> > good idea to look at the smart values ... and you sure have a
> > backup, don't you?  
> 
> Against hardware failures, yes.  A pure redundancy RAID.
> Against other failures, I occasionaly use rdiffbackup.

I recommend you get a good, clean backup of that thing right now, and
keep it backed up to within a couple days or the amount of work you can
afford to lose. Sounds to me like something is on its way out.

The fact that you upgraded just prior to this symptom's appearance
casts an accusing finger at the upgrade, and that certainly should be
investigated. But just in case it's a coincidence, you should do what
everyone else said about hardware diagnostics. And I'd like to add one
further diagnostic...

Remove the cover from the machine and start wiggling wires, hard. Does
it seem like you can trigger the click by moving the wires? If so, move
ever fewer wires til you get one wire or one cable that seems to
trigger it.

I had an intermittent click several years ago that turned out to be a
defective hard disk power connector.

SteveT

Steve Litt 
June 2018 featured book: Twenty Eight Tales of Troubleshooting
http://www.troubleshooters.com/28


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-02 Thread Hendrik Boom
On Sun, Jul 01, 2018 at 08:35:07PM -0500, Andres Suarez wrote:
> Already used iotop ?
> 
> apt-get install iotop

Thanks.  Didn't know about that one.

Installed that.  Processes frequently using disk seem to be:
  jbd2/dm-0-8
  dhcpd -q
  kworker/0:0
  kworker/0:3

jbd2 is of course the journaling process for my RAIDs.  But who's I/O is 
it journalling?

dhcpd -- whi does it have to read disk every second?  connctions aren't 
being made that oftern, are they?

And what are the kworkers all about?  Somthing kde-ish?  I only 
occasionally use any kind of graphicl interface, and when I do it's over 
X to  screen on another machine.  Not doing that now.

Or is it k for kernel?

-- hendrik

> 
> On Sun, 2018-07-01 at 21:25 -0400, Hendrik Boom wrote:
> > After upgrading my server to Ascii (which I did successfully using the 
> > instructions in 
> > https://devuan.org/os/documentation/dev1fanboy/upgrade-to-ascii although 
> > it did not go flawlessly  I noticed that it was making a regular, 
> > repeated click-click noise, a pair of clicks about every 1.1 second.
> > 
> > Later, I noticed its hard-disk-in-use light blinking at the same time as 
> > the noise.
> > 
> > I conclude that something in the system is using the hard drive every 
> > 1.1 seconds, night and day.
> > 
> > Any ideas for tracking down what is doing this? 
> > 
> > -- hendrik
> > 
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> 
> 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-02 Thread Hendrik Boom
On Mon, Jul 02, 2018 at 10:01:26AM +0200, Dr. Nikolaus Klepp wrote:
> Am Montag, 2. Juli 2018 schrieb Hendrik Boom:
> > After upgrading my server to Ascii (which I did successfully using the 
> > instructions in 
> > https://devuan.org/os/documentation/dev1fanboy/upgrade-to-ascii although 
> > it did not go flawlessly  I noticed that it was making a regular, 
> > repeated click-click noise, a pair of clicks about every 1.1 second.
> > 
> > Later, I noticed its hard-disk-in-use light blinking at the same time as 
> > the noise.
> > 
> > I conclude that something in the system is using the hard drive every 
> > 1.1 seconds, night and day.
> > 
> > Any ideas for tracking down what is doing this? 
> 
> In earlier days this was the "click of death". Maybe it would be a good idea 
> to look at the smart values ... and you sure have a backup, don't you?

Against hardware failures, yes.  A pure redundancy RAID.
Against other failures, I occasionaly use rdiffbackup.

-- hendrik

> 
> Nik
> 
> > 
> > -- hendrik
> > 
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> > 
> 
> 
> 
> -- 
> Please do not email me anything that you are not comfortable also sharing 
> with the NSA, CIA ...
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-02 Thread Dr. Nikolaus Klepp
Am Montag, 2. Juli 2018 schrieb Hendrik Boom:
> After upgrading my server to Ascii (which I did successfully using the 
> instructions in 
> https://devuan.org/os/documentation/dev1fanboy/upgrade-to-ascii although 
> it did not go flawlessly  I noticed that it was making a regular, 
> repeated click-click noise, a pair of clicks about every 1.1 second.
> 
> Later, I noticed its hard-disk-in-use light blinking at the same time as 
> the noise.
> 
> I conclude that something in the system is using the hard drive every 
> 1.1 seconds, night and day.
> 
> Any ideas for tracking down what is doing this? 

In earlier days this was the "click of death". Maybe it would be a good idea to 
look at the smart values ... and you sure have a backup, don't you?

Nik

> 
> -- hendrik
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> 



-- 
Please do not email me anything that you are not comfortable also sharing with 
the NSA, CIA ...
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] noisy computer

2018-07-01 Thread Andres Suarez
Already used iotop ?

apt-get install iotop

On Sun, 2018-07-01 at 21:25 -0400, Hendrik Boom wrote:
> After upgrading my server to Ascii (which I did successfully using the 
> instructions in 
> https://devuan.org/os/documentation/dev1fanboy/upgrade-to-ascii although 
> it did not go flawlessly  I noticed that it was making a regular, 
> repeated click-click noise, a pair of clicks about every 1.1 second.
> 
> Later, I noticed its hard-disk-in-use light blinking at the same time as 
> the noise.
> 
> I conclude that something in the system is using the hard drive every 
> 1.1 seconds, night and day.
> 
> Any ideas for tracking down what is doing this? 
> 
> -- hendrik
> 
> ___
> Dng mailing list
> Dng@lists.dyne.org
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] noisy computer

2018-07-01 Thread Hendrik Boom
After upgrading my server to Ascii (which I did successfully using the 
instructions in 
https://devuan.org/os/documentation/dev1fanboy/upgrade-to-ascii although 
it did not go flawlessly  I noticed that it was making a regular, 
repeated click-click noise, a pair of clicks about every 1.1 second.

Later, I noticed its hard-disk-in-use light blinking at the same time as 
the noise.

I conclude that something in the system is using the hard drive every 
1.1 seconds, night and day.

Any ideas for tracking down what is doing this? 

-- hendrik

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng