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 0684AD60F for ; Fri, 24 May 2013 08:50:30 +0000 (UTC) Received: (qmail 30012 invoked by uid 500); 24 May 2013 08:50:27 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 29159 invoked by uid 500); 24 May 2013 08:50:26 -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 28154 invoked by uid 500); 24 May 2013 08:50:25 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 27501 invoked by uid 99); 24 May 2013 08:50:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 May 2013 08:50:23 +0000 Date: Fri, 24 May 2013 08:50:23 +0000 (UTC) From: "Stephen Turner (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-105) /tmp/stream-unix.####.###### stale sockets causing inodes to run out on Xenserver 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-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666121#comment-13666121 ] Stephen Turner commented on CLOUDSTACK-105: ------------------------------------------- Thanks, Caleb. Any news from your experiment? > /tmp/stream-unix.####.###### stale sockets causing inodes to run out on Xenserver > --------------------------------------------------------------------------------- > > Key: CLOUDSTACK-105 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-105 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Third-Party Bugs > Affects Versions: pre-4.0.0 > Environment: Xenserver 6.0.2 > Cloudstack 3.0.2 > Reporter: Caleb Call > Assignee: Devdeep Singh > Fix For: 4.1.0 > > Attachments: messages > > > We came across an interesting issue in one of our clusters. We ran out of inodes on all of our cluster members (since when does this happen in 2012?). When this happened, it in turn made the / filesystem a read-only filesystem which in turn made all the hosts go in to emergency maintenance mode and as a result get marked down by Cloudstack. We found that it was caused by hundreds of thousands of stale socket files in /tmp named "stream-unix.####.######". To resolve the issue, we had to delete those stale socket files (find /tmp -name "*stream*" -mtime +7 -exec rm -v {} \;), then kill and restart xapi, then correct the emergency maintenance mode. These hosts had only been up for 45 days before this issue occurred. > In our scouring of the interwebs, the only other instance we've been able to find of this (or similar) happening is in the same setup we are currently running. Xenserver 6.0.2 with CS 3.0.2. Do these stream-unix sockets have anything to do with Cloudstack? I would think if this was a Xenserver issue (bug), there would be a lot more on the internet about this happening. For a temporary workaround, we've added a cronjob to cleanup these files but we'd really like to address the actual issue that's causing these sockets to become stale and not get cleaned-up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira