mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maciej Strzelecki <maciej.strzele...@crealytics.com>
Subject EXECUTOR_SIGNAL_ESCALATION_TIMEOUT vs EXECUTOR_SHUTDOWN_GRACE_PERIOD vs docker_stop_timeout
Date Mon, 01 Jun 2015 15:36:47 GMT
Hi,


EXECUTOR_SIGNAL_ESCALATION_TIMEOUT is set to 3 seconds, hard-coded.

EXECUTOR_SHUTDOWN_GRACE_PERIOD  has a default of 5, and can be configured

docker_stop_timeout - default of 0, configurable as well


I am running a jobsystem app that needs to clean up and write back some data before it dies.
 Its run by mesos through docker and, preferably, it needs more than 3 seconds (15 would be
safe)


For testing, I have set:


docker_stop_timeout = 20 secs


and


executor_shutdown_grace_period = 30secs


How do the above two play with EXECUTOR_SIGNAL_ESCALATION_TIMEOUT (which is 3 seconds) ? Could
someone explain the logic and order in which those params are enforced?




Maciej Strzelecki
Operations Engineer
Tel: +49 30 6098381-50
Fax: +49 851-213728-88
E-mail: mstrzelecki@crealytics.de
www.crealytics.com<http://www.crealytics.com>
blog.crealytics.com

crealytics GmbH - Semantic PPC Advertising Technology

Brunngasse 1 - 94032 Passau - Germany
Oranienstraße 185 - 10999 Berlin - Germany

Managing directors: Andreas Reiffen, Christof König, Dr. Markus Kurch
Register court: Amtsgericht Passau, HRB 7466
Geschäftsführer: Andreas Reiffen, Christof König, Daniel Trost
Reg.-Gericht: Amtsgericht Passau, HRB 7466

Mime
View raw message