Re: [OT] Tomcat unexpectedly shuts down
Ok guys, my curiosity is satisfied in the absolute, and I know understand why one /could/ need a very large Heap size. I would still like to hear the OP's answer however. His questions led me to believe that he wasn't quite sure how much memory he needed just to run Tomcat. Maybe he was horribly misinformed somehow or misread a number somewhere, or just copied the configuration of another Tomcat server without really realising what it meant. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: [OT] Tomcat unexpectedly shuts down
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] Tomcat unexpectedly shuts down > > N.B. I was unable to get a predictable maximum heap size when > running with -Xmx: You'll need to set -Xms and -Xmx to the same value if you want consistency and predictability. Otherwise the default minimum and the adjustments made for the selected platform and GC algorithm kick in. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: [OT] Tomcat unexpectedly shuts down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/10/2010 5:31 PM, André Warnier wrote: > It is just that 3000 MB is *a lot* of bytes (3,145,728,000 of them). Yup. 3000MiB is even bigger (3,221,225,472 of them), and what you'll get from the JVM. (See below) > Which means that each time one of these users hits the system, > Tomcat would need to read and load 1 MB of data just to retrieve > this user's previous session data, without even having done anything > yet for this user and his present request. Maybe, but maybe not: the Java heap is usually entirely in memory, so in-memory session data is very quickly accessed (or ignored, depending on how the request is handled). There is no penalty for loading this session data in this case. Unless otherwise configured, all session data stays in-memory during the lifetime of the context. This isn't like PHP (or Perl?) where the sessions are serialized every time a request completes and de-serialized when a request begins (and the session data must be fetched). In the case where the session data is stored on disk or in a database, the penalty for accessing data is highly dependent upon the strategy for storage and retrieval: if the entire session must be fetched from storage unconditionally, then yes, it is a giant waste of time if that data is not used every time. Heck, it's a giant waste of time no matter what. On the other hand, if session attributes are stored and accessed individually, one may be able to get away with little to no overhead for session attributes that one actually uses (and no overhead if the session is not used). > One may wonder how fast this server is expected to be, if it handles > 3,000 user sessions simultaneously ? 3000 sessions isn't really that crazy when you think about it. 3000 simultaneous requests might be a bit heavy on a single, modest server. > So let's say that I am just curious as to what the application is. Agreed. > Where I do object : > > Christopher Schultz wrote: ... >> >> 2. Caches. This may be something that is often not considered for a >> Perl hacker such as yourself, where webapps tend to be scripts that >> run once and then terminate. > > Wrong. I am also a mod_perl hacker. In a mod_perl environment, > scripts (or handlers) do not "terminate", and memory is not recycled > (this is even an inconvenient of mod_perl, and something to watch > when designing mod_perl applications). Apologies. I was thinking the .cgi-style scripts that I'm pretty sure /do/ terminate. Use of mod_perl is outside the scope of my argument :) > A secondary motive for my question to the OP, was to find out > whether this size was really the result of a rational calculation > (or experience), or just some number plucked out of the air. RAM > prices are fickle, but let's say that for server-quality RAM, one > currently pays 25 US$ per GB. And we do not know who the OP works > for, but say he is talking about 1,000 Tomcat servers. That's 3TiB of RAM. Sweet. > Saving 1 GB of > Heap to run his applications would thus mean saving 25,000 US$. I > believe it is worth asking the question. Agreed. - -chris N.B. I was unable to get a predictable maximum heap size when running with -Xmx: public class MemoryInfo { public static void main(String[] args) { Runtime rt = Runtime.getRuntime(); System.out.printf("total=%10db (%4dMiB)", rt.totalMemory(), (rt.totalMemory() / (1024*1024))); System.out.println(); System.out.printf(" max=%10db (%4dMiB)", rt.maxMemory(), (rt.maxMemory() / (1024*1024))); System.out.println(); System.out.printf(" free=%10db (%4dMiB)", rt.freeMemory(), (rt.freeMemory() / (1024*1024))); System.out.println(); } } $ java -Xmx10M MemoryInfo total= 9961472b ( 9MiB) max= 9961472b ( 9MiB) free= 9731320b ( 9MiB) Note that 9437184 (1024 * 1024 * 9) < 9961472, so I'm not sure why the extra memory. The code above doesn't necessarily get /only/ heap memory, but you get an extra 5% for some reason. $ java -Xmx100M MemoryInfo total= 64356352b ( 61MiB) max= 93257728b ( 88MiB) free= 64019480b ( 61MiB) That's weird: the JVM gives me less than I requested this time: only 88% of what I requested. $ java -showversion -Xmx1000M MemoryInfo java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) total= 64356352b ( 61MiB) max= 932118528b ( 888MiB) free= 64019480b ( 61MiB) ... and again: less than I requested. Odd. Even when I use 1MB = 1024 * 1000, I'm still being stiffed by the JVM. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxhztUACgkQ9CaO5/Lv0PAXeACeP4uhSfDmw/GedynYNMvBqKUY YdcAn09WBlQS8e16CUjo/wQQy+jqMP7x =ENGs -END PGP SIGNATURE- - To unsubscribe, e-mail: users-
Re: [OT] Tomcat unexpectedly shuts down
Hi Andre, > So I am not objecting to using 3000 MB of Heap, I am just curious. > If someone like Eric Robinson can run a non-trivial multi-user Tomcat > application with an average 64 MB of Heap and you can do pretty much the > same, then I am curious as to which Tomcat application (or situation) may > require 3,000 MB of Heap, which is 50 times more. I will give you an example of two reasons for a large heap - (1) You host a large data set that you treat as a global in memory database achieving lighting quick sorts and filters across any column. This consumes a large amount of memory for the life of the JVM. Daily refreshes require double space in transition. The size of the heap will limit the size of the data set. (2) You need to produce large Excel spreadsheets or Powerpoint decks using Apache POI. Due to the binary nature of the file formats everything is constructed in memory and the memory footprint of the Java objects is much larger. The XML versions don't give you any relief as they are Zip files. This means you need large amounts of space for short periods of time. Again more memory means the more head room you have for these requests. You have to know your app well to know if you have enough room for the very occasional large request. If that can be too big then you will need to build an execution queue of some type behind your web app. Regards, Dave - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [OT] Tomcat unexpectedly shuts down
Christopher, I have no fundamental contest with anything you say below (except one, see in text). It is just that 3000 MB is *a lot* of bytes (3,145,728,000 of them). It is, for example, the number of letters contained in 3,000 books, each of 500 pages. So even if you had 3,000 users, it would mean that the session data of each user would be about 1,000,000 bytes (as you indicate yourself below). Which means that each time one of these users hits the system, Tomcat would need to read and load 1 MB of data just to retrieve this user's previous session data, without even having done anything yet for this user and his present request. One may wonder how fast this server is expected to be, if it handles 3,000 user sessions simultaneously ? So let's say that I am just curious as to what the application is. Where I do object : Christopher Schultz wrote: ... 2. Caches. This may be something that is often not considered for a Perl hacker such as yourself, where webapps tend to be scripts that run once and then terminate. Wrong. I am also a mod_perl hacker. In a mod_perl environment, scripts (or handlers) do not "terminate", and memory is not recycled (this is even an inconvenient of mod_perl, and something to watch when designing mod_perl applications). So I am not objecting to using 3000 MB of Heap, I am just curious. If someone like Eric Robinson can run a non-trivial multi-user Tomcat application with an average 64 MB of Heap and you can do pretty much the same, then I am curious as to which Tomcat application (or situation) may require 3,000 MB of Heap, which is 50 times more. A secondary motive for my question to the OP, was to find out whether this size was really the result of a rational calculation (or experience), or just some number plucked out of the air. RAM prices are fickle, but let's say that for server-quality RAM, one currently pays 25 US$ per GB. And we do not know who the OP works for, but say he is talking about 1,000 Tomcat servers. Saving 1 GB of Heap to run his applications would thus mean saving 25,000 US$. I believe it is worth asking the question. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: [OT] Tomcat unexpectedly shuts down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/9/2010 6:20 PM, André Warnier wrote: > I must say that your 3000 MB of Heap kind of makes my head spin. What > kind of application are you running that you would think you need as much ? Are you saying that "___ of memory ought to be enough for anyone"? ;) Obviously, /someone/ must need that kind of memory sometimes, otherwise there would be no reason to have machines that can have that amount of memory. Seriously, though, there are a lot of reasons you might want to have a relatively large heap for a webapp: 1. Session data can really pile up, especially if you have a /lot/ of concurren users or large amounts of session data (or both). 3000 simultaneous users (not requests) isn't that crazy. If they all have 1MiB of session data... there you go. Obviously, you can "squeeze the balloon" at either end and the other side grows. 2. Caches. This may be something that is often not considered for a Perl hacker such as yourself, where webapps tend to be scripts that run once and then terminate. Since the servlet context is always available and is (relatively) persistent, the opportunity for caching is quite high. If you can cache static data in the application instead of, say, reading from the database every time, you can improve performance dramatically. Even user-data caches can help quite a bit, whether they go into the session (see above) or the application scope. 3. Per-request data requirements might be high. For instance, if XML documents (notorious memory killers) must be parsed in totum (say, using a DOM parser or the like, rather than streaming, such as with a SAX parser) during the request, the amount of memory needed at any particular moment might be quite large, even though the memory might be freed immediately after the request has been processed. Since one never wants to suffer an OOME, you need to plan for peak service: that is, all 3000 of your users requesting an XML document operation all at once. I'm sure there are other reasons, but those were the ones that immediately came to my mind. In our primary production application, we were running with a 64MiB fixed-size heap for about 5 years. One day, we got an OOME and I freaked out. Subsequent analysis showed that we simply needed a bigger heap to support the growing number of users we were serving (always a positive thing!). We grew to 192MiB, just in case ;) The point is that some webapps, or some webapps in some environments, just need massive amounts of heap space. The data's got to live somewhere, right? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxhg0MACgkQ9CaO5/Lv0PAjzQCgh9+v/0bgJZsIIjl39xEFZWO5 c08AoIqw4icImUllbstvEMMExDQOk8gL =hx4b -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
Gerardo Corro wrote: What would be the minimum memory needed by OS in order to have jvm/tomcat running properly? Our system will grow five times more and we were thinking to get a total of 20GB ram memory, we were planning to assign 18GB to jvm/tomcat and leave 2Gb to the OS. Is there a kind of rule for jvm-tomcat/os memory proportions needed? There is no rule, but there was an earlier thread on this list with the message I quote below, which provides an idea of how many distinct instances of Tomcat one /can/ run in one machine with 32 GB of RAM. Divide by 164 to figure out how much memory one Tomcat /might/ need. You may want to read the whole thread in the list archives there is probably some information for you there. Apart from that, I run a number of Linux servers with Tomcat (mostly 5.5 right now) and the following "top" display if fairly typical. top - 00:11:51 up 223 days, 13:58, 2 users, load average: 0.07, 0.02, 0.00 Tasks: 133 total, 1 running, 132 sleeping, 0 stopped, 0 zombie Cpu(s): 0.2%us, 0.0%sy, 0.0%ni, 99.5%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2054392k total, 1986820k used,67572k free, 114660k buffers Swap: 1951888k total,58548k used, 1893340k free, 1027228k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 3030 tomcat55 20 0 420m 162m 9168 S0 8.1 73:22.22 java The (32-bit) JVM of this particular Tomcat is configured with options "-Xms128M -Xmx128M" in other words with a fixed size Heap of 128 MB. This is on a not-so-fast machine with 2 GB RAM in total, which runs plenty of other things. I must say that your 3000 MB of Heap kind of makes my head spin. What kind of application are you running that you would think you need as much ? Original Message Subject: RE: Tomcat Shutting Down by Itself? Date: Mon, 26 Jul 2010 21:35:03 -0700 From: Robinson, Eric Reply-To: Tomcat Users List To: Tomcat Users List > What kind of machine are you running these 163/164 > instances of Tomcat on, and when you are running them, > what /does/ "free" say ? I have two different servers with 164 instances of tomcat. Both servers have 2x quad-core 2.8Ghz Xeon processors with 32GB RAM. On the first server (app03), most instances of tomcat are configured with 64MB of Java heap. About 20% of them have 96-256MB. I almost never reboot this server (current uptime 61 days). Here's 'free' from app03. [r...@app03 ~]# free total used free sharedbuffers cached Mem: 33265832 305702602695572 0 296976 4562784 -/+ buffers/cache: 257105007555332 Swap: 2031608 02031608 On the other server (app04), all instances of tomcat are configured with 512MB Java heap (-ms512M -mx512M). After 4 or 5 days of uptime, the server starts to swap a little. Then I reboot it and it is fine for several more days. As you can see from the following, it is about time for a reboot. If I do not reboot it tonight, by tomorrow or the next day it may be up to 1-2GB of swap. (It actually doesn't slow the server down much though. sar shows that it runs about 90% idle anyway, including iowait. [r...@app03 ~]# ssh app04 free total used free sharedbuffers cached Mem: 33265832 32965812 300020 0 191248 3842092 -/+ buffers/cache: 28932472460 Swap: 2031608 42882027320 -- Eric Robinson - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerardo, On 8/9/2010 10:26 AM, Gerardo Corro wrote: > What would be the minimum memory needed by OS in order to have > jvm/tomcat running properly? I have had Tomcat 5.5.x running with my own webapp in as little as 32MiB of allocated (-Xmx) heap on a 32-bit JVM. YMMV, especially when running under 64-bit, which will inflate your memory footprint a bit. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxgHL4ACgkQ9CaO5/Lv0PBNqACeNWbGDrxcYLsVwVT10fcXxhHQ Ck4An1aUkZVsMq30eqKjCP2aTw+dfJ1D =40TO -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat unexpectedly shuts down
> From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] > Subject: RE: Tomcat unexpectedly shuts down > > What would be the minimum memory needed by OS in order to have > jvm/tomcat running properly? There's no general answer to that. It depends entirely on what you're running in your environment. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat unexpectedly shuts down
What would be the minimum memory needed by OS in order to have jvm/tomcat running properly? Our system will grow five times more and we were thinking to get a total of 20GB ram memory, we were planning to assign 18GB to jvm/tomcat and leave 2Gb to the OS. Is there a kind of rule for jvm-tomcat/os memory proportions needed? Thanks > From: chuck.caldar...@unisys.com > To: users@tomcat.apache.org > Date: Mon, 9 Aug 2010 09:13:53 -0500 > Subject: RE: Tomcat unexpectedly shuts down > > > From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] > > Subject: RE: Tomcat unexpectedly shuts down > > > > Yes we do, we have 6GB total memory > > That might not be enough. Besides the Java heap, there's a ton of other > stuff that has to fit in the process space and overall RAM. Try shrinking > your heap to 4 GB and see if it avoids the shutdown. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
RE: Tomcat unexpectedly shuts down
> From: B. Balakrishna Rao [mailto:balakrishna_...@persistent.co.in] > Subject: RE: Tomcat unexpectedly shuts down > Apparently, GC logs takes high CPU and eventually, tomcat server > crashes due to high CPU utilization of GC logs. Your analysis is seriously flawed. High CPU utilization will not cause a crash. (It can cause other problems, but not that.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat unexpectedly shuts down
> From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] > Subject: RE: Tomcat unexpectedly shuts down > > Yes we do, we have 6GB total memory That might not be enough. Besides the Java heap, there's a ton of other stuff that has to fit in the process space and overall RAM. Try shrinking your heap to 4 GB and see if it avoids the shutdown. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat unexpectedly shuts down
Hi, We have enabled the GC logs on our production and our tomcat server crashed too!! Apparently, GC logs takes high CPU and eventually, tomcat server crashes due to high CPU utilization of GC logs. Remove them, your problem will be solved. What I believe is, enabling GC logs are not suggestible for long run. They are for observation the system and for short duration only. Balakrishna Rao | Senior Software Engineer | Persistent Systems balakrishna_...@persistent.co.in | Cell: +91 9704373579 | Tel: +91 (40) 30875030 Innovation in software product design, development and delivery- www.persistentsys.com -Original Message- From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] Sent: Monday, August 09, 2010 7:00 PM To: users@tomcat.apache.org Subject: RE: Tomcat unexpectedly shuts down Hi, Thanks for your email > > Do you have enough RAM + swap space to support that large a heap, along with > the other memory requirements of the Tomcat process and all other processes > on the system? If not, you may well be getting hit by the Linux OOM-killer, > which leaves few traces. Yes we do, we have 6GB total memory > > > However Tomcat fails quite often, no trace information can be > > found in logs, neither my app logs nor tomcat logs. > > What about a core file, or a JVM crash file? > No core files neither jvm crash files :( Best regards DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat unexpectedly shuts down
Hi, Thanks for your email > > Do you have enough RAM + swap space to support that large a heap, along with > the other memory requirements of the Tomcat process and all other processes > on the system? If not, you may well be getting hit by the Linux OOM-killer, > which leaves few traces. Yes we do, we have 6GB total memory > > > However Tomcat fails quite often, no trace information can be > > found in logs, neither my app logs nor tomcat logs. > > What about a core file, or a JVM crash file? > No core files neither jvm crash files :( Best regards
RE: Tomcat unexpectedly shuts down
> From: Gerardo Corro [mailto:rob_gar_...@hotmail.com] > Subject: Tomcat unexpectedly shuts down > > I'm using Tomcat version 5.5.30, and I'm having a serious issue: > Tomcat unexpectedly shuts down Often caused by a webapp calling System.exit(). > -Xms5000m > -Xmx5000m Do you have enough RAM + swap space to support that large a heap, along with the other memory requirements of the Tomcat process and all other processes on the system? If not, you may well be getting hit by the Linux OOM-killer, which leaves few traces. > However Tomcat fails quite often, no trace information can be > found in logs, neither my app logs nor tomcat logs. What about a core file, or a JVM crash file? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat unexpectedly shuts down
Hi all, I'm using Tomcat version 5.5.30, and I'm having a serious issue: Tomcat unexpectedly shuts down, I have my JVM tuned with enough memory and many option that warranty proper garbage collector and monitoring: -Xms5000m -Xmx5000m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=20 -XX:+ExplicitGCInvokesConcurrent -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -verbose:gc -Xloggc:logs/garbage-collection.log However Tomcat fails quite often, no trace information can be found in logs, neither my app logs nor tomcat logs. Tomcat is hosted in a centos server, jvm is 1.6.0_17-linux-amd64. Any suggestion is welcome, thanks in advanced.
Re: Tomcat unexpectedly shuts down
Adlane ACHAB wrote: > hi, below is my tomcat config > > Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache > Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 > > > Essentially what happens is this: > > The server is running along fine, and then all of a sudden, for no apparent > reason that we can find, the server shuts down. The timing does not seem to > coincide with any stack trace. > > Just Tomcat service terminated unexpectedly. I did see something like this, quite some time ago. Details differ a lot; the env was Tomcat 4.something, running on Solaris. However the symptoms did match: the Tomcat process just disappeared. What did help in our case was to wrap the startup in another layer of scripts which did redirect all the standard file descriptors to/from specified files (or /dev/null in case of standard input), and additionally start tomcat under "nohup" (protected from session hangup signal). What we suppose did happen: - admin started the tomcat (on a shell session) - the shell session was forgotten open, and the corresponding TCP connection later timed out at firewall - at some point some piece of code attempted to write to System.out or System.err, or read from System.in - this activity caused the machine TCP layer to notice that the TCP connection was not valid any longer, and so the shell from which Tomcat was started (and the Tomcat process, too) did get a hangup signal, causing both the shell and Tomcat to just stop and exit We could never positively prove the above, but that would suit the symptoms, and also the above would be something for which our cure would be effective. -- ..Juha - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
Ok, then it's not an option. I thought it shut down just after a short while. I'm out of ideas... On Thu, 2009-02-12 at 18:38 +0100, Adlane ACHAB wrote: > I think that will produce a hugh log file,The problem is that, tomcat didn't > shutdown directly after start, it can run for one or two days and stop > unexpectedly > > 2009/2/12 Pieter Temmerman > > > What about attaching strace to the tomcat process? > > Try executing "strace ./bin/catalina.sh run" > > > > On Thu, 2009-02-12 at 18:01 +0100, Adlane ACHAB wrote: > > > no, I check the var/log/syslog, no trace of oom killer > > > > > > 2009/2/12 Gregor Schneider > > > > > > > Again: > > > > > > > > Anything in /var/log/syslog? > > > > > > > > If OOMKiller was invoked, there should be somehhing like > > > > > > > > Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: > > > > gfp_mask=0x1201d2, order=0, oomkilladj=0 > > > > > > > > Rgds > > > > > > > > Gregor > > > > -- > > > > just because your paranoid, doesn't mean they're not after you... > > > > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > > > > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > > > > > > > - > > > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > > > > > > > > > > > -- > > Pieter Temmerman > > email: ptemmerman@sadiel.es > > skype: ptemmerman.sadiel > > > > SADIEL TECNOLOGÍAS DE LA INFORMACIÓN, S.A. http://www.sadiel.es. > > > > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > -- Pieter Temmerman email: ptemmerman@sadiel.es skype: ptemmerman.sadiel SADIEL TECNOLOGÍAS DE LA INFORMACIÓN, S.A. http://www.sadiel.es. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adlane, On 2/12/2009 12:38 PM, Adlane ACHAB wrote: > I think that will produce a hugh log file,The problem is that, tomcat didn't > shutdown directly after start, it can run for one or two days and stop > unexpectedly ... then look at the *end* of the file when it *does* go down. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmU55gACgkQ9CaO5/Lv0PBFNACgrfx7eDBAy3R/AWK/MEo2p2gd r38Anj5MSCKXsBzsXeK8SC0C4NPvFQRr =Nn8z -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/12/2009 10:30 AM, Caldarale, Charles R wrote: >> From: Gregor Schneider [mailto:rc4...@googlemail.com] >> Subject: Re: Tomcat unexpectedly shuts down >> >> @Chuck: never heard about the OOM-killer. > > GIYF. A nasty beast, at best. Even better, MIYF (man is your friend). The man page for malloc on Linux talks about the OOM killer, and even tells you how to disable it. (!) >> But what I almost can't believe is that if such a >> thing exists, that it doesn't carve it's footprints >> into syslog... > > Likely, but since the OP used the term "exception", I expect he was > referring to the Tomcat, not system, logs. Syslog should contain something like: Out of Memory: Killed process [PID] [process name] if the kernel murdered your process to reclaim memory. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmU5sAACgkQ9CaO5/Lv0PAKzwCfQ/k4xY3pznuFhKo/Xu5YA1+Q O2gAoLQMoSt4seY+yzfesRUNqpZVFAXy =M5+d -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
I think that will produce a hugh log file,The problem is that, tomcat didn't shutdown directly after start, it can run for one or two days and stop unexpectedly 2009/2/12 Pieter Temmerman > What about attaching strace to the tomcat process? > Try executing "strace ./bin/catalina.sh run" > > On Thu, 2009-02-12 at 18:01 +0100, Adlane ACHAB wrote: > > no, I check the var/log/syslog, no trace of oom killer > > > > 2009/2/12 Gregor Schneider > > > > > Again: > > > > > > Anything in /var/log/syslog? > > > > > > If OOMKiller was invoked, there should be somehhing like > > > > > > Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: > > > gfp_mask=0x1201d2, order=0, oomkilladj=0 > > > > > > Rgds > > > > > > Gregor > > > -- > > > just because your paranoid, doesn't mean they're not after you... > > > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > > > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > > > > > - > > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > > > > > > -- > Pieter Temmerman > email: ptemmerman@sadiel.es > skype: ptemmerman.sadiel > > SADIEL TECNOLOGÍAS DE LA INFORMACIÓN, S.A. http://www.sadiel.es. > > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- = = = = = = = = = = = = = Adlane ACHAB Tél : 06 13 46 66 21 adlane.ac...@gmail.com
Re: Tomcat unexpectedly shuts down
What about attaching strace to the tomcat process? Try executing "strace ./bin/catalina.sh run" On Thu, 2009-02-12 at 18:01 +0100, Adlane ACHAB wrote: > no, I check the var/log/syslog, no trace of oom killer > > 2009/2/12 Gregor Schneider > > > Again: > > > > Anything in /var/log/syslog? > > > > If OOMKiller was invoked, there should be somehhing like > > > > Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: > > gfp_mask=0x1201d2, order=0, oomkilladj=0 > > > > Rgds > > > > Gregor > > -- > > just because your paranoid, doesn't mean they're not after you... > > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > > > -- Pieter Temmerman email: ptemmerman@sadiel.es skype: ptemmerman.sadiel SADIEL TECNOLOGÍAS DE LA INFORMACIÓN, S.A. http://www.sadiel.es. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
no, I check the var/log/syslog, no trace of oom killer 2009/2/12 Gregor Schneider > Again: > > Anything in /var/log/syslog? > > If OOMKiller was invoked, there should be somehhing like > > Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: > gfp_mask=0x1201d2, order=0, oomkilladj=0 > > Rgds > > Gregor > -- > just because your paranoid, doesn't mean they're not after you... > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- = = = = = = = = = = = = = Adlane ACHAB Tél : 06 13 46 66 21 adlane.ac...@gmail.com
Re: Tomcat unexpectedly shuts down
Gregor Schneider wrote: @Chuck: never heard about the OOM-killer. The Tomcat security team have been trying to find this guy for several years now, but they're being very discreet about it. One of the difficulties is that he cleans up after himself by wiping out any memory of its intervention. You have probably heard many times about him in the past, you just have forgotten. That's a sure sign. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
Again: Anything in /var/log/syslog? If OOMKiller was invoked, there should be somehhing like Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0 Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
but I think that we have enough memory,so the Linux OOM killer will not act. will do? 2009/2/12 Caldarale, Charles R > > From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > > Subject: Re: Tomcat unexpectedly shuts down > > > > no, nothing about shutdown in tomcat logs, it just abruptly stop > > Then it is almost definitely the Linux OOM killer. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- = = = = = = = = = = = = = Adlane ACHAB Tél : 06 13 46 66 21 adlane.ac...@gmail.com
RE: Tomcat unexpectedly shuts down
> From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > Subject: Re: Tomcat unexpectedly shuts down > > no, nothing about shutdown in tomcat logs, it just abruptly stop Then it is almost definitely the Linux OOM killer. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
no, nothing about shutdown in tomcat logs, it just abruptly stop I will check for jar files 2009/2/12 Caldarale, Charles R > > From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > > Subject: Re: Tomcat unexpectedly shuts down > > > > no, i grep "System.exit" and no result found > > And did you look inside all jars that your webapps might be using as > libraries? You can disable System.exit() with a SecurityManager, if > desired. > > Do the Tomcat logs show a normal shutdown sequence, or do they just > abruptly stop? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- = = = = = = = = = = = = = Adlane ACHAB Tél : 06 13 46 66 21 adlane.ac...@gmail.com
RE: Tomcat unexpectedly shuts down
> From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > Subject: Re: Tomcat unexpectedly shuts down > > no, i grep "System.exit" and no result found And did you look inside all jars that your webapps might be using as libraries? You can disable System.exit() with a SecurityManager, if desired. Do the Tomcat logs show a normal shutdown sequence, or do they just abruptly stop? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
I don't think that's a memory problem [image: daily graph] 2009/2/12 Caldarale, Charles R > > From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > > Subject: Re: Tomcat unexpectedly shuts down > > > > no, idon't find any exception on logs > > There won't be any messages in the Tomcat logs, since the kernel just > terminates the entire selected process without warning when the OOM killer > fires up. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- = = = = = = = = = = = = = Adlane ACHAB Tél : 06 13 46 66 21 adlane.ac...@gmail.com
RE: Tomcat unexpectedly shuts down
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > Subject: Re: Tomcat unexpectedly shuts down > > @Chuck: never heard about the OOM-killer. GIYF. A nasty beast, at best. > But what I almost can't believe is that if such a > thing exists, that it doesn't carve it's footprints > into syslog... Likely, but since the OP used the term "exception", I expect he was referring to the Tomcat, not system, logs. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
What's Linux /var/log/syslog saying? Anything in there? @Chuck: never heard about the OOM-killer. But what I almost can't believe is that if such a thing exists, that it doesn't carve it's footprints into syslog... Puzzled... Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
no, i grep "System.exit" and no result found 2009/2/12 Caldarale, Charles R > > From: Mark Thomas [mailto:ma...@apache.org] > > Subject: Re: Tomcat unexpectedly shuts down > > > > > The server is running along fine, and then all of > > > a sudden, for no apparent reason that we can find, > > > the server shuts down. > > > > Linux OOM killer? > > Or perhaps code in one of your webapps calling System.exit()? > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- = = = = = = = = = = = = = Adlane ACHAB Tél : 06 13 46 66 21 adlane.ac...@gmail.com
RE: Tomcat unexpectedly shuts down
> From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > Subject: Re: Tomcat unexpectedly shuts down > > no, idon't find any exception on logs There won't be any messages in the Tomcat logs, since the kernel just terminates the entire selected process without warning when the OOM killer fires up. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat unexpectedly shuts down
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Tomcat unexpectedly shuts down > > > The server is running along fine, and then all of > > a sudden, for no apparent reason that we can find, > > the server shuts down. > > Linux OOM killer? Or perhaps code in one of your webapps calling System.exit()? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat unexpectedly shuts down
> From: Adlane ACHAB [mailto:adlane.ac...@gmail.com] > Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS > ArchitectureApache > Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 > > > Essentially what happens is this: > > The server is running along fine, and then all of a sudden, > for no apparent > reason that we can find, the server shuts down. The timing > does not seem to > coincide with any stack trace. > > Just Tomcat service terminated unexpectedly. http://linux-mm.org/OOM_Killer ? The JVM is often the largest user of memory on the system, and hence the first victim when the killer has to run. Note the line in there "Finally the accumulated score is bitshifted by the user-settable value of /proc//oomadj" - if it *is* the OOM killer, you can at least cause it not to kill Tomcat but to choose some other victim :-). - Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat unexpectedly shuts down
no, idon't find any exception on logs 2009/2/12 Mark Thomas > Adlane ACHAB wrote: > > hi, below is my tomcat config > > > > Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache > > Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 > > > > > > Essentially what happens is this: > > > > The server is running along fine, and then all of a sudden, for no > apparent > > reason that we can find, the server shuts down. The timing does not seem > to > > coincide with any stack trace. > > > > Just Tomcat service terminated unexpectedly. > > > > please help > > > > Linux OOM killer? > > Mark > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- = = = = = = = = = = = = = Adlane ACHAB Tél : 06 13 46 66 21 adlane.ac...@gmail.com
Re: Tomcat unexpectedly shuts down
Adlane ACHAB wrote: > hi, below is my tomcat config > > Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache > Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 > > > Essentially what happens is this: > > The server is running along fine, and then all of a sudden, for no apparent > reason that we can find, the server shuts down. The timing does not seem to > coincide with any stack trace. > > Just Tomcat service terminated unexpectedly. > > please help > Linux OOM killer? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat unexpectedly shuts down
hi, below is my tomcat config Tomcat VersionJVM VersionJVM VendorOS NameOS VersionOS ArchitectureApache Tomcat/6.0.181.6.0-b105Sun Microsystems Inc.Linux2.6.23.12i386 Essentially what happens is this: The server is running along fine, and then all of a sudden, for no apparent reason that we can find, the server shuts down. The timing does not seem to coincide with any stack trace. Just Tomcat service terminated unexpectedly. please help
RE: Tomcat unexpectedly shuts down
> From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat unexpectedly shuts down > > Anyhill doesn't call System.exit(), does it? If so, that'll > take Tomcat down. Ant itself calls System.exit() when errors are detected, so unless it's running in a separate process, that might be the cause. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
| From: Brown, Carlton [mailto:[EMAIL PROTECTED] | Sent: Thursday, 11 January, 2007 16:49 | | In catalina.out I see the Anthill application going through a shutdown | sequence right before the time Tomcat dies. So my assumption, maybe | invalid, is that it's shutting down because Tomcat instructed it to do | so. Anyhill doesn't call System.exit(), does it? If so, that'll take Tomcat down. - The information contained in this message is confidential proprietary property of Nelnet, Inc. and its affiliated companies (Nelnet) and is intended for the recipient only. Any reproduction, forwarding, or copying without the express permission of Nelnet is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
I can use shutdown.sh but the instance stays open. I then have to run the kill -9 command on the instance to clear it out. Since it has been a while since I have seen the error I cannot quote the exact error message. It states something about "not enough components. . .". -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve Ingraham wrote: > I have a similar problem. I would be interested to know what is said > about this. > > In our case we have a web based application that calls up a MySQL > database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. > Every morning I have to manually stop and restart Tomcat. If I do not > do so and let it run, over the course of a day or two, definitely no > more than the third day, Tomcat will lock up and the web application > will display access errors to the users. This sounds more like a JDBC connection leak to me. What error message to your users get when Tomcat stops responding? Are you able to use shutdown.sh to stop Tomcat, or is a kill -9 necessary? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFp6u39CaO5/Lv0PARAqTZAJ9M0J4V8OD65ia/QT/F5+2VQOFOJwCgsRl+ nueJl9sllUsaLBNvbSUlRPQ= =UVQq -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat unexpectedly shuts down
On 1/12/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: I guess I could split them into multiple tomcats... I'm not averse to trying things, but what indication do we have that running multiple .war files in Tomcat is the problem? No, but maybe they aren't all that similar, so we can narrow the problem down to one webapp or its specific config. L. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Friday, January 12, 2007 2:30 AM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down On 1/12/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > Anthill is a third party app intended to store and execute Ant scripts. > I mention it only because it's fairly well-known and maybe someone has > seen similar problems before. > > Either way, the only thing running in this tomcat instance is 3 copies > of Anthill. So can you split the three copies to three tomcats? * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA624 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat unexpectedly shuts down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve Ingraham wrote: > I have a similar problem. I would be interested to know what is said > about this. > > In our case we have a web based application that calls up a MySQL > database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. > Every morning I have to manually stop and restart Tomcat. If I do not > do so and let it run, over the course of a day or two, definitely no > more than the third day, Tomcat will lock up and the web application > will display access errors to the users. This sounds more like a JDBC connection leak to me. What error message to your users get when Tomcat stops responding? Are you able to use shutdown.sh to stop Tomcat, or is a kill -9 necessary? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFp6u39CaO5/Lv0PARAqTZAJ9M0J4V8OD65ia/QT/F5+2VQOFOJwCgsRl+ nueJl9sllUsaLBNvbSUlRPQ= =UVQq -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
I guess I could split them into multiple tomcats... I'm not averse to trying things, but what indication do we have that running multiple .war files in Tomcat is the problem? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Friday, January 12, 2007 2:30 AM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down On 1/12/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > Anthill is a third party app intended to store and execute Ant scripts. > I mention it only because it's fairly well-known and maybe someone has > seen similar problems before. > > Either way, the only thing running in this tomcat instance is 3 copies > of Anthill. So can you split the three copies to three tomcats? * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA624 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat unexpectedly shuts down
On 1/12/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: Anthill is a third party app intended to store and execute Ant scripts. I mention it only because it's fairly well-known and maybe someone has seen similar problems before. Either way, the only thing running in this tomcat instance is 3 copies of Anthill. So can you split the three copies to three tomcats? -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 6:26 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down isn't Anthill just a third party app to do war and ant builds? Deploy .ear and .war files? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:00 PM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > In catalina.out I see the Anthill application going through a shutdown > sequence right before the time Tomcat dies. So my assumption, maybe > invalid, is that it's shutting down because Tomcat instructed it to do > so. Interesting. Most interesting part of it is what Thread-32 is. Are your thread named? Could it be that you are initiating the shutdown indirectly by somehow trying to initialize already initialized framework or something? You said you had three webapps. Have you actually tried to split they onto three different tomcat installations, to see if they all have the same problem or only one of them? I'm ashamed, but I don't know what Anthill is, so I maybe missing some internals or ask dumb questions, in this case i apologize. regards Leon P.S. Do you have a contextlistener? If not you could configure one and check whether the context is being deinitialized before or after anthill shuts down. > > Here's a log fragment with the final interesting lines of shutdown, > and then the first line of the later startup. > > 00:26:30:456 [http-9090-Processor25] INFO > com.urbancode.anthill.Anthill > - Starting Anthill daemons > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.BuildDaemon - > BuildDaemon shutting down > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.util.Queue - > Queue shutting down > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.Anthill - > Anthill.doShutdown() called > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Jan 11, 2007 11:06:13 AM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-9090 > > -Original Message----- > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 5:42 PM > To: Tomcat Users List > Subject: Re: Tomcat unexpectedly shuts down > > You've mentioned a "graceful" shutdown. However a crash doesn't > necessary leave tracks in the logs. > Do I understand you right, that the tomcat is down, out of nowhere, if > it were just shut down by the shutdown.sh? > > regards > Leon > > On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > > This box has no other purpose than to run Anthill in Tomcat to build > > java apps. There would be no other major processes. > > > > -Original Message- > > From: Propes, Barry L [GCG-NAOT] > > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 11, 2007 5:06 PM > > To: Tomcat Users List > > Subject: RE: Tomcat unexpectedly shuts down > > > > I'd find out what other major processes are running on those two > > UNIX boxes, as it sounds like something there's clashing terribly, > > and killing off the Tomcat process. > > > > -Original Message- > > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 11, 2007 4:01 PM > > To: users@tomcat.apache.org > > Subject: Tomcat unexpectedly shuts down > > > > > > Hello, > > > > My Tomcat instance is unexpectedly shutting itself down every 8 to 72 > > hou
Re: Tomcat unexpectedly shuts down
Hi Steve, Is there anything that flood your server with requests or trigger an infinite loop within the application ? I have similar experiences in 2 scenarios 1. A tomcat died every morning, Then we foundout that its flooded by requests at a certain time and there is a flaw at our design that permits only 1 connection for the flooded application. 2. An application causing the tomcat server to hang, exhausting our cpu resources to 100%, trigerred by Stop command from manager. Even after shutting down the tomcat, the process is still running and we have to manually kill the java thread. Thenwe found out that our application got an infinite loop bug when we force it to close. On 1/12/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: I have a similar problem. I would be interested to know what is said about this. In our case we have a web based application that calls up a MySQL database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. Every morning I have to manually stop and restart Tomcat. If I do not do so and let it run, over the course of a day or two, definitely no more than the third day, Tomcat will lock up and the web application will display access errors to the users. I then have to run the shutdown.sh script on Tomcat. Then because the instance will not clear out I have to run ps aux, find the instance of java that is running. I then have to run the kill -9 command and then startup.sh to restart Tomcat. If I do this first thing in the morning Tomcat will function without locking up. If I do not do it first thing in the morning, sometime during that day, or if I am lucky the next day, Tomcat will lockup. If anyone has ideas on what can be done to correct this problem I will be anxious to read any replies. Thanks, Steve -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -Andre- People see things the way they are and say "why ?" I see things that never were and say "Why not ?"
RE: Tomcat unexpectedly shuts down
Anthill is a third party app intended to store and execute Ant scripts. I mention it only because it's fairly well-known and maybe someone has seen similar problems before. Either way, the only thing running in this tomcat instance is 3 copies of Anthill. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 6:26 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down isn't Anthill just a third party app to do war and ant builds? Deploy .ear and .war files? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:00 PM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > In catalina.out I see the Anthill application going through a shutdown > sequence right before the time Tomcat dies. So my assumption, maybe > invalid, is that it's shutting down because Tomcat instructed it to do > so. Interesting. Most interesting part of it is what Thread-32 is. Are your thread named? Could it be that you are initiating the shutdown indirectly by somehow trying to initialize already initialized framework or something? You said you had three webapps. Have you actually tried to split they onto three different tomcat installations, to see if they all have the same problem or only one of them? I'm ashamed, but I don't know what Anthill is, so I maybe missing some internals or ask dumb questions, in this case i apologize. regards Leon P.S. Do you have a contextlistener? If not you could configure one and check whether the context is being deinitialized before or after anthill shuts down. > > Here's a log fragment with the final interesting lines of shutdown, > and then the first line of the later startup. > > 00:26:30:456 [http-9090-Processor25] INFO > com.urbancode.anthill.Anthill > - Starting Anthill daemons > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.BuildDaemon - > BuildDaemon shutting down > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.util.Queue - > Queue shutting down > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.Anthill - > Anthill.doShutdown() called > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Jan 11, 2007 11:06:13 AM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-9090 > > -Original Message- > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 5:42 PM > To: Tomcat Users List > Subject: Re: Tomcat unexpectedly shuts down > > You've mentioned a "graceful" shutdown. However a crash doesn't > necessary leave tracks in the logs. > Do I understand you right, that the tomcat is down, out of nowhere, if > it were just shut down by the shutdown.sh? > > regards > Leon > > On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > > This box has no other purpose than to run Anthill in Tomcat to build > > java apps. There would be no other major processes. > > > > -Original Message- > > From: Propes, Barry L [GCG-NAOT] > > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 11, 2007 5:06 PM > > To: Tomcat Users List > > Subject: RE: Tomcat unexpectedly shuts down > > > > I'd find out what other major processes are running on those two > > UNIX boxes, as it sounds like something there's clashing terribly, > > and killing off the Tomcat process. > > > > -Original Message- > > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 11, 2007 4:01 PM > > To: users@tomcat.apache.org > > Subject: Tomcat unexpectedly shuts down > > > > > > Hello, > > > > My Tomcat instance is unexpectedly shutting itself down every 8 to 72 > > hours. Can someone give me some advice on this? By all appearances > > this is a graceful sh
RE: Tomcat unexpectedly shuts down
isn't Anthill just a third party app to do war and ant builds? Deploy .ear and .war files? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:00 PM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > In catalina.out I see the Anthill application going through a shutdown > sequence right before the time Tomcat dies. So my assumption, maybe > invalid, is that it's shutting down because Tomcat instructed it to do > so. Interesting. Most interesting part of it is what Thread-32 is. Are your thread named? Could it be that you are initiating the shutdown indirectly by somehow trying to initialize already initialized framework or something? You said you had three webapps. Have you actually tried to split they onto three different tomcat installations, to see if they all have the same problem or only one of them? I'm ashamed, but I don't know what Anthill is, so I maybe missing some internals or ask dumb questions, in this case i apologize. regards Leon P.S. Do you have a contextlistener? If not you could configure one and check whether the context is being deinitialized before or after anthill shuts down. > > Here's a log fragment with the final interesting lines of shutdown, and > then the first line of the later startup. > > 00:26:30:456 [http-9090-Processor25] INFO com.urbancode.anthill.Anthill > - Starting Anthill daemons > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.BuildDaemon - > BuildDaemon shutting down > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.util.Queue - Queue > shutting down > 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.Anthill - > Anthill.doShutdown() called > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Anthill version: 1.8.0.264 loaded. > log4j:WARN No appenders could be found for logger > (com.urbancode.anthill.web.admin.AnthillAdminServlet). > log4j:WARN Please initialize the log4j system properly. > Jan 11, 2007 11:06:13 AM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-9090 > > -Original Message- > From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 5:42 PM > To: Tomcat Users List > Subject: Re: Tomcat unexpectedly shuts down > > You've mentioned a "graceful" shutdown. However a crash doesn't > necessary leave tracks in the logs. > Do I understand you right, that the tomcat is down, out of nowhere, if > it were just shut down by the shutdown.sh? > > regards > Leon > > On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > > This box has no other purpose than to run Anthill in Tomcat to build > > java apps. There would be no other major processes. > > > > -Original Message- > > From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 11, 2007 5:06 PM > > To: Tomcat Users List > > Subject: RE: Tomcat unexpectedly shuts down > > > > I'd find out what other major processes are running on those two UNIX > > boxes, as it sounds like something there's clashing terribly, and > > killing off the Tomcat process. > > > > -Original Message- > > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > > Sent: Thursday, January 11, 2007 4:01 PM > > To: users@tomcat.apache.org > > Subject: Tomcat unexpectedly shuts down > > > > > > Hello, > > > > My Tomcat instance is unexpectedly shutting itself down every 8 to 72 > > hours. Can someone give me some advice on this? By all appearances > > this is a graceful shutdown. I do not see any interesting exceptions > > in the logs (I have looked in catalina.out and the various localhost* > > files). Perhaps I am looking for the wrong thing. > > > > This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris > 10. > > JSP apps running on the server are about 3 different instances of > > Anthill 1.8.0.264. > > > > Thanks in advance, > > Carlton > > > > * > > > >
Re: Tomcat unexpectedly shuts down
On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: In catalina.out I see the Anthill application going through a shutdown sequence right before the time Tomcat dies. So my assumption, maybe invalid, is that it's shutting down because Tomcat instructed it to do so. Interesting. Most interesting part of it is what Thread-32 is. Are your thread named? Could it be that you are initiating the shutdown indirectly by somehow trying to initialize already initialized framework or something? You said you had three webapps. Have you actually tried to split they onto three different tomcat installations, to see if they all have the same problem or only one of them? I'm ashamed, but I don't know what Anthill is, so I maybe missing some internals or ask dumb questions, in this case i apologize. regards Leon P.S. Do you have a contextlistener? If not you could configure one and check whether the context is being deinitialized before or after anthill shuts down. Here's a log fragment with the final interesting lines of shutdown, and then the first line of the later startup. 00:26:30:456 [http-9090-Processor25] INFO com.urbancode.anthill.Anthill - Starting Anthill daemons 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.BuildDaemon - BuildDaemon shutting down 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.util.Queue - Queue shutting down 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.Anthill - Anthill.doShutdown() called Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Jan 11, 2007 11:06:13 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-9090 -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:42 PM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down You've mentioned a "graceful" shutdown. However a crash doesn't necessary leave tracks in the logs. Do I understand you right, that the tomcat is down, out of nowhere, if it were just shut down by the shutdown.sh? regards Leon On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > This box has no other purpose than to run Anthill in Tomcat to build > java apps. There would be no other major processes. > > -Original Message- > From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 5:06 PM > To: Tomcat Users List > Subject: RE: Tomcat unexpectedly shuts down > > I'd find out what other major processes are running on those two UNIX > boxes, as it sounds like something there's clashing terribly, and > killing off the Tomcat process. > > -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 4:01 PM > To: users@tomcat.apache.org > Subject: Tomcat unexpectedly shuts down > > > Hello, > > My Tomcat instance is unexpectedly shutting itself down every 8 to 72 > hours. Can someone give me some advice on this? By all appearances > this is a graceful shutdown. I do not see any interesting exceptions > in the logs (I have looked in catalina.out and the various localhost* > files). Perhaps I am looking for the wrong thing. > > This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. > JSP apps running on the server are about 3 different instances of > Anthill 1.8.0.264. > > Thanks in advance, > Carlton > > * > > The information transmitted is intended only for the person or entity > to which it is addressed and may contain confidential, proprietary, > and/or privileged material. Any review, retransmission, dissemination > or other use of, or taking of any action in reliance upon this > information by persons or entities other than the intended recipient > is prohibited. If you received this in error, please contact the > sender and delete the material from all computers. GA623 > > > > - > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] > For additional comma
Re: Tomcat unexpectedly shuts down
You should simply repost in another thread. regards Leon On 1/11/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: I appreciate the prompt information everyone is providing on my inquiry to this thread. I truly do need advice from you on what I can do. I most definitely would like to hear replies to my query but I believe I am on the verge of highjacking Carlton's original thread and do not wish to do that. I apologize for highjacking Carlton's thread as he is the one with the original problem. I merely recognized that our system had a similar problem and wanted to ask the experts about my similar problem. I would like to follow the posts for resolving Mr. Brown's problem first. If, after Mr. Brown's problems are addressed my issue can be addressed I would be very grateful to all. Steve - This box has no other purpose than to run Anthill in Tomcat to build java apps. There would be no other major processes. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA624 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
In catalina.out I see the Anthill application going through a shutdown sequence right before the time Tomcat dies. So my assumption, maybe invalid, is that it's shutting down because Tomcat instructed it to do so. Here's a log fragment with the final interesting lines of shutdown, and then the first line of the later startup. 00:26:30:456 [http-9090-Processor25] INFO com.urbancode.anthill.Anthill - Starting Anthill daemons 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.BuildDaemon - BuildDaemon shutting down 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.util.Queue - Queue shutting down 00:27:31:015 [Thread-32] INFO com.urbancode.anthill.Anthill - Anthill.doShutdown() called Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Anthill version: 1.8.0.264 loaded. log4j:WARN No appenders could be found for logger (com.urbancode.anthill.web.admin.AnthillAdminServlet). log4j:WARN Please initialize the log4j system properly. Jan 11, 2007 11:06:13 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-9090 -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:42 PM To: Tomcat Users List Subject: Re: Tomcat unexpectedly shuts down You've mentioned a "graceful" shutdown. However a crash doesn't necessary leave tracks in the logs. Do I understand you right, that the tomcat is down, out of nowhere, if it were just shut down by the shutdown.sh? regards Leon On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: > This box has no other purpose than to run Anthill in Tomcat to build > java apps. There would be no other major processes. > > -Original Message- > From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 5:06 PM > To: Tomcat Users List > Subject: RE: Tomcat unexpectedly shuts down > > I'd find out what other major processes are running on those two UNIX > boxes, as it sounds like something there's clashing terribly, and > killing off the Tomcat process. > > -Original Message- > From: Brown, Carlton [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 11, 2007 4:01 PM > To: users@tomcat.apache.org > Subject: Tomcat unexpectedly shuts down > > > Hello, > > My Tomcat instance is unexpectedly shutting itself down every 8 to 72 > hours. Can someone give me some advice on this? By all appearances > this is a graceful shutdown. I do not see any interesting exceptions > in the logs (I have looked in catalina.out and the various localhost* > files). Perhaps I am looking for the wrong thing. > > This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. > JSP apps running on the server are about 3 different instances of > Anthill 1.8.0.264. > > Thanks in advance, > Carlton > > * > > The information transmitted is intended only for the person or entity > to which it is addressed and may contain confidential, proprietary, > and/or privileged material. Any review, retransmission, dissemination > or other use of, or taking of any action in reliance upon this > information by persons or entities other than the intended recipient > is prohibited. If you received this in error, please contact the > sender and delete the material from all computers. GA623 > > > > - > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > * > > The information transmitted is intended only for the person or entity > to which it is addressed and may contain confidential, proprietary, > and/or privileged material. Any review, retransmission, dissemination > or other use of, or taking of any action in reliance upon this > information by persons or entities other than the intended recipient > is prohibited. If you received this in error, please contact the > sender and delete the material from all computers. GA624 > > > > - > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] >
RE: Tomcat unexpectedly shuts down
I appreciate the prompt information everyone is providing on my inquiry to this thread. I truly do need advice from you on what I can do. I most definitely would like to hear replies to my query but I believe I am on the verge of highjacking Carlton's original thread and do not wish to do that. I apologize for highjacking Carlton's thread as he is the one with the original problem. I merely recognized that our system had a similar problem and wanted to ask the experts about my similar problem. I would like to follow the posts for resolving Mr. Brown's problem first. If, after Mr. Brown's problems are addressed my issue can be addressed I would be very grateful to all. Steve - This box has no other purpose than to run Anthill in Tomcat to build java apps. There would be no other major processes. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA624 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat unexpectedly shuts down
You've mentioned a "graceful" shutdown. However a crash doesn't necessary leave tracks in the logs. Do I understand you right, that the tomcat is down, out of nowhere, if it were just shut down by the shutdown.sh? regards Leon On 1/11/07, Brown, Carlton <[EMAIL PROTECTED]> wrote: This box has no other purpose than to run Anthill in Tomcat to build java apps. There would be no other major processes. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA624 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat unexpectedly shuts down
On 1/11/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: Is there anything that a "knows enough to be dangerous" administrator like me can do to find out the cause of this problem? Or am I destined to stop and restart this application every day from here on out? I think checking (and sending) the logs can be considered safe. And if you gonna restart it either way (next lockup) performing a thread dump (the output is in the catalina.out) will do no additional harm. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
hmmm. Then I'm at a loss. Unless Anthill has some manual garbage collection thread in it that could be causing it to hold on to extraneous memory. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:27 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down This box has no other purpose than to run Anthill in Tomcat to build java apps. There would be no other major processes. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA624 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat unexpectedly shuts down
P.S. If nothing helps I would consider extending your monitoring capabilities. For example moskito can show you which of your requests are currently processed or which last longer than the others. If you see that some requests hang around forever, you have the direction where to dig further. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
I am not the creator of this application. In fact I have to be honest and say I am trying to learn what I can about Java and Tomcat but know so little I could be considered dangerous. I have already caused a crash of this system because I accidentally moved a .war file that was needed by the application to function. I was lucky enough to be able to get the .war file back into its appropriate location but that incident has seriously scared me into submission on this Tomcat stuff. I do believe I recall the developer stating a long time ago that he thought there was something going on with the memory that could be causing this problem but he was not sure exactly what was causing it. Is there anything that a "knows enough to be dangerous" administrator like me can do to find out the cause of this problem? Or am I destined to stop and restart this application every day from here on out? Steve From: Propes, Barry L sounds like you've got some thread hanging in there somewhere, but the logs don't indicate which one might be hanging? Also sounds like a memory issue; is it possible someone created some kind of servlet or app that manually controls Java's garbage collection? -Original Message- From: Steve Ingraham [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:24 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I have a similar problem. I would be interested to know what is said about this. In our case we have a web based application that calls up a MySQL database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. Every morning I have to manually stop and restart Tomcat. If I do not do so and let it run, over the course of a day or two, definitely no more than the third day, Tomcat will lock up and the web application will display access errors to the users. I then have to run the shutdown.sh script on Tomcat. Then because the instance will not clear out I have to run ps aux, find the instance of java that is running. I then have to run the kill -9 command and then startup.sh to restart Tomcat. If I do this first thing in the morning Tomcat will function without locking up. If I do not do it first thing in the morning, sometime during that day, or if I am lucky the next day, Tomcat will lockup. If anyone has ideas on what can be done to correct this problem I will be anxious to read any replies. Thanks, Steve -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat unexpectedly shuts down
On 1/11/07, Steve Ingraham <[EMAIL PROTECTED]> wrote: I have a similar problem. I would be interested to know what is said about this. In our case we have a web based application that calls up a MySQL database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. Every morning I have to manually stop and restart Tomcat. If I do not do so and let it run, over the course of a day or two, definitely no more than the third day, Tomcat will lock up and the web application will display access errors to the users. What errors exactly are displayed and what is in the logs? I then have to run the shutdown.sh script on Tomcat. Then because the instance will not clear out I have to run ps aux, find the instance of java that is running. I then have to run the kill -9 command and then startup.sh to restart Tomcat. If I do this first thing in the morning Tomcat will function without locking up. If I do not do it first thing in the morning, sometime during that day, or if I am lucky the next day, Tomcat will lockup. If anyone has ideas on what can be done to correct this problem I will be anxious to read any replies. You have a huge list of options :-) First of all, I would check the logs on next lockup and generate a thread dump (kill -QUIT ) I also would add a Thread (or scheduled Job) which prints out System.freeMemory() all 10 minutes and check whether the amount decreases over time. Depending on what the first both show (if anything) I would decide what to do further. Btw, despite memory and threads you may run out of db-connections if they aren't closed properly. Are all pages locked up or do some of them still work? regards Leon - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
This box has no other purpose than to run Anthill in Tomcat to build java apps. There would be no other major processes. -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 5:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA624 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
Have you tried profiling the jvm memory usage? I have had problems (created my myself) with Tomcat locking up due to outofMemory errors - if it reaches this stage it won't be able to shutdown gracefully -Original Message- From: Steve Ingraham [mailto:[EMAIL PROTECTED] Sent: 11 January 2007 22:24 To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I have a similar problem. I would be interested to know what is said about this. In our case we have a web based application that calls up a MySQL database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. Every morning I have to manually stop and restart Tomcat. If I do not do so and let it run, over the course of a day or two, definitely no more than the third day, Tomcat will lock up and the web application will display access errors to the users. I then have to run the shutdown.sh script on Tomcat. Then because the instance will not clear out I have to run ps aux, find the instance of java that is running. I then have to run the kill -9 command and then startup.sh to restart Tomcat. If I do this first thing in the morning Tomcat will function without locking up. If I do not do it first thing in the morning, sometime during that day, or if I am lucky the next day, Tomcat will lockup. If anyone has ideas on what can be done to correct this problem I will be anxious to read any replies. Thanks, Steve -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
sounds like you've got some thread hanging in there somewhere, but the logs don't indicate which one might be hanging? Also sounds like a memory issue; is it possible someone created some kind of servlet or app that manually controls Java's garbage collection? -Original Message- From: Steve Ingraham [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:24 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I have a similar problem. I would be interested to know what is said about this. In our case we have a web based application that calls up a MySQL database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. Every morning I have to manually stop and restart Tomcat. If I do not do so and let it run, over the course of a day or two, definitely no more than the third day, Tomcat will lock up and the web application will display access errors to the users. I then have to run the shutdown.sh script on Tomcat. Then because the instance will not clear out I have to run ps aux, find the instance of java that is running. I then have to run the kill -9 command and then startup.sh to restart Tomcat. If I do this first thing in the morning Tomcat will function without locking up. If I do not do it first thing in the morning, sometime during that day, or if I am lucky the next day, Tomcat will lockup. If anyone has ideas on what can be done to correct this problem I will be anxious to read any replies. Thanks, Steve -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
I have a similar problem. I would be interested to know what is said about this. In our case we have a web based application that calls up a MySQL database. It is running in Tomcat 5.5.15 on a Red Hat AS 3 machine. Every morning I have to manually stop and restart Tomcat. If I do not do so and let it run, over the course of a day or two, definitely no more than the third day, Tomcat will lock up and the web application will display access errors to the users. I then have to run the shutdown.sh script on Tomcat. Then because the instance will not clear out I have to run ps aux, find the instance of java that is running. I then have to run the kill -9 command and then startup.sh to restart Tomcat. If I do this first thing in the morning Tomcat will function without locking up. If I do not do it first thing in the morning, sometime during that day, or if I am lucky the next day, Tomcat will lockup. If anyone has ideas on what can be done to correct this problem I will be anxious to read any replies. Thanks, Steve -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:06 PM To: Tomcat Users List Subject: RE: Tomcat unexpectedly shuts down I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat unexpectedly shuts down
I'd find out what other major processes are running on those two UNIX boxes, as it sounds like something there's clashing terribly, and killing off the Tomcat process. -Original Message- From: Brown, Carlton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 11, 2007 4:01 PM To: users@tomcat.apache.org Subject: Tomcat unexpectedly shuts down Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat unexpectedly shuts down
Hello, My Tomcat instance is unexpectedly shutting itself down every 8 to 72 hours. Can someone give me some advice on this? By all appearances this is a graceful shutdown. I do not see any interesting exceptions in the logs (I have looked in catalina.out and the various localhost* files). Perhaps I am looking for the wrong thing. This happens on Tomcat 4.1.31 and 5.028 on Redhat Linux and Solaris 10. JSP apps running on the server are about 3 different instances of Anthill 1.8.0.264. Thanks in advance, Carlton * The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623