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 2A1B18BD8 for ; Wed, 24 Aug 2011 21:06:55 +0000 (UTC) Received: (qmail 98246 invoked by uid 500); 24 Aug 2011 21:06:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 97673 invoked by uid 500); 24 Aug 2011 21:06:53 -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 97652 invoked by uid 99); 24 Aug 2011 21:06:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2011 21:06:53 +0000 X-ASF-Spam-Status: No, hits=-2000.9 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; Wed, 24 Aug 2011 21:06:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3D4D2CE592 for ; Wed, 24 Aug 2011 21:06:29 +0000 (UTC) Date: Wed, 24 Aug 2011 21:06:29 +0000 (UTC) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Message-ID: <67384942.10827.1314219989247.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1672953301.8939.1311191338092.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5347) Derby loops filling logs and consuming all CPU with repeated error: java.net.SocketException: EDC5122I Input/output error. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090485#comment-13090485 ] Kathey Marsden commented on DERBY-5347: --------------------------------------- I am trying to think of a way to make a generic test case for this issue so that accept() won't block but will encounter an error right away. I first thought maybe I could do it by removing accept() permission from the policy but because the permissions are identified by client, accept still blocks and we just get one error on each connection attempt. Can anyone think of any tricks to simulate this scenario? > Derby loops filling logs and consuming all CPU with repeated error: java.net.SocketException: EDC5122I Input/output error. > -------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-5347 > URL: https://issues.apache.org/jira/browse/DERBY-5347 > Project: Derby > Issue Type: Bug > Affects Versions: 10.7.1.1 > Environment: java version "1.5.0" > Java(TM) 2 Runtime Environment, Standard Edition (build pmz31devifx-20100215 (SR11 FP1 )) > IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 z/OS s390-31 j9vmmz3123ifx-20100127a (JIT enabled) > J9VM - 20100122_52103_bHdSMr > JIT - 20091016_1845ifx1_r8 > GC - 20091026_AA) > JCL - 20100215 > Reporter: Force Rs > Assignee: Kathey Marsden > > When a TCP/IP Stack on a z/OS system running Derby is stopped and started, Derby loops with the following stack trace repeated until disk space is exhausted on the logging file system: > Wed Jul 20 07:49:51 CDT 2011 : EDC5122I Input/output error. > java.net.SocketException: EDC5122I Input/output error. > at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:457) > at java.net.ServerSocket.implAccept(ServerSocket.java:473) > at java.net.ServerSocket.accept(ServerSocket.java:444) > at org.apache.derby.impl.drda.ClientThread$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(AccessController.java:241) > at org.apache.derby.impl.drda.ClientThread.run(Unknown Source) > The derby log we generated was 498 megabytes and had 1,883,750 of these stack traces. > Since Derby originated from IBM, the following link may provide a valuable clue as to how to fix the defect in Derby: > http://www-01.ibm.com/support/docview.wss?uid=swg1PQ93090 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira