ab Failed RequestsHow many requests should my webserver be able to handle?Apachebench on node.js server...

What is the relationship between relativity and the Doppler effect?

I got the following comment from a reputed math journal. What does it mean?

Are ETF trackers fundamentally better than individual stocks?

While on vacation my taxi took a longer route, possibly to scam me out of money. How can I deal with this?

Do I need to be arrogant to get ahead?

Does multi-classing into Fighter give you heavy armor proficiency?

What exactly is this small puffer fish doing and how did it manage to accomplish such a feat?

How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?

Bach's Toccata and Fugue in D minor breaks the "no parallel octaves" rule?

Different outputs for `w`, `who`, `whoami` and `id`

Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?

Why is a white electrical wire connected to 2 black wires?

Is there a symmetric-key algorithm which we can use for creating a signature?

How do you talk to someone whose loved one is dying?

Custom alignment for GeoMarkers

Employee lack of ownership

Recruiter wants very extensive technical details about all of my previous work

Why is the President allowed to veto a cancellation of emergency powers?

Violin - Can double stops be played when the strings are not next to each other?

What is a ^ b and (a & b) << 1?

What did “the good wine” (τὸν καλὸν οἶνον) mean in John 2:10?

Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

Professor being mistaken for a grad student



ab Failed Requests


How many requests should my webserver be able to handle?Apachebench on node.js server returning “apr_poll: The timeout specified has expired (70007)” after ~30 requestsApacheBenchmark ab - SSL read failed - closing connectionWhy are 20 requests executed in parallel slower than 10x2?Load/stress testing methodology. What to expect and how to interpret results?inconsistencies between stress test and real browsingDoes CURL cache requests?Load testing at 350,000 requests per minuteIs Apache Prefork working fast then Worker MPM to serve static content?server block requests from local system













2















I've built a simple apache + django + mod_wsgi webapp that I am testing on my local machine.



I've started load testing it using ab - and I am seeing a few failed requests.



ab -n 500 -c 100 "http://localhost/"

output:
....
Complete requests: 500
Failed requests: 27


In my apache config I have turned keepalive OFF and all the config for MaxClients & MaxKeepAliveRequests is set to 150. As I am starting 100 connections I dont think that I am hitting that limit. Top says that I'm not running out of memory either



How can I reduce the number of failed requests?



Also is there any log/record of these failed requests? - because there is nothing in the apache log.










share|improve this question














bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You need a tool that will give you some more information about the failures. For example, did the connections fail? Did it accept the request and return a response with a status code indicating an error? Ideally, you'd like to capture the full HTTP responses (if present).

    – CMerrill
    Aug 6 '12 at 13:56
















2















I've built a simple apache + django + mod_wsgi webapp that I am testing on my local machine.



I've started load testing it using ab - and I am seeing a few failed requests.



ab -n 500 -c 100 "http://localhost/"

output:
....
Complete requests: 500
Failed requests: 27


In my apache config I have turned keepalive OFF and all the config for MaxClients & MaxKeepAliveRequests is set to 150. As I am starting 100 connections I dont think that I am hitting that limit. Top says that I'm not running out of memory either



How can I reduce the number of failed requests?



Also is there any log/record of these failed requests? - because there is nothing in the apache log.










share|improve this question














bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You need a tool that will give you some more information about the failures. For example, did the connections fail? Did it accept the request and return a response with a status code indicating an error? Ideally, you'd like to capture the full HTTP responses (if present).

    – CMerrill
    Aug 6 '12 at 13:56














2












2








2


1






I've built a simple apache + django + mod_wsgi webapp that I am testing on my local machine.



I've started load testing it using ab - and I am seeing a few failed requests.



ab -n 500 -c 100 "http://localhost/"

output:
....
Complete requests: 500
Failed requests: 27


In my apache config I have turned keepalive OFF and all the config for MaxClients & MaxKeepAliveRequests is set to 150. As I am starting 100 connections I dont think that I am hitting that limit. Top says that I'm not running out of memory either



How can I reduce the number of failed requests?



Also is there any log/record of these failed requests? - because there is nothing in the apache log.










share|improve this question














I've built a simple apache + django + mod_wsgi webapp that I am testing on my local machine.



I've started load testing it using ab - and I am seeing a few failed requests.



ab -n 500 -c 100 "http://localhost/"

output:
....
Complete requests: 500
Failed requests: 27


In my apache config I have turned keepalive OFF and all the config for MaxClients & MaxKeepAliveRequests is set to 150. As I am starting 100 connections I dont think that I am hitting that limit. Top says that I'm not running out of memory either



How can I reduce the number of failed requests?



Also is there any log/record of these failed requests? - because there is nothing in the apache log.







load-testing ab






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 5 '12 at 18:16









andy bootandy boot

1113




1113





bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • You need a tool that will give you some more information about the failures. For example, did the connections fail? Did it accept the request and return a response with a status code indicating an error? Ideally, you'd like to capture the full HTTP responses (if present).

    – CMerrill
    Aug 6 '12 at 13:56



















  • You need a tool that will give you some more information about the failures. For example, did the connections fail? Did it accept the request and return a response with a status code indicating an error? Ideally, you'd like to capture the full HTTP responses (if present).

    – CMerrill
    Aug 6 '12 at 13:56

















You need a tool that will give you some more information about the failures. For example, did the connections fail? Did it accept the request and return a response with a status code indicating an error? Ideally, you'd like to capture the full HTTP responses (if present).

– CMerrill
Aug 6 '12 at 13:56





You need a tool that will give you some more information about the failures. For example, did the connections fail? Did it accept the request and return a response with a status code indicating an error? Ideally, you'd like to capture the full HTTP responses (if present).

– CMerrill
Aug 6 '12 at 13:56










1 Answer
1






active

oldest

votes


















0














Consider using httperf or weighttp instead of ab.



Both of them provide more details than ab about failed requests.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f414461%2fab-failed-requests%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Consider using httperf or weighttp instead of ab.



    Both of them provide more details than ab about failed requests.






    share|improve this answer




























      0














      Consider using httperf or weighttp instead of ab.



      Both of them provide more details than ab about failed requests.






      share|improve this answer


























        0












        0








        0







        Consider using httperf or weighttp instead of ab.



        Both of them provide more details than ab about failed requests.






        share|improve this answer













        Consider using httperf or weighttp instead of ab.



        Both of them provide more details than ab about failed requests.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 5 '12 at 18:43









        snapsnap

        1,041816




        1,041816






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f414461%2fab-failed-requests%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...