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 CD5F3200497 for ; Wed, 23 Aug 2017 18:30:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CBC92169158; Wed, 23 Aug 2017 16:30:02 +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 20032169153 for ; Wed, 23 Aug 2017 18:30:01 +0200 (CEST) Received: (qmail 38368 invoked by uid 500); 23 Aug 2017 16:30:00 -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 38355 invoked by uid 99); 23 Aug 2017 16:30:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2017 16:30:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C3A0FC0169 for ; Wed, 23 Aug 2017 16:29:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.109 X-Spam-Level: X-Spam-Status: No, score=0.109 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=jwmhosting.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id x9A5iGIzjbsu for ; Wed, 23 Aug 2017 16:29:57 +0000 (UTC) Received: from mx3.jwmhosting.com (mx3.jwmhosting.com [64.34.175.247]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1C6E961835 for ; Wed, 23 Aug 2017 16:29:52 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit DKIM-Signature: a=rsa-sha256; b=Oa0oxXgcqFMsHsoA/krPMkBCfoY2/aSaJPhBmrQXXfIjdFrPWeDhdjJxVGLIZXAcQbbGCi2SrkOIzP6ps17206OrmkdMG87zsIcfuNWwz1jhMdQecdeoefB7IcrfztP07rEYbqst1PQAL3vO9nXG1PBhxFODItUiyoU9fff2IDo=; s=primary; c=relaxed/relaxed; d=jwmhosting.com; v=1; bh=fiz32gg7pLiw6XEvROaho5CzjmDNloTHbW3J+VOxuZM=; h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type; X-Processor-Root: true X-Processor-Authorized-Outbound: true X_JWMH_OUTBOUND: true X_JWMH_FLAG: $label3 X_JWMH_TGTFOLDER: Apache Forums.Tomcat Users X-Processor-Transport: true X-UserIsAuth: true X-MIME-Autoconverted: from 8bit to quoted-printable by Apache JAMES Received: from cpe-66-68-42-68.austin.res.rr.com (EHLO [192.168.0.11]) ([66.68.42.68]) by mx2.jwmhosting.com (JAMES SMTP Server ) with ESMTPA ID 11649696 for ; Wed, 23 Aug 2017 11:29:45 -0500 (CDT) To: Tomcat Users List From: Jerry Malcolm Subject: Refreshing webapps slows server Message-ID: Date: Wed, 23 Aug 2017 11:29:43 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 Content-Language: en-US archived-at: Wed, 23 Aug 2017 16:30:03 -0000 I have a very weird situation.  I have a  staging server and a production server running on the same instance of TC (8.0).  When I'm doing development and testing on the staging server, I'm often replacing jar files and JSPs in the various webapps running on the staging server (I don't reupload full WAR files each time... just incremental jar/jsp changes).  TC recognizes the updated jar files and reloads.  Both production and development sites continue to function (including using the new updated jars, etc).  But over time, Tomcat starts getting slower and slower in response time, sometimes hitting an OutofMemory error.  Response time on a request goes from milliseconds to 20+ seconds.  Bouncing TC fixes everything. This is somewhat circumstantial.  But TC will run fine for days and never hits OutofMemory situations.  But as soon as I start replacing webapp jar files, things start going bad.  So it appears that the issue is caused by replacing jar files. Is this a recognized situation?  I don't want to have to bounce the production site every time I refresh the staging code.  But I need to test updates on the staging site on the same server.  Are there alternatives to keep this slowdown from occurring? Suggestions? Thx. Jerry --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org