From: Peter <pe...@ri...> - 2004-06-21 01:22:09
|
Hi Jay. I host a lot of customers running Tomcat on their VPS. That = signal 11 can indicate an out of memory error (on the VPS). So check = you have started Tomcat with a -Xmx setting of something reasonable = (e.g. -Xmx128m). Otherwise Java will consume all the memory on the UML = instance (presuming smaller than 512MB or so). Also, you may want to try a 2.4 UML kernel for Java users. I've had = some better luck with that in some cases than a 2.6 one. Regards, Peter ----- Original Message -----=20 > Good evening, >=20 > First of all; I was wondering if anyone has had any luck running = apache2=20 > and tomcat5 in a virtual machine. >=20 > If not, has anyone else experianced problems with java networking=20 > applications? I've got my configuration running and everything tests=20 > fine, but after a load test with between 300 - 500 connections, tomcat = > pukes. I get an exception that starts like this: >=20 >=20 > An unexpected exception has been detected in native code outside the = VM. > Unexpected Signal : 11 occurred at PC=3D0x40023E9E > Function=3D(null)+0x40023E9E > Library=3D/lib/libpthread.so.0 >=20 > 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. >=20 >=20 > Current Java thread: > at java.net.PlainSocketImpl.socketAccept(Native Method) > at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) > - locked <0x44f3b700> (a java.net.PlainSocketImpl) > at java.net.ServerSocket.implAccept(ServerSocket.java:448) > at java.net.ServerSocket.accept(ServerSocket.java:419) > ... >=20 >=20 >=20 > I've tried the same application in a none UML environment with no = problems. I've tried upgrading my UML to the most current 2.6.7. I've = tried both the Blackdown and Sun jvms. I've even tried running my load = test on a simple page that only displays the time. All yeild the same = results. >=20 > I'm not sure what additional information might be helpful with = figuring this out. And other than this one problem, I love UML and have = had pretty good results. =20 >=20 > Thanks in advance for any help that the list may be able to offer. >=20 > --=20 >=20 > Jay Herrick |