LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-12-2010, 09:12 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
jbd2/sda1-8 What exactly is this process that keeps running every few seconds?


I'm trying to figure out what this process is that pops up when I run
PHP Code:
top -
every few seconds
PHP Code:
jbd2/sda1-
The best info I've found so far says it might be something to do with ext4 journaling, but I've never seen this before. I'm running 2.6.33-rc5 if that might have something to do with it. Further the process hasn't been popping up for the last 10 minutes or so, but previously it was occuring every 2 or 3 seconds repeatedly for a minute or so.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-12-2010, 09:34 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
The JBD is the journaling block device that sits between the file system and the block device driver. The jbd2 version is for ext4, as you found. If you are seeing a lot of activity when nothing much is running, check if any of the logs are getting a lot of updates.
 
3 members found this post helpful.
Old 09-10-2010, 06:44 PM   #3
jaimesilva
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Question

And how do I find if a log is getting a lot of activity? There are many of them !

Thanks
 
Old 09-10-2010, 09:57 PM   #4
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Quote:
Originally Posted by jaimesilva View Post
And how do I find if a log is getting a lot of activity? There are many of them !
As a first pass, just have a look if there are any abnormally large logs. Something like the following will show you which logs are the biggest:
Code:
ls -lS /var/log/*log | head
If there are any that are larger than a few megabytes, use tail to look at the end of them and see if there are any errors that are occurring frequently.

Of course, the disk activity might be caused by something other than writing to logs, so this is just one thing to look at.
 
Old 10-04-2012, 01:17 PM   #5
lfcfan
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Hi Neonsignal (and the others).
Could you please let me know how to investigate my log files using tail ?
Here is the result of the command above :
Code:
Myaccount@Mycomuputer:~$ ls -lS /var/log/*log | head
-rw-r----- 1 syslog adm  10636287 2012-10-04 14:05 /var/log/kern.log
-rw-r----- 1 syslog adm   1400996 2012-10-04 14:05 /var/log/syslog
-rw-r----- 1 syslog adm    534842 2012-10-04 14:05 /var/log/auth.log
-rw-rw-r-- 1 root   utmp   292292 2011-10-23 03:07 /var/log/lastlog
-rw-r--r-- 1 root   root   112244 2012-10-04 13:47 /var/log/pm-powersave.log
-rw-r--r-- 1 root   root    49835 2012-02-01 23:17 /var/log/wifi-radar.log
-rw-r--r-- 1 root   root    49092 2011-10-12 11:08 /var/log/bootstrap.log
-rw-r--r-- 1 root   root    32605 2012-10-04 13:46 /var/log/Xorg.0.log
-rw-r--r-- 1 root   root    24024 2011-10-23 03:07 /var/log/faillog
-rw-r--r-- 1 root   root    21767 2012-10-04 14:00 /var/log/dpkg.log
My kern.log seems to be huge, what do you think ?
 
Old 10-13-2015, 10:23 AM   #6
mjlush
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 2
5 years late but

watch ls -l

will run ls -l every 2 seconds so you should be able to see which log files are being added to
 
Old 07-17-2017, 12:03 AM   #7
jk04
LQ Newbie
 
Registered: Feb 2013
Posts: 2

Rep: Reputation: Disabled
I came across a similar issue recently...

These are the steps (commands: observations) that I took:
  1. iotop -oPa -d 2: High I/O on /var partition
  2. glances: High iowait and load
  3. iostat -2: /var high I/O confirmation
  4. ls -lhS /var/log/*log | head: Large mail.log
  5. tail -f /var/log/mail.log: Rapid, continuous logging
In this particular case, the culprit turned out another mailserver which did not accept mail causing local server logging activities on resending messages from a huge queue and notifying senders of delivery delays.
 
  


Reply



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
Xfig running on KDE4.3 -slackware 13 64bit- freezes after a few seconds. gabrielvc Linux - Software 5 01-25-2010 04:46 AM
Get Process size and Thread count for a particular running process haseit Linux - Newbie 2 01-22-2009 11:09 PM
Identifying process responsible for disk writes every 4 seconds pwc101 Slackware 14 01-09-2009 08:32 AM
Shell Script : Kill a running process when another process starts ashmew2 Linux - General 3 08-20-2008 03:47 AM
Trying to get ps to display time a process has been running in seconds kinetik Programming 1 02-26-2007 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration