Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AD9210239 for ; Fri, 10 Jan 2014 05:11:04 +0000 (UTC) Received: (qmail 3727 invoked by uid 500); 10 Jan 2014 05:11:04 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 3597 invoked by uid 500); 10 Jan 2014 05:11:04 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 3590 invoked by uid 99); 10 Jan 2014 05:11:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 05:11:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of reka@wso2.com designates 209.85.128.42 as permitted sender) Received: from [209.85.128.42] (HELO mail-qe0-f42.google.com) (209.85.128.42) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 05:10:59 +0000 Received: by mail-qe0-f42.google.com with SMTP id b4so4213975qen.1 for ; Thu, 09 Jan 2014 21:10:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wso2.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=g3tIyMDLEaBkpztfM/ogf7YITtO75lk/bHXeAcVC0Jg=; b=eAFGS+vZL/9TGgM4CmI6wuR0JmPj1pIEzs+cIgXvK/DkqbWc7Ub/wIT+vqhI+R1R9x huWK3AUDI/xFYaNRYIfiS8gAldHSzlDSjWRAXWoiv0SIkx+uRvr98RtS8ukCZyITN85W +ZDVVkE1OxHdxY59ZuREzA57f8u2RskZO3O+g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=g3tIyMDLEaBkpztfM/ogf7YITtO75lk/bHXeAcVC0Jg=; b=Gh/nL9LD1mPM0sOF95eFRjZdzFI71OhLR0cIApo8LzbN+tSQrV5EV/RxE002IjP264 Dc0D68Ys+JnhENsoXzTx1dmSctlci1ZlnQaG1Dolm8ygudlqNVfpCFGAehaL50LJ5SzB 8IKo5es4A29OeLb7GVlYQ3NevuClWg6JjfiEd8rZpF4EKzG+qCZ/Ly8MCBuqbvOOYZBT 6t5NOlgcKeJXM92W46+smalo1sK0P+Xu9iHg7Tk3fsa6FuBYzc1/YN4qVNqFo4y4GtGZ h8s06z7CEP8IJ5dWQIAVkTrMH5oMvkqwtSxNUn5tX47bkXF+hBM66Pam5fCPjH6Wv0S+ PB4w== X-Gm-Message-State: ALoCoQmqgz0tnslOP8P7QWoTW/qWwsEZKylDo5atiUBthuGqoXmU9yCjmfbPem4Wp59rzy26RX7c X-Received: by 10.229.56.200 with SMTP id z8mr3179756qcg.1.1389330638025; Thu, 09 Jan 2014 21:10:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.211.195 with HTTP; Thu, 9 Jan 2014 21:10:17 -0800 (PST) In-Reply-To: References: From: Reka Thirunavukkarasu Date: Fri, 10 Jan 2014 10:40:17 +0530 Message-ID: Subject: Re: Graceful shutdown for the instances when scale down To: "dev@stratos.incubator.apache.org" Content-Type: multipart/alternative; boundary=001a113308a427b8d204ef96bf60 X-Virus-Checked: Checked by ClamAV on apache.org --001a113308a427b8d204ef96bf60 Content-Type: text/plain; charset=ISO-8859-1 Hi Udara, +1. It is a good point. I will consider introducing a timeout in Autoscaler to decide on the actual termination after making the call to SM. Thanks, Reka On Fri, Jan 10, 2014 at 8:26 AM, Udara Liyanage wrote: > Let's say Instance cleanup hang due to some reason(a file could not be > deleted). Then instance won't send the readyToTerminate message. So isn't > it better instance is terminated by force after timeout when the graceful > shutdown is issued. > > Touched, not typed. Erroneous words are a feature, not a typo. > -- Reka Thirunavukkarasu Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007 --001a113308a427b8d204ef96bf60 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Udara,

+1. It is a good point. I= will consider introducing a timeout in Autoscaler to decide on the actual = termination after making the call to SM.

Thanks,
Reka


On Fri,= Jan 10, 2014 at 8:26 AM, Udara Liyanage <udara@wso2.com> wrote= :

Let's say Instance cleanup hang due to some reason(a fil= e could not be deleted). Then instance won't send the readyToTerminate = message. So isn't it better instance is terminated by force after timeo= ut when the graceful shutdown is issued.

Touched, not typed. Erroneous words are a feature, not a typ= o.




--
R= eka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442= 007

<= font color=3D"#888888">
--001a113308a427b8d204ef96bf60--