LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-20-2004, 07:21 PM   #1
ninmonkeys
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10
Posts: 28

Rep: Reputation: 15
Cron and random freezing/lagging ?


'm using slackware 10, and when working, occasionally the system will freeze, music pauses, I can't move the mouse, or anything for a second or two, then it continues like nothing ever happened. (This happens while using fluxbox, a couple of xterms, gkrellm, xmms, and firefox, normally I run all these at once very smoothly)

gkrellm is running, and I saw the proc or sys cpu chart jump to the top, maybe there are some cron jobs running that I don't know about?

1) What could cause this?

2) I thought there was supposed to be a /etc/crontab or similar file, what I ended up finding was /etc/cron.foo, where foo is daily, hourly, weekly, or monthly. These directories just contain shell scripts.

I don't seem to have many cron jobs running, these are what came with my system
Code:
[jake@localhost: jake]$ ls /etc/cron.daily/
logrotate*  slocate*
[jake@localhost: jake]$ ls /etc/cron.hourly/
kmod*
(cron.monthly/ and cron.weekly/ are empty)

3) What log files should I check?
 
Old 11-20-2004, 07:48 PM   #2
G67
LQ Newbie
 
Registered: Dec 2003
Posts: 23

Rep: Reputation: 15
Question

I get this too, but oddly it only happens on my desktop and not on my laptop or work pc??

I have yet to figure out what this is.........
I know this does not help you in any way, other than to know your no alone.
 
Old 11-20-2004, 08:58 PM   #3
ninmonkeys
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10
Posts: 28

Original Poster
Rep: Reputation: 15
The only change in software that I can think of is maybe bluefish, or maybe firefox 1.0. I had the PR version, but I saw a post on /. saying they had problems with crashing.

Nothing appears to be crashing, just slowdown because all of my processor or many processes are started briefly. It would make sense I guess if locate was just updating it's database, but should it be that noticeable of a slowdown?

That's why I'm thinking maybe it's something else.
 
Old 11-21-2004, 02:40 PM   #4
ninmonkeys
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10
Posts: 28

Original Poster
Rep: Reputation: 15
It happened again, and this time I know for sure the processes chard and the sys cpu *both* went to the top of the chart.

Any Ideas of what could be causing this? I'm using Slack10 kernel 2.4.26, but I didn't used to have this problem.

Any ideas of how to check if it is cron jobs doing this, or something possible bad?
 
Old 11-22-2004, 10:35 AM   #5
jaMslack
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware current
Posts: 6

Rep: Reputation: 0
I have the same symptoms(perhaps same problem) although I run slackware current linux 2.6.9. sometimes the kswapd0 process gets very high cpu load, dont know why and dont really know how to fix this
 
Old 11-22-2004, 01:11 PM   #6
ninmonkeys
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10
Posts: 28

Original Poster
Rep: Reputation: 15
How did you figure out that process was the one that caused it? I know I can use top, but if I miss the "lag" It doesn't help out this problem

I checked and I have that same process running on my computer
Code:
$ ps -A | grep kswapd
    4 ?        00:00:00 kswapd
After googling, it looks like this process has something to do with the kernel not KDE.

Would a kernel upgrade fix this? This is the only problem I have with this kernel, and others say it is still recent. kernel: 2.4.26

thanks,
--monkey
 
Old 11-22-2004, 01:14 PM   #7
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
What time are your daily crons set to run?
 
Old 11-22-2004, 04:05 PM   #8
ninmonkeys
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10
Posts: 28

Original Poster
Rep: Reputation: 15
1) I haven't set any... It's whatever is default for slack10. I thought there was a crontab, but I don't see a file, just directories with shell scripts in them. (I posted the listing above in code tags)

2) Could having "rmmod usbmouse" at boot have anything to do with it? I doubt it, but its just an idea. Right now I've been working for about 5 hours and no iterruption, but I had an interupption last night.

3) So I'm thinking it's not a cronjob, what else could it be?
 
  


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
xmms, firefox. display problems, random freezing the_low Linux - Software 1 08-28-2005 07:54 AM
SuSE 9.2 - Random Freezing KDE achtunga SUSE / openSUSE 13 06-28-2005 05:58 PM
lagging sound, no overlap, and a freezing mouse... Sticktendo Fedora 6 01-07-2005 09:14 PM
Random freezing hebi_akki Slackware - Installation 5 10-08-2004 04:55 AM
random computer freezing silvercat Linux - General 17 09-20-2004 12:58 AM

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

All times are GMT -5. The time now is 12:06 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