[Pacemaker] Resource Agent timeout

Kulovits Christian - OS ITSC Christian.Kulovits at austrian.com
Mon Jun 20 13:15:23 UTC 2011


Andreas,
you mean the cluster wide default timeout? I wonder if there is a possibility to set the fixed timeout of 5 secs when SIGKILL is issued after the SIGTERM when the resource timeout is exceeded.
Regards, 
Christian

-----Original Message-----
From: Andreas Kurz [mailto:andreas.kurz at linbit.com] 
Sent: Montag, 20. Juni 2011 15:08
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] Resource Agent timeout

On 2011-06-20 14:28, Kulovits Christian - OS ITSC wrote:
> Hello List,
> 
>  
> 
> When a resource agent times out a SIGTERM is issued when the timeout 
> value has exceeded. When the resource agent will not terminate within 
> the next  5 seconds a SIGKILL is issued. Is there a way to set this 
> limit? May be to 30 secs or so? 5 seconds may often be insufficient 
> for a proper cleanup.
> 

The default action timeout is 20s so you already "tuned" it ... you can set a global "default-action-timeout" or specify a timeout for each operation per resource.

Regards,
Andreas

>  
> 
>  
> 
> Jun 20 10:51:04 mars lrmd: [2178]: info: RA output:
> (res_TimeoutRA_Killroy:stop:stderr) + sleep 10
> 
> Jun 20 10:51:08 mars lrmd: [2178]: WARN: res_TimeoutRA_Killroy:stop 
> process (PID 24359) timed out (try 1).  Killing with signal SIGTERM (15).
> 
> Jun 20 10:51:08 mars lrmd: [2178]: info: RA output:
> (res_TimeoutRA_Killroy:stop:stderr) Terminated
> 
> Jun 20 10:51:08 mars lrmd: [2178]: info: RA output:
> (res_TimeoutRA_Killroy:stop:stderr) ++ ha_debug 'DEBUG: Resource
> (res_TimeoutRA_Killroy): Timeout during stop of res_TimeoutRA_Killroy'
> 
> ++ sleep 10
> 
>  
> 
> Jun 20 10:51:13 mars lrmd: [2178]: WARN: res_TimeoutRA_Killroy:stop 
> process (PID 24359) timed out (try 2).  Killing with signal SIGKILL (9).
> 
> Jun 20 10:51:13 mars lrmd: [2178]: WARN: operation stop[94] on 
> ocf::TimeoutRA::res_TimeoutRA_Killroy for client 2181, its parameters:
> CRM_meta_timeout=[5000] crm_feature_set=[3.0.1] CRM_meta_name=[start] :
> pid [24359] timed out
> 
> Jun 20 10:51:13 mars crmd: [2181]: ERROR: process_lrm_event: LRM 
> operation res_TimeoutRA_Killroy_stop_0 (94) Timed Out (timeout=5000ms)
> 
> Mit freundlichen Grüßen / with best regards Christian Kulovits
> 
> ____________________________________________
> 
> Description: cid:497353613 at 17022010-1F5B *AUSTRIAN AIRLINES Christian 
> Kulovits* *ITSC Central System & Database Services Senior IT System 
> Engineer*
> 
> Head Office
> Office Park 2, P.O. Box 100
> 1300 Vienna-Airport, Austria
> 
>  
> 
> *(**   *Phone:     +43 (0)5 1766   11557
> *Ê**   *Fax:         +43 (0)5 1766 511557
> È*   *Mobile:     +43 (0)664 80111 11557
> *   email:      christian.kulovits at austrian.com
> <mailto:christian.kulovits at austrian.com>
> ý   www:       www.austrian.com <http://www.austrian.com/>
> 
> ____________________________________________
> 
>  
> 
> ________________________________________________
> 
> Austrian Airlines AG, Office Park 2, P.O. Box 100, 1300 
> Vienna-Airport, Austria, registered office: Vienna, registered with 
> Vienna Commercial Court under FN 111000k, DVR 0091740. This e-mail is 
> confidential and is subject to disclaimers. Details can be found at:
> http://www.austrian.com/disclaimer.
> 
>  
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org 
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org Getting started: 
> http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: 
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacema
> ker






More information about the Pacemaker mailing list