Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F25CF10CD9 for ; Tue, 8 Sep 2015 09:09:45 +0000 (UTC) Received: (qmail 44041 invoked by uid 500); 8 Sep 2015 09:09:45 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 44004 invoked by uid 500); 8 Sep 2015 09:09:45 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 43993 invoked by uid 99); 8 Sep 2015 09:09:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 09:09:45 +0000 Date: Tue, 8 Sep 2015 09:09:45 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-1386) IPC semaphores are not released on server endpoint abrupt stop MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Denis Magda created IGNITE-1386: ----------------------------------- Summary: IPC semaphores are not released on server endpoint abrupt stop Key: IGNITE-1386 URL: https://issues.apache.org/jira/browse/IGNITE-1386 Project: Ignite Issue Type: Bug Components: general Reporter: Denis Magda Priority: Critical Fix For: ignite-1.5 {{IpcSharedMemoryCrashDetectionSelfTest.testIgfsClientServerInteractionsUponServerKilling}} stops a server endpoint abruptly with 'kill' command and right after that start a new endpoint. The test expects that such a flow will release all previously allocated memory segments and semaphores. In fact, only memory segments are released while semaphores stay in the system. However, the test successfully ends. Steps to reproduce: - check existing semaphores with {{ipcs -s}}; - start the test on Linux or Mac OS; - call {{ipcs -s}} and you will see that semaphores hasn't been released. In addition, TeamCity agents fail a test suite because of this reason from time to time {noformat} [16:14:03][Step 7/7] Failing build because of remaining IPC resources. [16:14:03][Step 7/7] Process exited with code 1 [16:14:03][Step 7/7] Step Check IPC / Clean up (Command Line) failed {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)