logo       

Re: Re: kill_delay: msg#00108

Subject: Re: Re: kill_delay
On Sun, Feb 25, 2007 at 12:07:49AM +0100, Roy Dragseth alleged:
> This is hardcoded into src/resmom/linux/mom_mach.c around line 1910.  The 
> kill 
> procedure iterates up to 20 times with a nanosleep call of 0.25 seconds 
> before it continues and does a hard kill on the process.  I do not know why 
> this have to be there, the -TERM and -KILL signalling should be left at the 
> discression of pbs_server which has the kill_delay variable.  I do not think 
> the kill_delay variable is forwarded to the moms.

That loop has always really bugged me.  If you do something largish
with TM, like launch >1000 tasks, that loop takes forever to complete.

I don't know exactly why or when it was added, but OpenPBS didn't have
it.  I can easily imagine someone was trying to make pbs_mom very
thorough in the art of process massacre.

That said, kill_delay does actually work correctly.  pbs_server will
send out KILLs after kill_delay seconds if the job hasn't exited.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe