LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-20-2008, 09:48 AM   #1
andrewsb333
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
CRON becoming unresponsive


Hopefully, this is the correct forum to post to...

I'm running SUSE Pro 9.2 on an INTEL server and have an issue that just started to occur. Every once in a while CRON becomes unresponsive and fails to start processes. Nothing has been changed on this server, not the applications running on it or the OS. Once we determine that CRON is unresponsive, we are able to get it running again by killing the daemon and restarting. Any ideas??
 
Old 05-20-2008, 11:10 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You might look to see if there is any kind of job being run by cron every minute or so that isn't actually completing before the next one starts. I've seen people kill cron (not to mention use up most if not all of the cpu cycles) by doing this.

If so add a line to the script that is being executed by that specific cron job that tests to see if the commands of the job are already waiting and if so exit. (Don't sleep - the next run of cron will do the test again.)
 
  


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
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
CRON becomming unresponsive andrewsb333 LinuxQuestions.org Member Intro 2 05-20-2008 01:49 PM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 08:16 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U SUSE / openSUSE 11 01-04-2007 01:57 AM
Can any one plz explain why/what for cron.d, cron.daily, cron.weekly etc are there. mavinashbabu Linux - Newbie 4 09-21-2006 01:50 PM

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

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