From owner-freebsd-java Mon Nov 25 1:45:18 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EEA037B401 for ; Mon, 25 Nov 2002 01:45:16 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8EFE43EA3 for ; Mon, 25 Nov 2002 01:45:13 -0800 (PST) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by diomedes.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id gAP9j6Z62467 for ; Mon, 25 Nov 2002 11:45:06 +0200 (EET) Received: from localhost (mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.11.6/8.11.6) with ESMTP id gAP9j5X04188 for ; Mon, 25 Nov 2002 11:45:05 +0200 (EET) Date: Mon, 25 Nov 2002 11:45:05 +0200 (EET) From: Mantzios Achilleus To: Subject: Jboss, -Xss with hotspot on -release 4.7p2 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have (i think) built hotspot (core) on stable 4.7. When i run jboss 3.0.1 with -Xss30m i get: Stack size of 30720 Kb exceeds current limit of 1024 Kb. (Stack sizes are rounded up to a multiple of the system page size.) I then try to use this limit with -Xss1m. When i run jboss with hotspot (core) i get sigbus (10). An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 10 occurred at PC=0x29a77288 Function name=Java_java_net_InetAddressImpl_getHostByAddr Library=/usr/local/jdk1.3.1/jre/lib/i386/libnet.so Current Java thread: at java.net.InetAddressImpl.getHostByAddr(Native Method) at java.net.InetAddress.getHostName(InetAddress.java:156) at java.net.InetAddress.getHostName(InetAddress.java:127) at java.net.InetAddress.toString(InetAddress.java:265) at java.lang.String.valueOf(String.java:1947) at java.lang.StringBuffer.append(StringBuffer.java:370) - locked <4001e2c8> (a java.lang.StringBuffer) at java.net.ServerSocket.toString(ServerSocket.java:316) at java.lang.String.valueOf(String.java:1947) at java.lang.StringBuffer.append(StringBuffer.java:370) - locked <4001e280> (a java.lang.StringBuffer) at org.jboss.web.WebServer.start(WebServer.java:162) at org.jboss.web.WebService.startService(WebService.java:104) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:384) - locked <402cf590> (a org.jboss.system.ServiceController) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy3.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:615) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:565) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:319) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:216) at org.jboss.Main.boot(Main.java:142) at org.jboss.Main$1.run(Main.java:375) at java.lang.Thread.run(Thread.java:484) Error: Cannot print dynamic libraries. Function not implemented for FreeBSD Local Time = Mon Nov 25 11:40:27 2002 Elapsed Time = -2147483648 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Core VM (1.3.1-internal interpreted mode) ----- - Where is this the limit of stacksize limited to 1mb??? (i mean i cannot set it to -Xss30m) The only kernel related sysctl variable is kern.usrstack: 3217031168. Also ulimit stacksize is set to 65M. - Has anyone come across to thos problem in Java_java_net_InetAddressImpl_getHostByAddr?? I will try compiler1,2... Achilleus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message