Re: Tomcat unexpectedly shuts down

2010-08-09 Thread André Warnier
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

Re: Tomcat unexpectedly shuts down

2010-08-09 Thread Christopher Schultz
-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

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
> 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: Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
-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

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
> 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 util

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
> 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. T

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread B. Balakrishna Rao
- 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 suppor

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Gerardo Corro
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.

RE: Tomcat unexpectedly shuts down

2010-08-09 Thread Caldarale, Charles R
> 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 +

Re: Tomcat unexpectedly shuts down

2009-02-13 Thread Juha Laiho
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 sudd

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Pieter Temmerman
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 a

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Christopher Schultz
-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 th

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Christopher Schultz
-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. > >

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
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 T

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread 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? > > >

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
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, oomkill

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread André Warnier
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 interventi

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread 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:

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
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 log

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread 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/

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
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" a

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread 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 Secur

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
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 > > T

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Caldarale, Charles R
> 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

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Gregor Schneider
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

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
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 s

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread 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 th

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread 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 pe

RE: Tomcat unexpectedly shuts down

2009-02-12 Thread Peter Crowther
> 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,

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Adlane ACHAB
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 ha

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread 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 sudd

RE: Tomcat unexpectedly shuts down

2007-01-15 Thread Caldarale, Charles R
> 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 runni

RE: Tomcat unexpectedly shuts down

2007-01-15 Thread Nelson, Tracy M.
| 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 instruct

RE: Tomcat unexpectedly shuts down

2007-01-12 Thread Steve Ingraham
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

Re: Tomcat unexpectedly shuts down

2007-01-12 Thread Leon Rosenberg
e 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 <[EMAI

Re: Tomcat unexpectedly shuts down

2007-01-12 Thread Christopher Schultz
-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 mach

RE: Tomcat unexpectedly shuts down

2007-01-12 Thread Brown, Carlton
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 > see

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
stance 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 ju

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Andre Prasetya
iginal 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

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Brown, Carlton
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

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
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,

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
090 -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.

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
o 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

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Brown, Carlton
ly. 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 do

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Steve Ingraham
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 terrib

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
]> 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:

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
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

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
omcat 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:[

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
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. ---

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Steve Ingraham
#x27;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

Re: Tomcat unexpectedly shuts down

2007-01-11 Thread Leon Rosenberg
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 ma

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Brown, Carlton
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

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread andy.mcneill
nuary 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.

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
ssage- 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 c

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Steve Ingraham
: 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

RE: Tomcat unexpectedly shuts down

2007-01-11 Thread Propes, Barry L [GCG-NAOT]
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@tom