hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : What is kjournald?
Reply

Forum Jump

What is kjournald?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-16-2002, 12:53 PM
Alan - Vox Alan - Vox is offline
Web Hosting Master
 
Join Date: Nov 2000
Location: Dundee, UK
Posts: 1,366

What is kjournald?


On all of my servers there abour 6 processes called kjournald, they are all running Red Hat Linux 7.2

On the other servers it just sits there idle, but on one of them it takes upto 20% of the cpu, anyone know what it is and why it takes so mcuh cpu time?

Reply With Quote


Sponsored Links
  #2  
Old 03-16-2002, 01:20 PM
Softerweb Softerweb is offline
Junior Guru Wannabe
 
Join Date: Mar 2001
Posts: 85
I would think that is the deamon for the journaling feature of EXT 3 filesystem. Check out http://www.redhat.com/support/wpapers/redhat/ext3/ for more info.

Daniel

__________________
Softerweb
http://www.softerweb.com
Reliable webhosting, real easy, really affordable

Reply With Quote
  #3  
Old 03-16-2002, 03:23 PM
mkaufman mkaufman is offline
Web Hosting Master
 
Join Date: Nov 2000
Location: Lancaster, PA
Posts: 687
Yes, it is for the journaling feature of the EXT3 file system. If it's taking up 20% of the resources (which it shouldn't..) a simple restart should probably fix it..

__________________
Matt Kaufman
mkaufman@techboost.com

Reply With Quote
Sponsored Links
  #4  
Old 03-16-2002, 05:15 PM
Alan - Vox Alan - Vox is offline
Web Hosting Master
 
Join Date: Nov 2000
Location: Dundee, UK
Posts: 1,366
Ive already tried restarting the server, just came back.

Code:
  131 root      17   0     0    0     0 SW   16.6  0.0 400:23 kjournald
23581 root      19   0  1080 1080   832 R     6.0  0.2   0:00 top
17843 root      12   0   588  548   488 S     4.9  0.1  38:39 syslogd
 2082 named     11   0 34456  30M 15452 R     3.8  6.2 782:52 named
    7 root       9   0     0    0     0 SW    2.2  0.0 203:44 kjournald
 2080 named     11   0 34456  30M 15452 S     2.2  6.2  1627m named

Reply With Quote
  #5  
Old 03-16-2002, 05:24 PM
AlaskanWolf AlaskanWolf is offline
Account Disabled
 
Join Date: Apr 2000
Posts: 1,726
ext3 is known to take up alot of resources sometimes, specially on a bizy disk

suggest reverting back to ext2 if journaling is bothering u so much.

Reply With Quote
  #6  
Old 03-17-2002, 02:45 AM
bitserve bitserve is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: Ann Arbor, MI
Posts: 2,978
I concur with what the alaskanwolf says. Are you using SCSI disks? Is there a lot of disk IO activity?

__________________
-Mark Adams
www.bitserve.com - Secure Michigan web hosting for your business.
Only host still offering a full money back uptime guarantee and prorated refunds.
Offering advanced server management and security incident response!

Reply With Quote
  #7  
Old 03-17-2002, 06:51 AM
priyadi priyadi is offline
Registered User
 
Join Date: Apr 2001
Location: Depok, Indonesia
Posts: 986
If it is really caused by a lot of I/O activity, then I suggest to fine tune the journal for speed. See this url for more information about ext3: http://www.zip.com.au/~akpm/linux/ext3/.

If that doesn't help you, try converting to ext2, it should be as simple as updating your fstab file.

Reply With Quote
  #8  
Old 03-17-2002, 11:32 AM
Alan - Vox Alan - Vox is offline
Web Hosting Master
 
Join Date: Nov 2000
Location: Dundee, UK
Posts: 1,366
Yeah there is a most likely a lot of disk activity, its an ide disk.

Reply With Quote
  #9  
Old 03-17-2002, 11:43 AM
Craig Craig is offline
Web Hosting Evangelist
 
Join Date: Dec 2000
Location: Hemel Hempstead
Posts: 529
Alan, in that quote of your processors, how long had the server been up?

Was that taken STRAIGHT after the restart or before?

Craig.

__________________
Craig Robinson - UKDedicated LTD
Cloud Servers Dedicated Servers and Colocation at Centro, Hemel Hempstead.
All supported by our own onsite team.

Reply With Quote
  #10  
Old 03-17-2002, 02:29 PM
Alan - Vox Alan - Vox is offline
Web Hosting Master
 
Join Date: Nov 2000
Location: Dundee, UK
Posts: 1,366
The server had been up a few days when i took that screen shot.

Reply With Quote
  #11  
Old 12-21-2002, 05:51 AM
wmac wmac is offline
Web Hosting Master
 
Join Date: May 2001
Posts: 937
Quote:
Originally posted by priyadi
If that doesn't help you, try converting to ext2, it should be as simple as updating your fstab file.
Sorry to post in an old thread.

But this daemon creates high loads on a few of my servers (an Ensim and a Cpanel). How someone can convert to ext2?

Is there much difference between ext2 and ext3 by means of safety and performance?

Regards,
Mac

Reply With Quote
  #12  
Old 12-21-2002, 06:49 AM
priyadi priyadi is offline
Registered User
 
Join Date: Apr 2001
Location: Depok, Indonesia
Posts: 986
Quote:
Originally posted by wmac


Sorry to post in an old thread.

But this daemon creates high loads on a few of my servers (an Ensim and a Cpanel). How someone can convert to ext2?

Is there much difference between ext2 and ext3 by means of safety and performance?

Regards,
Mac
No need to convert anything, you only need to edit /etc/fstab and change ext3 to ext2 then reboot the server (yes yes I know a reboot is not really necessary, but it is the easiest way). ext2 and ext3 are upward and backward compatible, the only difference is the journalled operation.

However I suggest you to try different approach first as ext2 requires lengthy fsck after a hard crash. It might take more than one hour for a moderately sized disk for today's standard.

High load on kjournald means you are having high data throughput. First try changing journalling mode to 'writeback', see man mount for more information. Second, try increasing journal size or maybe put the journal on another disk altogether, see man tune2fs for more information.

Reply With Quote
  #13  
Old 06-20-2008, 11:23 PM
Brook Brook is offline
Junior Guru Wannabe
 
Join Date: Jan 2008
Posts: 52
I'm getting high iowait and I have a 20 minute kjournald process running (and a 57 minute named process running )- should I change mine to writeback too?

Here's my fstab:

Quote:
LABEL=/ / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0
/tmp /var/tmp ext3 defaults,bind,noauto 0 0
If so which bits do I need to change?

Thanks in advance.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?