LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 10: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, 12:10 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:09 AM
CRON becomming unresponsive andrewsb333 LinuxQuestions.org Member Intro 2 05-20-2008 02:49 PM
adding a perl script to cron.daily / cron.d to setup a cron job CrontabNewBIE Linux - Software 6 01-14-2008 09:16 AM
cron not working from crontab nor form /etc/cron/cron.d. What did SuSE change? JZL240I-U Suse/Novell 11 01-04-2007 02: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 02:50 PM


All times are GMT -5. The time now is 04:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration