Return-Path: X-Original-To: apmail-storm-user-archive@minotaur.apache.org Delivered-To: apmail-storm-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD6E01082F for ; Tue, 4 Feb 2014 01:38:03 +0000 (UTC) Received: (qmail 37445 invoked by uid 500); 4 Feb 2014 01:38:02 -0000 Delivered-To: apmail-storm-user-archive@storm.apache.org Received: (qmail 37384 invoked by uid 500); 4 Feb 2014 01:38:02 -0000 Mailing-List: contact user-help@storm.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@storm.incubator.apache.org Delivered-To: mailing list user@storm.incubator.apache.org Received: (qmail 37376 invoked by uid 99); 4 Feb 2014 01:38:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Feb 2014 01:38:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of snehal.kumar@gmail.com designates 209.85.192.176 as permitted sender) Received: from [209.85.192.176] (HELO mail-pd0-f176.google.com) (209.85.192.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Feb 2014 01:37:57 +0000 Received: by mail-pd0-f176.google.com with SMTP id w10so7583550pde.35 for ; Mon, 03 Feb 2014 17:37:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=6d71KSBdmfNyXBOYPhcNjux/BnMp0kVXpNMm7cj6Z28=; b=l2bgwEM4f/HstH6wtwwdk7RPZ1qoByK14BUroOPppwvWNSa78lgeKkwbky3jvqpbW6 WGy7iaH+CoOOM67FWLtGnACDL1WYDstpPttKb1mlhRjcJzRcmyZPQH40cGNNFW1Y/4Ks FehtmJXCQMms/LafGgK/goEXenyyd9EHr7RJlmurGsKpzUTR9ZTW8hR16Cft+HBXhgKl WFgEFtCz4nUSCzJoTSL3p9NFE7OinQs4LrBu5tn0BllSBle4JV9FTZSK31GNPpLGl+ft 0AH5OGI8YO6mOSmCj09CEiNm1A2+o/G9Uf+jun4u98FiqCREH1Zk630ZWgeDTta26jfM EXiA== X-Received: by 10.68.92.98 with SMTP id cl2mr40770384pbb.81.1391477857216; Mon, 03 Feb 2014 17:37:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.70.126.199 with HTTP; Mon, 3 Feb 2014 17:37:17 -0800 (PST) From: Snehal Date: Mon, 3 Feb 2014 17:37:17 -0800 Message-ID: Subject: UI component runs into "Too many connections files" To: user@storm.incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hello, We have a 5 machine storm cluster running version 0.8.1. To monitor the current state of the system we query the storm UI every 10 seconds and scrape the cluster state. As a result of this change we are seeing the following exception stack trace in the ui.logs. And also, we see that a lot of socket connections are opened by the storm UI process which are not closed. Is this a known issue? java.net.SocketException: Too many open files at java.net.Socket.createImpl(Socket.java:397) at java.net.Socket.getImpl(Socket.java:460) at java.net.Socket.setSoLinger(Socket.java:900) at org.apache.thrift7.transport.TSocket.initSocket(TSocket.java:116) at org.apache.thrift7.transport.TSocket.(TSocket.java:107) at org.apache.thrift7.transport.TSocket.(TSocket.java:92) at backtype.storm.thrift$nimbus_client_and_conn.invoke(thrift.clj:52) at backtype.storm.ui.core$main_page.invoke(core.clj:153) at backtype.storm.ui.core$fn__7296.invoke(core.clj:689) at compojure.core$if_route$fn__5818.invoke(core.clj:39) at compojure.core$if_method$fn__5811.invoke(core.clj:24) at compojure.core$routing$fn__5833.invoke(core.clj:98) at clojure.core$some.invoke(core.clj:2390) at compojure.core$routing.doInvoke(core.clj:98) at clojure.lang.RestFn.applyTo(RestFn.java:139) at clojure.core$apply.invoke(core.clj:603) Thanks, Snehal