Re: Tomcat starts slow

2010-08-10 Thread Maxim Kuleshov
2010/8/10 Christopher Schultz > > It could be that Tomcat is attempting to resolve the SYSTEM URL for > certain XML files it uses to configure itself. Could you re-enable the > DROP and take a thread dump during the long wait? That will help > nail-down the problem. Perhaps Tomcat can be modified

Re: Tomcat starts slow

2010-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim, On 8/10/2010 8:58 AM, Maxim Kuleshov wrote: >> Tomcat on my ubuntu 8.04 (x64) server starts too slow. >> > I resolved this problem. I strace'd tomcat's start and figured out it > stucks in 'connect' method to ipv6 loopback (::1). Than I tcpdump

Re: Tomcat starts slow

2010-08-10 Thread Tobias Crefeld
Am Tue, 10 Aug 2010 16:58:45 +0400 schrieb Maxim Kuleshov : > But for some reason tomcat wants IPv6 connection and while time > (retries * timeout) passed - it hangs at start. > > And I even don't know - what subsystem use such kind of > interconnection (via IPv6 loopback). Just an idea: Tomcat

Re: Tomcat starts slow

2010-08-10 Thread Maxim Kuleshov
> > > Tomcat on my ubuntu 8.04 (x64) server starts too slow. > > > I resolved this problem. I strace'd tomcat's start and figured out it stucks in 'connect' method to ipv6 loopback (::1). Than I tcpdump'ed loopback and noticed many connect fails. The problem was IPv6 policy set to drop and no any

Tomcat starts slow

2010-08-10 Thread Maxim Kuleshov
Hi! Tomcat on my ubuntu 8.04 (x64) server starts too slow. I tried both bundled ubuntu version (tomcat 5.5.25) and newer tomcat 6.0.29. The start time does not depend on application installed - even empty tomcat distribution starts slow. I googled that problem is somehow related to random genera