- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cron issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2008 07:28 AM
тАО01-14-2008 07:28 AM
Cron is not running any jobs in crontab, in the cron logs all i get is the following.. around hundreds of messages every minute.
-------------------------------------------
! a queue max run limit reached Mon Jan 14 09:21:23 CST 2008
! rescheduling at job Mon Jan 14 09:21:23 CST 2008
! a queue max run limit reached Mon Jan 14 09:21:23 CST 2008
! rescheduling at job Mon Jan 14 09:21:23 CST 2008
! a queue max run limit reached Mon Jan 14 09:21:23 CST 2008
! rescheduling at job Mon Jan 14 09:21:23 CST 2008
! a queue max run limit reached Mon Jan 14 09:21:23 CST 2008
! rescheduling at job Mon Jan 14 09:21:23 CST 2008
! a queue max run limit reached Mon Jan 14 09:21:23 CST 2008
! rescheduling at job Mon Jan 14 09:21:23 CST 2008
----------------------------------------------
I cleared the crontab but still I'm getting those messages. even tried with stop and start the cron, but nothing works. would anybody help me with this.
Thanks
Rahul.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2008 07:36 AM
тАО01-14-2008 07:36 AM
Re: Cron issue
See "man queuedefs"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2008 07:37 AM
тАО01-14-2008 07:37 AM
SolutionYou have the maximum number of jobs already running and 'cron' will not start any more: "a queue max run limit reached ". The 'a' is queue 'a'. See:
http://docs.hp.com/en/B3921-60631/queuedefs.4.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2008 07:46 AM
тАО01-14-2008 07:46 AM
Re: Cron issue
The limit is defined in, and may be able to be raised via, /var/adm/cron/queuedefs (see queuedefs(4)).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2008 07:53 AM
тАО01-14-2008 07:53 AM
Re: Cron issue
1. ps -ef | grep cron; ID the PID that's running cron
2. ps -ef | grep ${pid}
You'll probably find 200+ jobs that were run via cron. Kill them and cron will start working again.
The short answer is that the script/process isn't dying so it's not freeing up the queue entry in cron. Once that fills up, no more cron jobs can be run.
After you kill all the extraneous processes, comment the script out of whatever cron tab started it and then fix the script.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html