Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06223200C59 for ; Mon, 17 Apr 2017 15:11:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 048C2160BAB; Mon, 17 Apr 2017 13:11:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 25AFB160B9C for ; Mon, 17 Apr 2017 15:11:15 +0200 (CEST) Received: (qmail 44165 invoked by uid 500); 17 Apr 2017 13:11:15 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 44153 invoked by uid 99); 17 Apr 2017 13:11:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2017 13:11:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 74C79C02F1 for ; Mon, 17 Apr 2017 13:11:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.768 X-Spam-Level: ** X-Spam-Status: No, score=2.768 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_OBF=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001, URI_HEX=1.313, URI_TRY_3LD=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id mBJLrOl48GIB for ; Mon, 17 Apr 2017 13:11:12 +0000 (UTC) Received: from mail-vk0-f43.google.com (mail-vk0-f43.google.com [209.85.213.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2E3A75F29C for ; Mon, 17 Apr 2017 13:11:12 +0000 (UTC) Received: by mail-vk0-f43.google.com with SMTP id q78so29434797vke.3 for ; Mon, 17 Apr 2017 06:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=JTFoQi/xSTL07RMgomkRxRBOQDBxQsHWnZLK6eUAedU=; b=umEULz5U2MOqsUZ8qNgxVnhJpuKPj9vL5HnhIuczkR3KcsenMvxVnTwFUcjRgt3rOR NJ1WFZqKGJPcrGuBsPApcfXAWA6xakOxR3psOupdc704oZrCra+3119RhT0SvxK4i5LH 5T/zeK5zx4O7Glg5hb/pRG5o8gq4zjezlqQGzoV6YdpRkqZumBlMfaKfhbKjmMX1knhw UMnEuYQ+7RqvcQ706pl0n4wptCtr64qflfQI+a2qlk/VGZ2VyMpI6lqfS9gDQyZxCwhj mNuNGPmUs2bII0+LYTV/6xg5yv4jZHPVDALKR+xsVR6w9dNiCrQE80MFso/LBNxIL2fy i81w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=JTFoQi/xSTL07RMgomkRxRBOQDBxQsHWnZLK6eUAedU=; b=cJXB14bIoN2eO/8cnvHPhHz5WWPTfXivqQ3UPxZQCCt5Dc2uY/3wVgle4+0mPs0Mwf 3oj0zWTMt9qojMn/z8eqbOMsJoP8RejXi52ZPyfkgro1/Q3ekhd0tlX/mv64cgxRBzDh 0bxkRZX9DDJlNDtInJXXkb9Vm2oRj0sP0Ulj9NZGSMB7VTezp3XpW0ledbOZNSmZVNus Gc7Mdyd5phcDnQJRRRHw8oz+b5otgt42ndG06Id288LpZzQMECiCZTanrU3d7pWa8rT1 fgA4O9rWyX/1u4QBIkHTp2cPwqdtjYHs7oOkEhxLrylI8D2ckaSglMyyqeQGWIEfiPuh OOXg== X-Gm-Message-State: AN3rC/7EP9PaRzcQcQRNX+UvVFoGcOp6WAhRdThpmrqHx5AQkVLA668A S+FlM6h5lWDptOdE9mRucewiECzing== X-Received: by 10.31.161.144 with SMTP id k138mr754545vke.174.1492434665818; Mon, 17 Apr 2017 06:11:05 -0700 (PDT) MIME-Version: 1.0 Sender: tbain98@gmail.com Received: by 10.103.75.157 with HTTP; Mon, 17 Apr 2017 06:11:05 -0700 (PDT) Received: by 10.103.75.157 with HTTP; Mon, 17 Apr 2017 06:11:05 -0700 (PDT) In-Reply-To: References: <09555B06-3A9A-4D48-8728-AEB2E708BEB2@gmail.com> <1492075202229-4724925.post@n4.nabble.com> <1492402728698-4724978.post@n4.nabble.com> From: Tim Bain Date: Mon, 17 Apr 2017 07:11:05 -0600 X-Google-Sender-Auth: CvWS383c6aHRNBSYDVNbPxFZtcQ Message-ID: Subject: Re: org.apache.activemq.broker.TransportConnection.Transport - Transport Connection to: tcp://XX.XX.XXX.XXX:5445 failed: java.io.EOFException To: ActiveMQ Users Content-Type: multipart/alternative; boundary=001a1143f2e81b4f76054d5c8604 archived-at: Mon, 17 Apr 2017 13:11:17 -0000 --001a1143f2e81b4f76054d5c8604 Content-Type: text/plain; charset=UTF-8 Also, what does the stack trace for the EOFException say the broker was doing when the EOFException occurred? On Apr 17, 2017 7:01 AM, "Tim Bain" wrote: > OK, for the EOFException, are your brokers behind a load balancer like > this thread's OP was? It sounds like you're not, so what's on the other end > of those connections? One possibility is real client processes, or another > is another broker in a network of brokers setup. In either case, are all > clients/brokers misbehaving equally, or are some fine and others very > unhappy? > > The JIRA you linked to was specifically related to websockets; is that a > configuration you're using? > > I completely understand not being able to upgrade the version of ActiveMQ > on a production server, but I don't buy the argument that it's not possible > to take a thread dump just because it's a production server. Taking a > thread dump is not a performance impact, and you should push back on > whoever is telling you that you're not allowed to do it. Unless, of course, > you don't care about the thread count and only want to pursue the EOFException > question. > > BTW, kill -3 will generate a thread dump without needing to install > additional software, but it generates it to standard out for the broker > process, so it only helps if standard out has been redirected somewhere you > can access it. So this might or might not be useful to you. > > Tim > > On Apr 16, 2017 10:28 PM, "Siebo" wrote: > > Hi Tim, > > First, I want to say thank you for your help. > I would like to update more information for this trouble: > I have 2 machines running ActiveMQ as Master-Master (for some reason, I > used > another tool to detect which machine would be used as 'active', while the > other would be 'inactive' instead of using JDBC Master-Slave). I named them > mq1 and mq2. > Currently, mq1 is in 'active' while mq2 is in 'inactive' state. > EOFException was logged continuously in both machines' log file. > > I did a number of processes check by executing command: > top -H > Result: > mq1 (active): 5381 (2 running, 5379 sleeping) > mq2 (inactive): 277 (1 running, 276 sleeping) > > EOFException seems not to be the reason for OutOfMemoryError anymore. > I wonder if a thread leak occurred in mq1, as described in this ticket: > https://issues.apache.org/jira/browse/AMQ-6482. > > Because these machines are being used in production purpose, I cannot > generate thread dump or upgrade ActiveMQ version unless having an exact > conclusion. > > Thanks and best regards, > Siebo > > > > -- > View this message in context: http://activemq.2283324.n4.nab > ble.com/org-apache-activemq-broker-TransportConnection- > Transport-Transport-Connection-to-tcp-XX-XX-XXX- > XXX-5n-tp4722840p4724978.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > > --001a1143f2e81b4f76054d5c8604--