LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 12-06-2009, 08:31 AM   #1
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Rep: Reputation: 15
kjournald2 active every two seconds?


After installing Mandriva 2010.0 64 bit Linux on a new machine for mom, I noticed the hard drive would blip at least every two seconds (like clockwork) when logged into kde. To me this is odd behavior that I have never seen before.

I have the mom box sitting next to MY home machine. Although they are different architectures, they are both running ML2010.0 64 bit & kde4. The only real difference between the two (other than hardware) is the filesystem.

My box is still running reiserfs. The mom box is running ext4 (and this is the first time I have ever used ext4 on anything). I used the (wonderful) iotop program to find and confirm that on the mom machine, there is a pseudo process named "kjournald2" that activates every two seconds, exactly like the hard drive light shows (and at the same instant).

The bizarre two second blips start after I login to her box. If I sit on the kdm screen, it blips randomly, waiting as long as 30 sec. As soon as I login, the 2 second blips start, even when not running any apps.

Meanwhile, I am logged into my box with dozens of apps open and it blips very rarely, and randomly.

1) Has anyone else seen this behavior?
2) Is there a way to stop it?
3) Should I even worry about it?

Thanks!
 
Old 12-06-2009, 10:36 PM   #2
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Original Poster
Rep: Reputation: 15
I have confirmation from another user- someone using the 32 bit version on a laptop. So I have filed a bug report: https://qa.mandriva.com/show_bug.cgi?id=56245

Still could use additional ideas, confirmations, etc. Anyone else out there running KDE4.3 reading this? Do you have the same behavior? Which filesystem type are you using?
 
Old 12-07-2009, 05:30 AM   #3
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
ext4 is a journaled file system. I suspect that kjournald2 is related. I installed and ran iotop here too, and see the process popping up. The k in front of the name (kjournald2) leads me to think it is a KDE daemon, and my guess is that KDE is checking the file systemś journal, perhaps for new commits. Do you have any evidence that kjournald2 is performing disk writes? If the process is checking the drives buffers, you may still see activity, but it will not affect the life of the device if the disks are not being accessed. In any case, the benefits of a journalized file system far outweigh any potential reduction to the life of the drive. In practice, a hard drive will be replaced due to technological improvements long before its expected end of life approaches unless a manufacturing or design flaw exists. Please post back with any results from your bug report.
 
Old 12-07-2009, 08:17 PM   #4
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ernie View Post
ext4 is a journaled file system. I suspect that kjournald2 is related. I installed and ran iotop here too, and see the process popping up. The k in front of the name (kjournald2) leads me to think it is a KDE daemon, and my guess is that KDE is checking the file systemś journal, perhaps for new commits. Do you have any evidence that kjournald2 is performing disk writes? If the process is checking the drives buffers, you may still see activity, but it will not affect the life of the device if the disks are not being accessed. In any case, the benefits of a journalized file system far outweigh any potential reduction to the life of the drive. In practice, a hard drive will be replaced due to technological improvements long before its expected end of life approaches unless a manufacturing or design flaw exists. Please post back with any results from your bug report.
The "k" is for kernel. It is a pseudo process that belongs to the kernel and it is, indeed, related to ext4. But reiserfs is also journaled and it doesn't have a pseudo process by that name. ext3 is also journaled and I have evidence of yet another user with 2010.0 + KDE4 + ext3 that does NOT have the repeated hard drive access every 2 seconds.

It appears to be disk writes, but it hard to tell exactly. About every second or third blip, I can hear the heads move when I put my ear on the drive. So even if it is a read, it could still wear out that mechanism prematurely.

I will post back whatever I learn, so anyone else looking for answers will find them.
 
Old 12-07-2009, 11:59 PM   #5
basje
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Ubuntu server 32 bit

FWIW I have the same issue running Ubuntu server 9.10, 32 bit version. I use ext4 as well. I suspect it is a journaling thing, but have not been able to tune it.
 
Old 12-08-2009, 01:19 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,551
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Similar shown by GKrellM and HDD LED on Slackware 13.0 with Xfce and ext4.
 
Old 12-08-2009, 03:48 PM   #7
crxssi
Member
 
Registered: Apr 2005
Location: USA
Distribution: Mageia
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks to everyone for continuing to provide data on this. Looks like it might be cross-distro and also not KDE related. I updated the bug report on Mandriva.
 
  


Reply

Tags
ext4, harddrive, led, mandriva, reiserfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert total no of seconds in the format hour minutes and seconds suchi_s Programming 15 03-15-2011 11:34 AM
[SOLVED] Experiencing freezing up to 5 seconds every 10 seconds, could these be the problem? Switch7 Slackware 10 11-16-2009 04:36 PM
Do you need STP enabled to run active active bonding one CentOS4? ch19251 Linux - Networking 1 06-17-2009 09:30 AM
hdparm power save, 15 seconds of spin, 5 seconds of rest... Romanus81 Linux - Laptop and Netbook 1 01-01-2009 05:24 PM
active active servers to same memory space c@ml Linux - Server 2 10-31-2008 08:19 AM


All times are GMT -5. The time now is 12:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration