Java server app "disppears"
- From: Ed Mittelstedt <Bit{nospam}Bucket@CCG{nospam}Workshop.com>
- Date: Tue, 13 Jun 2006 07:04:32 -0400
Hello,
I've been wrestling with this problem for almost 4 months now. I am
trying to run two instances of the same java server app on 1 linux
box.
Basically they are listening on seperate ports.
The problem is that one of the apps continiously just"disappears" with
no sysout or syserr message to find out what happened.
The box is a Red Hat 9 with 512MB of RAM.
Java version is 1.5.0_06, and I even compiled the app using the
ThreadGroup class overiding the uncaughtException method.
Here's the command line:
java -server
-XX:+PrintGCDetails
-XX:+UseParallelGC
-XX:GCTimeRatio=9
-Xmx32m
-Xloggc:gcc
<appname> >log 2>&1
I know 32MB is very small for a heap, but its what I've manage to come
to get at least one of the apps to run more than 24 hours without just
disppearing. Anything larger and they both disappear within hours.
I'm running MySQL on the same box, checking top now shows that its'
only taking about 36M after running for weeks. 512MB should be big
enough to run these 3 things, right? Whats killing me is the lack of
information.
Can anyone shed light on this?
Thanks in advance,
Ed Mittelstedt
.
- Follow-Ups:
- Re: Java server app "disppears"
- From: Fergus Gibson
- Re: Java server app "disppears"
- Prev by Date: Re: Writing apps for Windows platform in Java? Why?
- Next by Date: Re: Writing apps for Windows platform in Java? Why?
- Previous by thread: jar to mobile
- Next by thread: Re: Java server app "disppears"
- Index(es):
Relevant Pages
|
|