Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damon 217 posts 288 karma points
    Oct 21, 2015 @ 08:56
    Damon
    0

    maxRequestLength and executionTimeout in web.config

    Hi,

    I want to understand what best practice values should be for maxRequestLength and executionTimeout.

    Someone mentioned maxRequestLength="204800" executionTimeout="99999".

    But what are there data values measured in?

    I assume you would not want to set the limit to large?

    What is the advice here?

    Thanks a lot!

  • Alan Every 13 posts 35 karma points
    Oct 21, 2015 @ 09:08
    Alan Every
    1

    The executionTimeout is measured in seconds and defaults to 110 seconds. The figure you mention seems rather large to me as do you really want someone (or a process) to wait that long before being told it has failed.

    As for best practice... personally I would stick to the default unless you know you have so long running process occurring on your site which you would expect to take longer than the 110

  • Alan Every 13 posts 35 karma points
    Oct 21, 2015 @ 09:13
    Alan Every
    1

    As for maxRequestLength the default is 4mb ( defined as 4096).

    It all depends if your site is uploading files etc. If you expect to receive uploads > 4mb you will need to scale this figure accordingly

Please Sign in or register to post replies

Write your reply to:

Draft