RE: Signal 11 Error: An unexpected exception in native code outside the VM

2003-09-30 Thread joe gspeed
Right now the server has all of the latest and
greatest patches from Red Hat.  We are still seeing
crashes about once a day.

I am also observing a significant memory leak on this
box, though I can't figure out if its Tomcat, java,
the code or something else - once the memory gets low
enough tomcat crashes.

I am planning on making the following config changes
to hopefully remedy this problem:

-Xms512m -Xmx512m -XX:NewSize=256m -XX:MaxNewSize=512m
-Xincgc

This machine has about 2gb of memory and the app
running on it is fairly database intensive.  Can
someone tell me if these settings make sense?


Thanks again.

--- Shapira, Yoav [EMAIL PROTECTED] wrote:
 
 Howdy,
 
 Signal 11 is a segmentation error (I think), which
 would be caused by
 attempting to access an invalid memory address. 
 This in turn might be
 caused by attempting (in native code) to construct
 an instance of a
 Java
 class that the class loader can't find, something
 like:
 
 This is unnecessarily restrictive, although a
 possible explanation, as
 signal 11 is not just segmentation fault.  HotSpot
 categorizes many
 external/native exceptions as signal 11's.  The most
 frequent cause for
 these errors is a missing or old OS patch, e.g. the
 threading library.
 You must ensure your OS is properly updated.  For
 example, the Solaris
 patches for JDK 1.4.2 are here:

http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/J2SE
 
 The RedHat patches should be somewhere on the RedHat
 site.
 
 A second cause for this, though increasingly rare
 nowadays, is an
 improperly compiled JVM.  Then again, if you know
 enough to build your
 own JVM in the first place I don't think you're even
 reading this
 message ;)
 
 Yoav Shapira
 
 
 
 This e-mail, including any attachments, is a
 confidential business communication, and may contain
 information that is confidential, proprietary and/or
 privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not
 be saved, copied, printed, disclosed or used by
 anyone else.  If you are not the(an) intended
 recipient, please immediately delete this e-mail
 from your computer system and notify the sender. 
 Thank you.
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Signal 11 Error: An unexpected exception in native code outside the VM

2003-09-22 Thread joe gspeed
Hoping that someone can help me with Tomcat crashes we
are experiencing.  Here is our setup:

Tomcat Box: Dual 2.4Ghz Xeon (w/hyperthreading) RedHat
7.3 running Tomcat 4.0.6 and Java SDK 1.4.2

Apache Box: Dual 2.4Ghz Xeon (w/hyperthreading) RedHat
7.3 running Apache 2.0.47 (using the worker MPM and
mod_jk as the connector)

Database: connecting to several different AIX DB2
boxes v7.2

Our tomcat server is crashing intermittently -
sometimes as often twice a day or as little as once
every three weeks - with the following error:

An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x20202020
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol
for the error just occurred. Please refer to release
documentation for possible reason and solutions.


This is followed by the current Java thread and the
dynamic libraries involved in the crash and then the
following message:

#
# The exception above was detected in native code
outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed
mode)
#
# An error report file has been saved as
/tmp/hs_err_pid29546.log.
# Please refer to the file for further information.
#


This crash does not coincide with any particular
action that the user is taking.  We have been unable
to reproduce this in QA or development (but they are
all single proc machines).  I have read several posts
suggesting that there are problems with dual proc
machines and possible solutions might be to change the
SIGNUM variable.  We are also running tomcat with the
-server option which I think I might turn off.  Other
possible culprits (we think) might be a memory leak
somewhere or the connection pool manager (Bitmechanic
v.99).  Does anyone have any insight to this?

Thanks in advance for any help.



__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]