Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Job stuck in the queue problem

News Oracle Grid Engine Recommended Links Client Commands Parallel Environment Gridengine diag tool MPI
Job or Queue Reported in Error State E Monitoring and Controlling Jobs Monitoring Queues Creating and modifying SGE Queues ulimit problem with infiniband  
qstat qacct command qsub -- Submitting Jobs To Queue Instances qhost qmod qping SGE cheat sheet
Installation of SCE on a small set of multicore servers Usage of NFS Installation of the Master Host Installation of the Execution Hosts Perl Admin Tools and Scripts Humor Etc

At this point I'd do the following:

(1) As root, run the sorta-under-documented command "qconf -tsm" on your head node. That will cause a one-time scheduler profiling run to be dumped to a text file called "schedd_runlog" in your $SGE_ROOT/ $SGE_CELL/common/ directory. It may explain why your job is stuck in "qw" despite having available queue instances.

(2) Double check the qmaster/messages and qmaster/shedd/messages for any odd error states

(3) Does the command "qrsh hostname" even work?

(4) Check /tmp on the compute nodes, as the execd daemon will log there in panic situations when it can't get to its spooldir

Does this cluster share a $SGE_ROOT over NFS?

This does not seem like a network timeout or firewall/routing issue as you'd clearly see SGE alarm states in your qstat output showing that nodes are unreachable. Each node regularly reports its load data and SGE will notice when these are not coming in.

Regards,
Chris


On May 22, 2006, at 3:13 PM, Mark_Johnson@xxxxxxxxxxx wrote:

The job I have submitted is the simple.sh script. Below is qstat - j 43,
and qstat -f (part of it....as I have 250 nodes)

[urs1@medusa ~]$ qstat -j 43
job_number: 43
exec_file: job_scripts/43
submission_time: Mon May 22 15:09:53 2006
owner: urs1
uid: 500
group: urs1
gid: 500
sge_o_home: /home/urs1
sge_o_log_name: urs1
sge_o_path:
/opt/gridengine/bin/lx26-x86:/usr/kerberos/bin:/usr/java/jdk1.5.0
_05/bin:/opt/intel/itc60/bin:/opt/intel/ita60/bin:/opt/intel/fc/9.0/ bin:/opt/intel/idb/9.0/bin:/opt/intel/cc/9.0/bin:/usr/local/bin:/ bin:/usr/bin:/usr/X11R6/bin:/opt/mpich/intel/bin:/opt/chromium/bin/ Linux:/opt/ganglia/bin:/opt/lam/gnu/bin:/usr/share/pvm3/lib:/usr/ share/pvm3/lib/LINUX:/usr/share/pvm3/bin/LINUX:/opt/rocks/bin:/opt/ rocks/sbin:/home/urs1/bin
sge_o_shell: /bin/bash
sge_o_workdir: /home/urs1
sge_o_host: medusa
account: sge
mail_list: urs1@xxxxxxxxxxxxxxxxxxxxx
notify: FALSE
job_name: simple.sh
jobshare: 0
shell_list: /bin/sh
env_list:
script_file: simple.sh
scheduling info: queue instance "all.q@xxxxxxxxxxxxxxxxxxx"
dropped because it is temporarily not available
queue instance "all.q@xxxxxxxxxxxxxxxxxxx"
dropped because it is temporarily not available
queue instance "all.q@xxxxxxxxxxxxxxxxxxx"
dropped because it is full

[urs1@medusa ~]$

all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.53 lx26-x86
---------------------------------------------------------------------- ------
all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.68 lx26-x86
---------------------------------------------------------------------- ------
all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.59 lx26-x86
---------------------------------------------------------------------- ------
all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.70 lx26-x86
---------------------------------------------------------------------- ------
all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.64 lx26-x86
---------------------------------------------------------------------- ------
all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.66 lx26-x86
---------------------------------------------------------------------- ------
all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.77 lx26-x86
---------------------------------------------------------------------- ------
all.q@xxxxxxxxxxxxxxxxxx BIP 0/1 0.64 lx26-x86

###################################################################### ######
- PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS - PENDING JOBS
###################################################################### ######
43 0.55500 simple.sh urs1 qw 05/22/2006 15:09:53 1
[urs1@medusa ~]$





Chris Dagdigian
<dag@xxxxxxxxxxxx
To
users@xxxxxxxxxxxxxxxxxxxxxxxx
05/22/2006 03:04 cc
PM
Subject
Re: [GE users] SGE jobs in "qw"
Please respond to state
users@gridengine.
sunsource.net









Hi Mark,

Send us the output of "qstat -f" and also "qstat -j <jobID>" using a
jobID of a job that is pending in state 'qw'

The usual causes are:

Judging by the output below I would not be surprised to see your
"qstat -f' output full of "au" states which means alarm/unreachable.
You need to restart SGE on any node showing 'au' in the state column.

Regards,
Chris


On May 22, 2006, at 2:50 PM, Mark_Johnson@xxxxxxxxxxx wrote:

I have built a Rocks 4.1 Cluster, and am trying to resolve a
problem with
the SGE.

I can submit jobs to the queue, but once sibmitted they just sit
thre in
the "qw" state. I have received good help from the Rocks
community, but am
still unable to get the jobs to start. Below are a few lines from the
/opt/gridengine/default/spool/qmaster/message. It looks like the
qmaster
cannot contact the "execd" on the nodes and timesout ?

Any thoughts or ideas are appreciated..

ps...dumb it down for me as I have a Windows Handicap...

Mark,

05/22/2006 10:39:06|qmaster|medusa|I|execd on compute-0-179.local
registered
05/22/2006 10:39:06|qmaster|medusa|I|execd on compute-0-178.local
registered
05/22/2006 10:39:07|qmaster|medusa|I|execd on compute-0-180.local
registered
05/22/2006 10:40:11|qmaster|medusa|E|got max. unheard timeout for
target
"execd" on host "compute-0-157.local", can't delivering job "42"
05/22/2006 10:40:11|qmaster|medusa|W|rescheduling job 42.1
05/22/2006 10:40:11|qmaster|medusa|E|failed delivering job 42.1
05/22/2006 10:40:26|qmaster|medusa|E|got max. unheard timeout for
target
"execd" on host "compute-0-156.local", can't delivering job "42"
05/22/2006 10:40:26|qmaster|medusa|W|rescheduling job 42.1
05/22/2006 10:40:26|qmaster|medusa|E|failed delivering job 42.1
05/22/2006 10:40:32|qmaster|medusa|I|urs1 has deleted job 42
[urs1@medusa qmaster]$



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019