Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 842841038C for ; Sat, 3 Aug 2013 21:15:29 +0000 (UTC) Received: (qmail 33212 invoked by uid 500); 3 Aug 2013 21:15:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 33095 invoked by uid 500); 3 Aug 2013 21:15:25 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 33083 invoked by uid 99); 3 Aug 2013 21:15:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 21:15:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,T_FRT_STOCK2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kjkoster@gmail.com designates 209.85.215.170 as permitted sender) Received: from [209.85.215.170] (HELO mail-ea0-f170.google.com) (209.85.215.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Aug 2013 21:15:18 +0000 Received: by mail-ea0-f170.google.com with SMTP id h14so943183eak.1 for ; Sat, 03 Aug 2013 14:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=xF/0V1I1O2cchaP/udWw7r/l2ZMgsNBh44yECwCNmvM=; b=DuAv9PWQboP8dLcn2igKzKqjrYaI7eZJX1jOH7GEJnGqq3FSWYJcmkRuOoFwIjZeLF p6GBk+b2HNqI0uW+5sez3gZ8mXrQo6TCTjqkQyB/R7o6+pMjzeW4e+aywM98hxpn2TcU OipAzcgRa4xNjCWcsxa8miZBeikBQWzFHcgA/vcE09Top6smdsC+jugSjYmIegrNziFV lKlB1RJxxjn8gcQYU6VSc794hexcHD1ghOT4fr16UNv0C6qXKfrDTsbsLAbWqS+MVtgC Td2nh39jYmH0eSR5nWZvETgY+6ul5JdiPY3DX7fLBpQTfioSfSD7g8/es44zxWGLSR0h 0pbQ== X-Received: by 10.15.74.199 with SMTP id j47mr10447629eey.154.1375564498646; Sat, 03 Aug 2013 14:14:58 -0700 (PDT) Received: from kees-jan-kosters-macbook-air.fritz.box ([83.163.197.206]) by mx.google.com with ESMTPSA id n42sm21848420eeh.15.2013.08.03.14.14.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 14:14:58 -0700 (PDT) From: Kees Jan Koster Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: java.net.SocketException: Connection reset by peer in setSocketOptions() Date: Sat, 3 Aug 2013 23:14:56 +0200 Message-Id: To: Tomcat Users List Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Virus-Checked: Checked by ClamAV on apache.org Dear All, I have an exception that is littering my catalina.out. I see about 7000 = of these on a normal day (server handles about 25 requests per second). = It is this precise stack trace always. I have some other exceptions, but = this one is the main headache I have today. Tomcat 7.0.30 openjdk version "1.7.0_25" FreeBSD 9.1-STABLE My questions: 1) What might be causing this? 2) What other information do you need to help shed some light on this = problem? 3) How can I found out if this is happening from specific IP addresses = maybe? 4) Any queues that might be overflowing? I have acceptCount 1024 and = kern.ipc.somaxconn 1024, which should be plenty, right? 5) Any other steps I can take to dive deeper? Aug 03, 2013 8:50:45 PM org.apache.tomcat.util.net.NioEndpoint = setSocketOptions SEVERE:=20 java.net.SocketException: Connection reset by peer at sun.nio.ch.Net.setIntOption0(Native Method) at sun.nio.ch.Net.setSocketOption(Net.java:373) at = sun.nio.ch.SocketChannelImpl.setOption(SocketChannelImpl.java:189) at = sun.nio.ch.SocketAdaptor.setBooleanOption(SocketAdaptor.java:290) at = sun.nio.ch.SocketAdaptor.setTcpNoDelay(SocketAdaptor.java:325) at = org.apache.tomcat.util.net.SocketProperties.setProperties(SocketProperties= .java:199) at = org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:6= 49) at = org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:802) at java.lang.Thread.run(Thread.java:724) -- Kees Jan http://java-monitor.com/ kjkoster@kjkoster.org +31651838192 Repairing cannot be completed, you can only stop doing it. -- Belarusian proverb --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org