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 horrib
> 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
-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
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
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
-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 eno
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
-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
> 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
-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
> 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
> 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
-
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
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.
> 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
> -X
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:+UseConcM
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
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
-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
-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.
>
>
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
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?
> >
>
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
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
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:
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
> 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/
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
> 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
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
> 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
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
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
> 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
> 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
> 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,
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
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
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
> 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
| 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
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
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
-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
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
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
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
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
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,
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.
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
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
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
, 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 intere
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
t: 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: T
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.
---
#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
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
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 exc
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.
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
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
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 lo
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).
65 matches
Mail list logo