This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Websphere's JVM shutting down and starting for unexplained reasons

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
- No out of memory exception
- No abnormal behavior in garbage collection
- Disabled restart on Node Agent ping

Are there any other reasons that would make Websphere randomly shut down and restart? This only happens by the way when one of the apps is load tested.

I found some info on the Dr Watson logs of Windows...it says this:

Application exception occurred:
App: C:\ProgramFiles\WebSphere\AppServer\java\bin\java.exe (pid=3588)
When: 7/20/2012 @ 07:35:17.191
Exception number: 80000003 (hardcoded breakpoint)

What do you guys think could be the problem here? I searched "80000003 (hardcoded breakpoint)" on google and all I get is solution for other windows processes that had experienced the same thing...but I found none on java.


I am running Websphere 5 on Win2k3 Enterprise Edition SP2 with 4GB RAM


Thanks
Andres
 
author & internet detective
Posts: 39528
776
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andres,
Check the system resources up to and including the crash. Are you maxed out on CPU, memory, etc?
 
Andres Delrotti
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Websphere restarts usually at 85% CPU usage and higher. The usage reaches a high value at certain times because of the antivirus update running in the server machine at definite time intervals. Although I think this is not the cause. Before the restart, CPU usage reaching 80% and higher happens a lot of times and there were no restarts happening. Also.....during a high CPU usage point, the thread dump showed 96% of the initial heap being used. Weird thing is changing the initial heap size doesnt seem to have any effect on this. I changed initial heap from 512MB to 1G and still the same thing happens.
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andres
On AIX I've seen the process stop due to oom of native memory segments on a 32 bit system where we had set the max heap size to 2gb. This gave us only 2 segments (512MB) available for java -> native code generated by the VM .


I think in the native_stderr.log I was seeing c based malloc,calloc calls fail(return -1) , the vm shut down. I had verbose GC enabled at the time .

This pointed us to the heap being sized too large for the amount of native code that was being generated.

Not saying thats your issue but i suppose another thing to look for.
 
Ever since I found this suit I've felt strange new needs. And a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!