My disk is writing about every 10 seconds. I searched but did not find a solution for my problem. I installed iotop and it seems that the following writes much to my disk:
[jbd2/sda6-8]
rsyslogd -c 5 -f /etc/rs
What are they and can i turn them off or configure them so that they writes not mutch to my disk?
On 2010-09-23 03:06, ProClub wrote:
>
> My disk is writing about every 10 seconds. I searched but did not find a
> solution for my problem. I installed iotop and it seems that the
> following writes much to my disk:
>
> [jbd2/sda6-8]
> rsyslogd -c 5 -f /etc/rs
>
> What are they and can i turn them off or configure them so that they
> writes not mutch to my disk?
No, you can not turn it off. It is the log system. Read the log to find the culprit - if any.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))
Sounds like disk search indexing might be going on in the background. I normally start the System Monitor (called ksysguard) and sort on CPU % load. Each time the disk is hit, the program responsible will come to the top. I had this happen on one system and just uninstalled the program responsible for the problem. But, I can’t remember anymore what it was called.
I started the System Monitor but don’t understand what is displaying there. I thought that it would be bad for my disk if something writes to it about every few seconds. For example, i installed openSuse 11.3 yesterday and the log in /var/log/messages is now over the 14 mb. I installed it yesterday at 11:30 am. Anyway thanks both for your answer.
Edit:
I read the log and most of the entries are something like this:
Sep 23 10:38:52 linux-y5r7 kernel: 2287.248285] hub 1-0:1.0: unable to enumerate USB device on port 1
Sep 23 10:38:52 linux-y5r7 kernel: 2287.458033] usb 1-1: new high speed USB device using ehci_hcd and address 126
Sep 23 10:38:52 linux-y5r7 kernel: 2287.521419] hub 1-0:1.0: unable to enumerate USB device on port 1
Sep 23 10:38:53 linux-y5r7 kernel: 2287.680329] hub 1-0:1.0: unable to enumerate USB device on port 1
Sep 23 10:38:53 linux-y5r7 kernel: 2287.839358] hub 1-0:1.0: unable to enumerate USB device on port 1
Sep 23 10:38:53 linux-y5r7 kernel: 2288.049049] usb 1-1: new high speed USB device using ehci_hcd and address 3
Sep 23 10:38:53 linux-y5r7 kernel: 2288.112227] hub 1-0:1.0: unable to enumerate USB device on port 1
Something plugged in to a USB port? Have a look & unplug it.
Desktop system? The connectors for the external USB ports (if you have any) are plugged in to the motherboard, are they loose? Check also
I unplugged my keyboard with no result. I also plugged it in different usb ports. The messages keeps writing into the log file. Connectors are not loose as far as i can see. What do you mean with desktop system? The computer system i user or kde/gnome?
I use a desktop pc from packard bell. I don’t have a card reader.
The output i get:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 013: ID 1631:a510 Good Way Technology
Bus 005 Device 014: ID 1631:0006 Good Way Technology
Bus 005 Device 015: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 005 Device 016: ID 046d:c045 Logitech, Inc. Optical Mouse
Bus 005 Device 017: ID 1631:0510 Good Way Technology
> For example, i installed openSuse 11.3
> yesterday and the log in /var/log/messages is now over the 14 mb.
And what does it say?
12 MB in a day seems excesive, but we can’t recommend what to do unless we know what it is getting
written to the log. Perhaps it is writing some thing repeatedly. What is it?
(don’t even think of posting the entire log here!)
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 2010-09-26 22:36, ProClub wrote:
>
> Thanks, for your reply.
>
> I put the following 2 lines at top of rsyslog.conf and the problem is
> solved. The messages are no longer written to the log:
>
> :msg, contains, “new high speed USB device using ehci_hcd and address”
> ~
>
> :msg, contains, “hub 1-0:1.0: unable to enumerate USB device on port 1”
> ~
That’s like taking an aspirin when you have a flu. The fever goes down, you don’t feel the ache, but
you are still ill. For a week or more, because no ache means you go out and get cold, instead of
staying in bed.
Don’t shoot the messenger, solve the problem with the usb bus or device.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)