Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] 5 minute pause with jetty...is this a JVM issue(anyone else seen this?)

Also on startup if there is not enough activity on the machine the
random number generator can stall on starting up, so make sure that
the server has started fully.

cheers,
jesse

--
jesse mcconnell
jesse@xxxxxxxxxxx

http://webtide.com / http://intalio.com
(the folks behind jetty and cometd)



On Wed, Sep 21, 2011 at 15:57, Pavel Jbanov <pavel.jbanov@xxxxxxxxx> wrote:
> Did you look at the thread dump while it's hanging? I once found in one of
> my setups that InetAddress.getLocalHost() was hanging because of local DNS
> related issues. VisualVM is a great tool for debugging things like this.
> Pavel
>
>
> On Wed, Sep 21, 2011 at 1:10 PM, Dean Hiller <dean@xxxxxxxxxxx> wrote:
>>
>> I am using jetty-distribution-7.4.5.v20110725 with jdk 1.6.0_26
>>
>> I run 10 servers, start them all up and at least one sometimes two will
>> encounter a 5 minute pause.  I see the request come in on ethereal and have
>> a filter that logs every request(first thing it does) and that request is
>> logged 5 minutes after I see it in wireshark.  I cannot telnet into the
>> frozen server port 8080 BUT when another port is open like 8081, I can
>> telnet into 8081 during this weird pause.  I am wondering if it is an
>> underlying lock in the JVM.  There is no deadlocks according to jstack -m
>> nor jstack -l command and all threads look find....all of them are stuck on
>> read from socket for like 5 minutes exactly.
>>
>> I see there is a tcp timeout of 5 minutes in the tcp spec for something.
>> I see no 5 minute timeouts for jetty.  Anyone know any valid JVM
>> configuration timeout values I could tweak and see if the pause period
>> changes length at all?
>>
>> thanks,
>> Dean
>>
>>
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>


Back to the top