[
https://issues.apache.org/jira/browse/ARTEMIS-2408?focusedWorklogId=277293&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-277293
]
ASF GitHub Bot logged work on ARTEMIS-2408:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 16/Jul/19 07:46
Start Date: 16/Jul/19 07:46
Worklog Time Spent: 10m
Work Description: brusdev commented on pull request #2749: ARTEMIS-2408
Too many opened FDs after server stops
URL: https://github.com/apache/activemq-artemis/pull/2749#discussion_r303767912
##########
File path:
artemis-server/src/test/java/org/apache/activemq/artemis/tests/util/NoFDBehind.java
##########
@@ -0,0 +1,202 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.activemq.artemis.tests.util;
+
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
+import java.lang.management.ManagementFactory;
+import java.lang.management.OperatingSystemMXBean;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import com.sun.management.UnixOperatingSystemMXBean;
+import org.apache.activemq.artemis.nativo.jlibaio.LibaioContext;
+import org.apache.activemq.artemis.utils.Wait;
+import org.jboss.logging.Logger;
+import org.junit.rules.TestWatcher;
+import org.junit.runner.Description;
+
+/**
+ * This is useful to make sure you won't have leaking threads between tests
+ */
+public class NoFDBehind extends TestWatcher {
Review comment:
I renamed NoFDBehind to NoProcessFilesBehind.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 277293)
Time Spent: 1h 20m (was: 1h 10m)
> Too many opened FDs after server stops
> --------------------------------------
>
> Key: ARTEMIS-2408
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2408
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Domenico Bruscino
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The number of opened FDs after stop the server on the testsuite is much
> higher than the number before the server is started, when default netty
> configuration is used.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)