Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7952243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:48:04+00:00 2026-06-04T02:48:04+00:00

I have a problem with our Jetty application server. Since yesterday, we have a

  • 0

I have a problem with our Jetty application server. Since yesterday, we have a big issue. Sometimes, Jetty seems to simply hang and don’t want to do any RPC call. If I restart it, it return to its normal state, but the problem will comeback few hours later.

I noticed that the log of Nginx prompt this error when we have the problem :

2012/05/17 17:00:47 [error] 14728#0: *506735 upstream timed out (110: Connection timed out) while reading response header from upstream, client: xx.xxx.xxx.xx, server: www.MY-SERVER.com, request: "POST /com.xxxx.xxxx.XXXX/Service HTTP/1.1", upstream: "http://127.0.0.1:8080/com.xxxx.xxxx.XXXX/Service", host: "www.MY-SERVER.com", referrer: "https://www.MY-SERVER.com/"

Even when it’s working well, Nginx prompt this warning :

2012/05/17 17:04:44 [warn] 14728#0: *506906 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000088415, 

client: xx.xxx.xxx.xx, server: http://www.MY-SERVER.com,
request: “POST /report HTTP/1.1”, host: “www.MY-SERVER.com”
Is it alarming?

I’ve heard that when Jetty hang like that it may be because of a thread issue. How can I verify that? Here is my Server Thread Pool configuration, may be it can help diagnostic the problem.

<!-- =========================================================== -->
    <!-- Server Thread Pool                                          -->
    <!-- =========================================================== -->
    <Set name="ThreadPool">
      <!-- Default queued blocking threadpool -->
      <New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
        <Set name="minThreads">10</Set>
        <Set name="maxThreads">200</Set>
        <Set name="detailedDump">false</Set>
      </New>
    </Set>

    <!-- =========================================================== -->
    <!-- Set connectors                                              -->
    <!-- =========================================================== -->

    <Call name="addConnector">
      <Arg>
          <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
            <Set name="host"><Property name="jetty.host" /></Set>
            <Set name="port"><Property name="jetty.port" default="8080"/></Set>
            <Set name="maxIdleTime">300000</Set>
            <Set name="Acceptors">2</Set>
            <Set name="statsOn">false</Set>
            <Set name="confidentialPort">8443</Set>
            <Set name="lowResourcesConnections">20000</Set>
            <Set name="lowResourcesMaxIdleTime">5000</Set>
          </New>
      </Arg>
    </Call>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T02:48:06+00:00Added an answer on June 4, 2026 at 2:48 am

    First things first you need to mention what jetty version you are dealing with, that is pretty important in comparing the situation against some known issues.

    In general I can only recommend that you update to the latest jetty release, either 7.6.3.v20120416 or 8.1.3.v20120416.

    Well that and you need to take a thread dump to see where things are stuck. While there have been a couple of issues stemming from our attempted fixes to nio bugs in the jvm, and some ssl issues related to half-closes being used far more often in newer browsers then previously…the majority of issues in server hangs are from the applications deployed in jetty itself. So taking a thread dump, or ideally several in a row will help isolate where your having issues.

    Another thing to check is what java version your using, the java 6 patch level 2x’s were almost all bad in one way or another with nio and ssl, only the latest 3x have restored some semblance of normality to things.

    So first you really need to take some thread dumps to get an idea of what is going on in your server before you look to see if its a jetty specific issue. If you can post some bits of the stack trace showing obvious jetty issues then your getting somewhere. I can’t count the number of times I have seen a situation like this only to take a thread dump and see its database contention or something similar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have problem with our Qt based production server for our business application. When
We have a problem in our swing based application since we've upgraded our java
We have an x-files problem with our .NET application. Or, rather, hybrid Win32 and
I have a problem executing a process from our testing server. On my localhost
I have a problem. Actually in our application, earlier the customer was allowed to
we have faced a problem with our production system yesterday which I am unable
We have found a problem with our deployment to a production server that runs
I have the following problem: In our application we have a list of reports
We have a problem with our SAAS site. We sometimes have users kicked out
We have found a problem on our application (a select query that join too

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.