-
1. Re: JBoss Crash!!
rvigniel Jul 30, 2002 9:03 AM (in response to aleycris)try using green threads, by replacing the option "-server" by "-green" in the java command line, in bin/run.sh.
on linux it's more stable, but slower... -
2. Re: JBoss Crash!!
gwoodward Aug 3, 2002 2:23 PM (in response to aleycris)I tried modifying the run.sh script to use "-green", but I get the error message that this option is not available with this JVM (JDK 1.4 on Linux). Any other thoughts? Thanks.
-- Greg -
3. Re: JBoss Crash!!
rvigniel Aug 6, 2002 5:08 AM (in response to aleycris)try using sun/blackdown jdk1.3.1 linux...
-
4. Re: JBoss Crash!!
aleycris Aug 7, 2002 9:27 AM (in response to aleycris)I tried with the green parameter but after 3 days I had the same problem.
Do you have any idea?
Regards
Alejandro -
5. Re: JBoss Crash!!
rvigniel Aug 23, 2002 10:59 AM (in response to aleycris)how is the system going before it crashes ?
(number of threads, cpu load (user & system))
I had the same kind of problem when doing stress test (on linux):
number of thread increases, system cpu load increases then cpu doesn't have enought time to process user program... till it crashes... in this case the only solution is to get more or better hardware, and try to minimize thread and socket usage (using Local ejbs, removing session ejb when you don't need them anymore...) -
6. Re: JBoss Crash!!
javier Aug 24, 2002 8:06 PM (in response to aleycris)Have you applied the latest patches to HP/UX? Are you using the latest JVM for HP/UX?
-
7. Re: JBoss Crash!!
aleycris Aug 29, 2002 1:48 PM (in response to aleycris)I don't know if I have the last patch to HP-UX, I have the JDK 1.3.103.
The instalations of patch depend to order area. -
8. Re: JBoss Crash!!
keith_elliott Sep 5, 2002 8:46 AM (in response to aleycris)I have had a problem with JBoss crashing as well. We were using 2.2, which never crashed b/c it began using too much memory (but we did have deadlocking problems, so we upgraded). No we are using 2.4.5, and Jboss has been systematically crashing. Here's what is happenning:
Setup: RH Linux 7.1 / Jboss 2.4.5 / Tomcat 3.2.3 (bundled) / MySQL
Jboss shuts itself down at about the same time that we have a couple cron jobs running. This seems to lead us to believe that the cron jobs are hogging resources. But, we were running the same cron jobs when we had Jboss 2.2 running, and this never happened. After some brief inspection, it appears that the cron job (a MySQL db dump), uses about 36% of the CPU for a few minutes. But memory usage seems fine.
In many cases, not only Jboss crashes, but it brings down the entire server. The console spits out
Aug 30 04:26:39 server1 kernel: Out of Memory: Killed process 4569 (java).
The jboss server.log simply shows
[04:27:05,441,STDOUT] Shutting down
[04:27:05,471,ServiceControl] Stopping 47 MBeans
No exceptions or out of memory errors are shown. It just starts shutting down.
Since Jboss / Tomcat are the only java processes running, I assume Jboss is the culprit.
We have not tweaked the maximum Java heap size, so it's set at 64M. When I run top or ps, most of the time the java processes hover around 89M. It seems to ignore the maximum setting. Why does it ignore it?
We increased our RAM from 256M to 512M. Things seem to be a little better. Now, most of the time, only Jboss crashes, not the entire machine. But Jboss still crashes. Of course, we could add another 512M, but that's just a band-aid, I'd rather fix the problem.
The next thing I'll try is increasing the maximum java heap size, adding "-Xmx256m" to the java command in the jboss startup script. I'll post another note w/ the results of this change.
Any insight here? Thanks for any help!
Keith