Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 08FC0200AE2 for ; Tue, 3 May 2016 00:02:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 07C8C1602C5; Tue, 3 May 2016 00:02:15 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5B9101609B1 for ; Tue, 3 May 2016 00:02:14 +0200 (CEST) Received: (qmail 93499 invoked by uid 500); 2 May 2016 22:02:13 -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 93470 invoked by uid 500); 2 May 2016 22:02:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 93464 invoked by uid 99); 2 May 2016 22:02:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2016 22:02:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DD8832C14F9 for ; Mon, 2 May 2016 22:02:12 +0000 (UTC) Date: Mon, 2 May 2016 22:02:12 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9348) CloudStack Server degrades when a lot of connections on port 8250 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 02 May 2016 22:02:15 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9348?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15267589#comment-15267589 ]=20 ASF GitHub Bot commented on CLOUDSTACK-9348: -------------------------------------------- Github user swill commented on the pull request: https://github.com/apache/cloudstack/pull/1493#issuecomment-216378613 =20 Thank you @kiwiflyer. =F0=9F=91=8D=20 =20 @rhtyd can you force push this PR again to try to get Jenkins green? T= hanks... Otherwise this one is ready... > CloudStack Server degrades when a lot of connections on port 8250 > ----------------------------------------------------------------- > > Key: CLOUDSTACK-9348 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-934= 8 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Reporter: Rohit Yadav > Assignee: Rohit Yadav > Fix For: 4.9.0 > > > An intermittent issue was found with a large CloudStack deployment, where= servers could not keep agents connected on port 8250. > All connections are handled by accept() in NioConnection: > https://github.com/apache/cloudstack/blob/master/utils/src/main/java/com/= cloud/utils/nio/NioConnection.java#L125 > A new connection is handled by accept() which does blocking SSL handshake= . A good fix would be to make this non-blocking and handle expensive tasks = in separate threads/pool. This way the main IO loop won't be blocked and ca= n continue to serve other agents/clients. -- This message was sent by Atlassian JIRA (v6.3.4#6332)