This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Websphere's JVM shutting down and starting for unexplained reasons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere Watch "Websphere New topic
Author

Websphere's JVM shutting down and starting for unexplained reasons

Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 136
- 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
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

Andres,
Check the system resources up to and including the crash. Are you maxed out on CPU, memory, etc?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 136
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.
Brian Hennessy
Ranch Hand

Joined: Oct 24, 2005
Posts: 57
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere's JVM shutting down and starting for unexplained reasons
 
Similar Threads
Auto restart of Tomcat?
stale connection exception
cleaning up connections in websphere
datasource jndi cast error
java.lang.stackoverflow exception