Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm all for giving people, and even machines, a rest. But for some reason, my HDD installed Knoppix 3.6 is exhibiting some odd behaviour if it's left on for long periods of time. What happens is that the machine eventually blanks the screen after about 30 minutes of inactivity, and works fine if I move the mouse or hit the keyboard to wake it up. Even leaving it this way over night is not a problem.
But after about 24 hours of operation, something kicks up on the machine that eats CPU and has the HD going crazy to the point where it's almost impossible to even shut the machine down without unplugging it or holding the power key for several seconds. Because it is so non-responsive in this state, I can't even get a ps -ef to give me a result in a terminal session I left open.
I normally use the XFCE desktop that comes with this version of the distribution, and I'm wondering if that might be having some wierd interaction with some power setting or KDE setting or...
Actually, I'm now wondering if this might not be some cron job that's running on a daily basis. Is there any way to determine what jobs are in the cron queue? Alternately, I notice a number of files under cron.daily, and am wondering how safe it would be to move these and see if that's the problem... Or am I going to make things worse when cron tries to run one of these and the file isn't there?
Yes, I guess it is cron which starts these buggers. Moving files away from cron.daily won't do any harm (apart from the cron jobs not being run at all).
You could even check for /etc/crontab and /var/spool/cron/* files.
Well, after close to 36 hours everything is running fine. So it's pretty obvious that the problem is something either in cron.hourly getting crazy after a while - or more likely something rather wrong in cron.daily.
Taking a look in cron.daily I see:
0anacron
apt-show-versions
bsdmainutils
dlocate
find
logrotate
man-db
modutils
netkit-inetd
raidtools2
samba
smail
standard
sysklogd
Several of these look like things I don't really need. Any idea if there are any of these I "should" be running? I'm guessing logrotate, but anything else? This is a result of a Knoppix 3.6 HD Install in case that is a useful clue...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.