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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:58:25+00:00 2026-05-11T05:58:25+00:00

To do some load testing, for my own curiosity, on my server I ran:

  • 0

To do some load testing, for my own curiosity, on my server I ran:

ab -kc 50 -t 200 http://localhost/index.php 

This opens up 50 keep-alive connections for 200 seconds and just slams my server with requests for index.php

In my results, I get:

Concurrency Level:      50 Time taken for tests:   200.007 seconds Complete requests:      33106 Failed requests:        32951    (Connect: 0, Receive: 0, Length: 32951, Exceptions: 0) Write errors:           0 Keep-Alive requests:    0 Total transferred:      1948268960 bytes HTML transferred:       1938001392 bytes Requests per second:    165.52 [#/sec] (mean) Time per request:       302.071 [ms] (mean) Time per request:       6.041 [ms] (mean, across all concurrent requests) Transfer rate:          9512.69 [Kbytes/sec] received 

Note the 32951 ‘failed’ requests. I cannot figure this out.

As the test was running, I was able to access my web site from my home computer perfectly, albeit page load times at the bottom of the page were reported as .5 instead of the usual .02. However I never once had a failed request.

So why is AB reporting that half of the connections fail? And what does ‘Length: ‘ mean in that context?

  • 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. 2026-05-11T05:58:26+00:00Added an answer on May 11, 2026 at 5:58 am

    Nevermind. The ‘length failure’ merely indicates that about half the time the length of the response was different.

    Since the contents are dynamic, it’s probably the session identifier or something like that.

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

Sidebar

Ask A Question

Stats

  • Questions 126k
  • Answers 126k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Unfortunately, the "magical" var keyword is still statically (at compile… May 12, 2026 at 5:26 am
  • Editorial Team
    Editorial Team added an answer Yes, it will cache them when it can: using System;… May 12, 2026 at 5:26 am
  • Editorial Team
    Editorial Team added an answer Unless I'm misunderstanding, if (Capabilities.isDebugger) { Alert.show("Debugger!"); } else {… May 12, 2026 at 5:26 am

Related Questions

I recently created a turn-based game server that can accept 10s of thousands of
I have two websites, let's say they're example.com and anotherexample.net . On anotherexample.net/page.html ,
I'm trying to find ab - Apache HTTP server benchmarking tool for Ubuntu, I'm
How do I get a a complete list of all the urls that my

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.