Hi there,
I have an old server (home use now), and i just did a fresh install of 5.8 on it. But the disk is constantly noisy.
When running iotop, there is nothing blaring out at me.
(sample output)
1722 be/3 root 0.00 B/s 0.00 B/s 0.00 % 0.10 % auditd 3 be/7 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/0] 1724 be/2 root 0.00 B/s 0.00 B/s 0.10 % 0.00 % audispd 10 be/3 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kblockd/0] 103 be/3 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [khubd] 2163 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sshd 6265 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sshd: root@pts/1
169 be/4 root 0.00 B/s 0.00 B/s 0.00 % 2.82 % -bash 1724 be/2 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % audispd 3 be/7 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/0] 7 be/3 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [kthread] 2163 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sshd 6265 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % sshd: root@pts
169 be/4 root 0.00 B/s 0.00 B/s 0.00 % 2.92 % -bash 1722 be/3 root 0.00 B/s 0.00 B/s 0.00 % 0.78 % auditd 2022 be/4 haldaemo 0.00 B/s 0.00 B/s 0.00 % 0.68 % hald 1724 be/2 root 0.00 B/s 0.00 B/s 0.78 % 0.00 % audispd 3 be/7 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % [ksoftirqd/0] 2342 be/4 root 0.00 B/s 0.00 B/s 0.00 % 0.00 % mingetty tty1
And in nmon, the damn thing looks like it is doing nothing:
┌nmon─14g──────[H for help]───Hostname=home─────────Refresh= 2secs ───15:41.15────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Disk I/O ──/proc/diskstats────mostly in KB/s─────Warning:contains duplicates───────────────────────────────────────────────────────────────────────── │ │DiskName Busy Read WriteKB|0 |25 |50 |75 100| │ │hda 0% 0.0 0.0|> | │ │hda1 0% 0.0 0.0|> | ───────────────────────────│ │hda2 0% 0.0 0.0|> | │ │sda 0% 0.0 0.0|> | │ │sda1 0% 0.0 0.0|> | │ │sdb 0% 0.0 0.0|> | │ │sdb1 0% 0.0 0.0|> | │ │dm-0 0% 0.0 0.0|> | │ │dm-1 0% 0.0 0.0|> | │ │Totals Read-MB/s=0.0 Writes-MB/s=0.0 Transfers/sec=0.0 │ │─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│ │ │ │ │ │ │ │ │ │
Any tips to quiet this thing down? The server is very low use. I read a few people suggest converting to ext 2, but I'm not so sure about htat,..
Any tips?
D
On Thu, Mar 22, 2012 at 12:24 PM, dnk d.k.emaillists@gmail.com wrote:
Hi there,
I have an old server (home use now), and i just did a fresh install of 5.8 on it. But the disk is constantly noisy.
What is the spec of the machine? RAM, CPU, HDD Any particular purpose?
On 2012-03-21, at 9:42 PM, Fajar Priyanto wrote:
On Thu, Mar 22, 2012 at 12:24 PM, dnk d.k.emaillists@gmail.com wrote:
Hi there,
I have an old server (home use now), and i just did a fresh install of 5.8 on it. But the disk is constantly noisy.
What is the spec of the machine? RAM, CPU, HDD Any particular purpose? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
It is old. 512 Mb ram, 1.6 Ghz (Celeron), 2 X 1TB Dell 7200 RPM Sata drives. Mostly backup purposes (rsync and crashplan). transmission-daemon running. That's about it at this point.
D
On Thu, Mar 22, 2012 at 12:45 PM, dnk d.k.emaillists@gmail.com wrote:
It is old. 512 Mb ram, 1.6 Ghz (Celeron), 2 X 1TB Dell 7200 RPM Sata drives. Mostly backup purposes (rsync and crashplan). transmission-daemon running. That's about it at this point.
512MB is pretty low. I wont be surprised that it's doing swapping all the time. Try to stop and disable all services you can from: chkconfig --list
Moreover, that transmission daemon is surely causing disk activity, don't you think so?
If you are talking about "noise level" of the disk activity..... :) Make sure you screw the harddisk tight to the casing.
On Thu, Mar 22, 2012 at 01:06:41PM +0800, Fajar Priyanto wrote:
On Thu, Mar 22, 2012 at 12:45 PM, dnk d.k.emaillists@gmail.com wrote:
It is old. 512 Mb ram, 1.6 Ghz (Celeron), 2 X 1TB Dell 7200 RPM Sata drives. Mostly backup purposes (rsync and crashplan). transmission-daemon running. That's about it at this point.
512MB is pretty low. I wont be surprised that it's doing swapping all the time. Try to stop and disable all services you can from: chkconfig --list
Moreover, that transmission daemon is surely causing disk activity, don't you think so?
Give me 512MB and I will compute forever :-)
It is doubtful that the machine is swapping, just sitting there running X+gnome or KDE. But why would it swap? Idle processes don't swap. If anything, idle pages get swapped out, and stay swapped out.
The simplest way to check is with # swapon -s (man swapon)
Swapping can be observed as it occurs with top(1) or iotop(1) (the latter from packages). The simplest way to reduce the memory load on this machine, if it is used as a server for backups and so on, is to not run X on it. This is accomplished with: # telinit 3 (man telinit)
No need to reboot or other windoze-style shenanigans. There is never a sound reason to reboot except catastrophic failure or a kernel update. And there is no need to run X to run most X applications, if they display on another machine's console. (How-to do this is fairly easy, but OT). If this doesn't free up memory, nothing will.
The machine can be trained to boot up in runstate 3, (networking and multiuser, no X) by editing /etc/inittab: # vi /etc/inittab (man telinit vi) Change the line: id:5:initdefault: to id:3:initdefault:
I believe the sequence of commands would be Gf5r3ZZ
Presto. Changeo. Fixo.
The machine can be admined from its console, or if headless, via ssh or even over a serial port. Yeah, you can start X/gnome/KDE/Xcruft on a headless machine, I think, and that stuff starts by default on CentOS out-of-the-box. Usually.
What is this transmission daemon of which you speak?
Dave
On Wed, Mar 21, 2012 at 11:49:10PM -0700, John R Pierce wrote:
On 03/21/12 11:35 PM, Woodchuck wrote:
What is this transmission daemon of which you speak?
its a bittorrent thing. peer to peer file exchange
Ah, so. Thanks. Yeah, if it's active it's probably hitting the disk. iotop and possibly netstat might tell the tale.
Dave
On Thu, 22 Mar 2012 09:10:14 +0200 Jussi Hirvi wrote:
Just a sidenote: what vi/vim command is ZZ? I notice that it saves and quits, but why? I usually to :wq for that.
ZZ == :wq
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Frank Cox Sent: Thursday, March 22, 2012 2:12 AM
On Thu, 22 Mar 2012 09:10:14 +0200 Jussi Hirvi wrote:
Just a sidenote: what vi/vim command is ZZ? I notice that it saves
and
quits, but why? I usually to :wq for that.
ZZ == :wq
Almost...
ZZ == :wq, if the file has been modified ZZ == :q, if the file has not been modified
-- Owen Beckley - owen.beckley@sungard.com - T: 630 482 5148 - M: 630 788 6998
On Wed, 2012-03-21 at 21:24 -0700, dnk wrote:
Hi there, I have an old server (home use now), and i just did a fresh install of 5.8 on it. But the disk is constantly noisy. And in nmon, the damn thing looks like it is doing nothing: Any tips to quiet this thing down? The server is very low use. I read a few people suggest converting to ext 2, but I'm not so sure about htat,..
(a) if you are using MD is it perhaps doing a rebuild/repair? (b) "dstat" is also a nice tool (c) find out the source of any I/O http://www.whitemiceconsulting.com/2011/04/blockdump-logging.html
On 22.3.2012 05:24, dnk wrote:
I have an old server (home use now), and i just did a fresh install of 5.8 on it. But the disk is constantly noisy.
When running iotop, there is nothing blaring out at me.
Any tips to quiet this thing down?
hdparm and smartmontools are your friends maybe. I would trying the following:
The disk is ok? S.M.A.R.T long selftest/status is ok?
Automatic Acoustic Management feature set? AAM (Actually I really dont know if this would/could help) http://en.wikipedia.org/wiki/Automatic_acoustic_management
Power Management feature set? play with Power Management Settings of the harddrive.