Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 75196 invoked from network); 6 Dec 2010 22:26:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Dec 2010 22:26:28 -0000 Received: (qmail 9502 invoked by uid 500); 6 Dec 2010 22:26:25 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 9264 invoked by uid 500); 6 Dec 2010 22:26: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 9254 invoked by uid 99); 6 Dec 2010 22:26:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 22:26:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of knst.kolinko@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 22:26:18 +0000 Received: by yxl31 with SMTP id 31so7034756yxl.18 for ; Mon, 06 Dec 2010 14:25:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PVaLlqnJWN75KCYERJFOfLo3Xr55dw4LkAy6o19qPNc=; b=QaYLDP79U+MtV49PrFWX7qpfB6vpJZ+0wqRFwWYd0l1RebyN5s20AaznIl5fNPsQT4 gitd3aPlpPOaoK+3n9KHfXeN2spzMw1TZUMQafuZdaZVhpOH16rA7VXuju5fgTR8jWKQ RUQnKyvqWte7Ch4WWFnOh3axRI0NWT05SSqys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=bLyOZM4aheF484P888nmxAOQzCbivCoEmelDvWqXGPI9Cxh6gYecyrJ5nAp7ybw/tH 6tvanSEyUnSTTe1z+HZ0iXjDAfaLQf6Y561lmxU7m4uM2xsAgUFIjbADkM9yrpy+7PSO LtM7HFMlTLSG7dsaCox5n3XIHdUUmWcVQQ0kQ= MIME-Version: 1.0 Received: by 10.100.96.5 with SMTP id t5mr4372795anb.258.1291674358095; Mon, 06 Dec 2010 14:25:58 -0800 (PST) Received: by 10.100.139.4 with HTTP; Mon, 6 Dec 2010 14:25:58 -0800 (PST) In-Reply-To: References: Date: Tue, 7 Dec 2010 01:25:58 +0300 Message-ID: Subject: Re: Tomcat dying on its own From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2010/12/6 Guillaume Carbonneau : > Hi everyone, > My tomcat server seems to die on its own without leaving any backtrace... > > The =A0last info I get in the logs are : > Dec 3, 2010 6:11:35 PM org.apache.coyote.http11.Http11Protocol pause > INFO: Pausing Coyote HTTP/1.1 on http-8077 > Dec 3, 2010 6:11:36 PM org.apache.catalina.core.StandardService stop > INFO: Stopping service Catalina > Dec 3, 2010 6:11:36 PM org.apache.coyote.http11.Http11Protocol destroy > INFO: Stopping Coyote HTTP/1.1 on http-8077 > > Running The Apache Tomcat 6.0 (6.0.29) > Linux Oracle Red hat : 2.6.18-194.el5 > java version "1.6.0_21" > > This has happened more than once and will occur even if there is no > traffic. restarting brings it back up but it has proven to be > unreliable... > At least, it is not a sudden death. Tomcat can be shut down by sending a certain string to port 8005 on localhost (see the first lines of server.xml), -> normal shutdown or by sending a system signal that causes JVM to exit, or by calling System.exit(). -> shutdown hook perform the shutdown You can install a Listener and print a stacktrace when the stop event happens. The stack traces for the normal shutdown sequence and for the shutdown hook will be different. The Linux out-of-memory killer was already mentioned. BTW, you are not alone: such a thread happens here every 4-6 months. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org