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 6972091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:55:25+00:00 2026-05-27T16:55:25+00:00

We are load testing our web application(Java, Struts, Spring, Java EE). The results show

  • 0

We are load testing our web application(Java, Struts, Spring, Java EE). The results show that, out of 11,000 odd requests sent to the server, only 1500 odd pass through; most of them fail throwing SocketException.

What are the possible reasons this could occur ?

I have no idea where to look in the application to fix it.

  • 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-05-27T16:55:25+00:00Added an answer on May 27, 2026 at 4:55 pm

    It’s likely that you are simply overwhelming your server. The operating system will only maintain a bounded queue of pending connections, and your application almost certainly has a bounded number of threads processing incoming connections.

    I’d suggest you start recording metrics on how many idle processing threads you have, and (if you can) how many pending connections are in the operating system queue. If you consistently have zero idle threads and an OS queue at or near the maximum then you know that you’ve hit the limits of your hardware and/or software and/or database.

    You should also watch the operating system’s CPU and I/O load metrics. That may help narrow down where your bottleneck is. If you haven’t maxed out the CPU but you have a lot of I/O wait, then you need to optimize I/O operations. If you consistently hit 100% CPU then you need to either make your code more efficient or throw more hardware at it. You’ll also need to keep an eye on the garbage collector, because if it starts spinning then that will degrade performance.

    Performance tuning is hard. You really need to be very careful about what you measure, but CPU load, I/O wait, network activity and memory consumption are a good start.

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

Sidebar

Related Questions

We have an asp.net 3.5 web app that we must start load testing with
Here is the scenario We are load testing a web application. The application is
I'm load testing a web page using visual studio load testing tool, but I
I wrote simple load testing tool for testing performance of Java modules. One problem
I'm using ab to do some load testing, and it's important that the supplied
We've having trouble deploying a web service that works in our development environment, but
I recently did some performance testing and analysis of an ASP.NET application using out-of-process
I've got an application that works in our corporate workplace on both Windows XP
I'm very interested in testing out LinqPad with our Entity Framework 4.0 based websites,
We currently use LoadRunner for performance testing our web apps, but we also have

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.