Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0CC241737E for ; Tue, 10 Mar 2015 10:15:44 +0000 (UTC) Received: (qmail 26797 invoked by uid 500); 10 Mar 2015 10:15:38 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 26765 invoked by uid 500); 10 Mar 2015 10:15:38 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 26755 invoked by uid 500); 10 Mar 2015 10:15:38 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 26752 invoked by uid 99); 10 Mar 2015 10:15:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2015 10:15:38 +0000 Date: Tue, 10 Mar 2015 10:15:38 +0000 (UTC) From: "Rohit Yadav (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-8272) Improve password serving script by making it non-blocking non-locking concurrent server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav updated CLOUDSTACK-8272: ------------------------------------ Fix Version/s: 4.6.0 4.5.0 > Improve password serving script by making it non-blocking non-locking concurrent server > --------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8272 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8272 > Project: CloudStack > Issue Type: Improvement > Security Level: Public(Anyone can view this level - this is the default.) > Affects Versions: 4.5.0, 4.6.0, 4.4.2, 4.3.2 > Reporter: Rohit Yadav > Assignee: Rohit Yadav > Labels: virtualrouter > Fix For: 4.5.0, 4.6.0 > > > The current reset password server serves one user VM at a time, uses a global lock per VR and slows up VM starting process for a VM that is created by a template with reset password scripts. No only reset password option, but when the VM starts for the first time this happens. The way it serves password uses forking the process/scripts which eats up resources in both process table and memory. For a concurrent launch of 30+ VM the VR hangs/fails. Possible solution in the past includes increase the VR memory. > The solution would be to implement a concurrent single-process multi-threaded password server that works both in basic/isolated network and in VPCs. It's hard to do this in bash, so we can either implement a backward compatible python script that replaces the present bash script, or a compiled program (like a native tool) in C/C++/Go/Rust. -- This message was sent by Atlassian JIRA (v6.3.4#6332)