Hello list...
I'm having troubles with FreeBSD 5.3-RELEASE-p5 on amd64, with Apache2 
and Tomcat 5.0.30 (jdk1.5.0) installed. The problem I'm experiencing is 
very strange - Tomcat startup times are very very long, about 3-4 
minutes, with three virtual hosts. Each virtual host does stall on 
startup for some time. At first I thought, that there is some DNS 
misconfiguration, but it isn't, I don't even see any DNS traffic using 
tcpdump. To ensure, that problem is not the JDK, I tried 
linux-sun-jdk-1.4, with same results. What puzzles me most is that I 
have i686 machine with almost the same config 
(apache/tomcat/webapps/dns), on which startup of tomcat lasts about 
10-12 seconds.
I'm not totally convinced, that the problem lies in architecture, so I'm
asking on this list - anybody seen this behavior? Is it really 
architecture bound problem?
TIA!
--
     Jiri Novak
<novak@nostromo.cz>
Le Mardi 15 mars 2005 ? 15:35 +0100, Jiri Novak a ?crit :> Hello list... > I'm having troubles with FreeBSD 5.3-RELEASE-p5 on amd64, with Apache2 > and Tomcat 5.0.30 (jdk1.5.0) installed. The problem I'm experiencing is > very strange - Tomcat startup times are very very long, about 3-4 > minutes, with three virtual hosts. Each virtual host does stall on > startup for some time. At first I thought, that there is some DNS > misconfiguration, but it isn't, I don't even see any DNS traffic using > tcpdump. To ensure, that problem is not the JDK, I tried > linux-sun-jdk-1.4, with same results. What puzzles me most is that I > have i686 machine with almost the same config > (apache/tomcat/webapps/dns), on which startup of tomcat lasts about > 10-12 seconds. > I'm not totally convinced, that the problem lies in architecture, so I'm > asking on this list - anybody seen this behavior? Is it really > architecture bound problem? > TIA!It has already been reported in http://www.freebsd.org/cgi/query-pr.cgi?pr=java/77162 You can apply the patch in order to fix this until freebsd-java team release a new patchset. Anthony.
On Tue, 2005-Mar-15 15:35:03 +0100, Jiri Novak wrote:>I'm having troubles with FreeBSD 5.3-RELEASE-p5 on amd64, with Apache2 >and Tomcat 5.0.30 (jdk1.5.0) installed. The problem I'm experiencing is >very strange - Tomcat startup times are very very long, about 3-4 >minutes, with three virtual hosts.I can't offer you a solution but I can make some suggestions on where to look: 1) What is the system doing during this 3-4 minutes? Do "top" and "vmstat -v" show anything interesting? 2) Have you tried starting one instance of apache/tomcat outside a jail? -- Peter Jeremy