LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2010, 11:35 AM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
high HD activity bringing system to crawl when browser is open


I'm running Slackware 13 with a custom kernel based off of 2.6.32.3. I tend to leave my system on 24/7, as well as my web browser. Originally it was Firefox and now it is Google's Chrome. Usually about a day of leaving the web browser open my HD activity spikes so high that I can barely do anything on the system until I kill the web browser. This has been happening with both Firefox AND Chrome! As soon as the browser processes are killed, the system returns back to normal. Anyone have any suggestions on this?
 
Old 04-24-2010, 12:17 PM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Limit memory, cpu and swap usage of the browser... nice

what addons do you have?
 
Old 04-24-2010, 12:17 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
That doesn't seem normal at all. First of all, browsers don't normally use the HDD a whole lot. Second, even if they were to use it so some extent, you should still be able to use the rest of your system normally.

So,

First, I would eliminate the chances of there being any kind of virus or malware on your system. I know that Linux tends not to have problems with these, but you never know. So run a virus scanner clamav, as well rootkit finders like chkrootkit and rkhunter. Also, look for anything suspicious, check 'netstat', 'nmap localhost', 'lsof', etc. Make sure you have a firewall running.

Second, what filesystem are you using ? In some cases it may have to do with filesystem and I/O scheduler, but it's more rare.

Also, check the RAM usage, make sure it isn't some type of memory leak, which tends to exert its effects after leaving the system on for extended periods of time. See the output of 'top' as it may help.
 
Old 04-24-2010, 06:36 PM   #4
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
It just happened again, this time with less than a day's worth of the browser being open. I looked at the stats in top and did not see anything out of the ordinary! RAM and swap usage did not spike, nor did the amount of memory used for the chrome processes listed in top. Only addon I have for chrome is the adblock to block ads. I'm running on an ext4 filesystem that originally was an ext3 filesystem. Is there any way to find out what is accessing the disk at any given time in Linux?
 
Old 04-24-2010, 07:11 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
iotop would probably do. Works like top - has batch option and count. Stick it in a loop with a sleep, and write it out to a file - I like to use "date" each iteration as well.
 
Old 04-24-2010, 07:14 PM   #6
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
try atop as well
http://www.atoptool.nl/downloadatop.php
 
Old 04-24-2010, 09:00 PM   #7
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by dimm0k View Post
It just happened again, this time with less than a day's worth of the browser being open. I looked at the stats in top and did not see anything out of the ordinary! RAM and swap usage did not spike, nor did the amount of memory used for the chrome processes listed in top. Only addon I have for chrome is the adblock to block ads. I'm running on an ext4 filesystem that originally was an ext3 filesystem. Is there any way to find out what is accessing the disk at any given time in Linux?
I keep my browsers open 24/7, with a current uptime of 19 days, x86_64, 2.6.32.8, ext4. Firefox exhibits this behavior because of the (un)awesome bar - but only when typing in the address bar. Once your history gets so large, Firefox becomes a fat bloated pig. You can fix this by tuning some options in about:config or limiting your history. But I doubt this is the problem because you said it happens with Chrome as well.

I'd look to see if it happens at the same time everyday and check for a cron job, or some other service running, or an application doing chores in the background. My email application is known to hit my system pretty hard with all the mailing lists, news groups, rss feeds and email accounts it retrieves and filters 4 times a day.

There is a memory leak with KDE 4 that causes plasma-desktop to chew away at ram over time. After 6-7 days, I need to kill and restart plasma-desktop. I've seen the application use up to 5GiB of ram. Currently after less than 48hours since the last time I killed it, it has ballooned to a 425MiB footprint, compared to the normal ~35MiB footprint.

Another thought is plugins. Remove all plugins, and add them back one by one to see if the culpurt is found. The only plugins I have are flash, java, and the default mozilla svg plugin. Gxine, and the improperly located skype plugin get nuked right off the bat.
 
Old 05-08-2010, 03:57 PM   #8
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Still attempting to figure out what exactly is causing the high disk usage...

disturbed1, do you know if KDE 4.2.4 still has this memory leak issue with plasma? How does one easily check how much memory a specific process/application is using? With top I rarely see plasma in there and when I do, it flashes by too quickly.
 
Old 05-08-2010, 04:02 PM   #9
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Rep: Reputation: 40
i use ctrl esc to open System Activity when my machine is being a pain can sort by cpu or memory then and find whats causing the problems.
 
Old 05-08-2010, 07:03 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
What data did the two tools suggested above provide ?. How was it inadequate ?.
 
Old 05-08-2010, 07:13 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
EDIT: didn't read top post carefully enough.
 
  


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
Accessing CD/DVD drive brings system to a crawl taylorkh Linux - Hardware 10 02-01-2010 10:05 AM
Apache gets stuck on Reading Request, bringing server to crawl xxclixxx Linux - Server 7 01-23-2008 06:57 PM
High paging activity malru AIX 7 06-19-2006 10:47 AM
RAID5 and RAID1 causing high system load on Suse 10.1 with no activity desibeli Linux - General 11 06-10-2006 01:50 PM
HDD activity causes high load squisher Linux - Hardware 1 07-14-2005 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:13 PM.

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