tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Kuleshov <maxim.kules...@gmail.com>
Subject Re: Tomcat starts slow
Date Tue, 10 Aug 2010 12:58:45 GMT
>
>
> 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 additional rules
added, even loopback pass-through (though, IPv4 configured to accept all
lo<->lo traffic).

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).

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message