-
1. Re: JBOSS dies every 24 hours?
juhalindfors Jan 29, 2003 4:05 AM (in response to dwave)There's nothing in JBoss that would shutdown the server automatically.
How does the process die? Is the server still responsive when the process is killed or does it seem like the app server has frozen and then you kill the process? -
2. Re: JBOSS dies every 24 hours?
dwave Jan 29, 2003 11:52 AM (in response to dwave)Thanks for the help.
Here's what happens - the result of:
ps -wax | grep java | grep -v grep | wc -l
is 0. At no more than 30 seconds earlier, it was 71. At this point, browsing any web page (e.g. a .jsp) will return 500 error. The database (postgresql) and apache seem to be running fine:
ps -wax | grep post | grep -v grep | wc -l
ps -wax | grep http | grep -v grep | wc -l
both are nonzero (12 and 9 I think). So, the machine is still running (it has not crashed), I just don't have any jboss...
The number of open files is pretty large in general:
lsof -c java | wc -l
starts out at 10651 - I haven't yet seen this number when jboss stops - in the next 24 hours I'll know. An fd leak seems unlikely, since the machine continues to run, but I'll try anything!
-dave -
3. Re: JBOSS dies every 24 hours?
mikefinn Jan 29, 2003 9:23 PM (in response to dwave)It's a major long shot, but make sure there's nothing in cron or anacron removing files from your temp dir, such as tmpwatch. This burned us a while back. We were getting 404s every 11 days (!), and it turned out tmpwatch was purging /tmp, the default place where JBoss puts temp files (System property java.io.tmpdir).
mike -
4. Re: JBOSS dies every 24 hours?
triathlon98 Jan 30, 2003 12:40 PM (in response to dwave)What is your configuration? OS, JVM, processor?
Are there any extra files appearing in your jboss bin directory (like something starting with "hs_err_".
We had similar problems when running JBoss on a system with VIA C3 processor, and it appeared to be related that.
Joachim -
5. Re: JBOSS dies every 24 hours?
dwave Jan 31, 2003 3:46 AM (in response to dwave)YES! I have an hs_err_pidxxxx.log file for every time Jboss has died!
I'm using:
jboss-3.0.4
j2sdk 1.4.1_01-fcs (from rpm -q)
on redhat 2.4.7-10 (redhat linux 7.1 2.96-98)
on a IBM eServer 1U rack-server 1 CPU (Intel Pentium III 1GHz)
each hs_err file says this:
Unexpected Signal : 11 occurred at PC=0x40533620
Library=/usr/java/j2sdk1.4.1_01/jre/lib/i386/server/libjvm.so
Then a lot of other wonderful stuff, and then finally:
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002E6
# Please report this error at
# http:// ...
# Java VM: Java HotSpot(TM) Server VM (1.4.1_01-b01 mixed mode)
How did you fix the problem?
Do I have a bad combination of jboss/jvm/os ?
The IBM hardware seems standard enough...
Thank you very much, indeed!
-dave -
6. Re: JBOSS dies every 24 hours?
triathlon98 Jan 31, 2003 8:09 AM (in response to dwave)Bad luck, can't help in this case. Our only option was to switch systems to something with a different processor.
Joachim -
7. Re: JBOSS dies every 24 hours?
dwave Jan 31, 2003 6:14 PM (in response to dwave)Thanks though,
I'm going to try going back to 1.3.1 - don't think I really need 1.4.
-dave