Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA2EC7C72 for ; Fri, 16 Sep 2011 23:41:30 +0000 (UTC) Received: (qmail 67442 invoked by uid 500); 16 Sep 2011 23:41:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67421 invoked by uid 500); 16 Sep 2011 23:41:30 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 67406 invoked by uid 99); 16 Sep 2011 23:41:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2011 23:41:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Sep 2011 23:41:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 136C49E198 for ; Fri, 16 Sep 2011 23:41:09 +0000 (UTC) Date: Fri, 16 Sep 2011 23:41:09 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <1513616566.37125.1316216469076.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1670160928.36992.1316215989498.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5418) Network server session's close method neglects to close down any open trace file 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/DERBY-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik updated DERBY-5418: --------------------------------- Attachment: derby-5418.diff Uploading a patch which fixes this issue. > Network server session's close method neglects to close down any open trace file > -------------------------------------------------------------------------------- > > Key: DERBY-5418 > URL: https://issues.apache.org/jira/browse/DERBY-5418 > Project: Derby > Issue Type: Bug > Components: Network Server > Reporter: Dag H. Wanvik > Attachments: derby-5418.diff > > > When shutting down a network server with open sessions and tracing is enabled, this can lead to file handles remaining indefinitely open (till OS process dies). When the server instance shuts down, it calls the open sessions' close method to reclaim resources. That method, unfortunately, does not shut down any open trace file. > I saw this when debugging a test on Windows which tried to delete the trace files after shutting down the server. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira