Forum Discussion

JCMATTOS_41723's avatar
JCMATTOS_41723
Icon for Nimbostratus rankNimbostratus
Oct 27, 2008

Change MaxRequestLength?

We have 2 LTM's 9.4.3 we have a strange request from our developers and would like to adjust the MaxRequestLength from default 65536 to 2GB to support a certain application. I've poked around the GUI and did not see anything that will allow me to make that change. First, is there a way to adjust this? And if so, where do I make the change and how? Lastly, is this a global change and how will this impact all our current services on the BigIP?

 

 

I have successfully implemented a solution that allows me to pass on the client credentials, using a custom http binding; otherwise, WCF does not allow user credentials on good old http by design. The only problem I am having now is when I upload files that are few hundred KB in size. I can download large files (500 MB) with no problem but when I try to upload a 600KB file I get the following message:

 

 

The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

 

 

Since our WCF service is running as a web app, this boils down to setting the MaxRequstLength attribute to a large number within the web.config file as follows:

 

 

minFreeThreads="8" minLocalRequestFreeThreads="8" appRequestQueueLimit="100"/>

 

 

Considering that the maximum length of web request is limited to 2GB; I have set the value to 2097151.

 

 

I believe that the F5 also has a similar setting for maximum request length that is somehow left to default (65536). Could you please verify that and bump it up to 2GB.

 

 

1 Reply

  • Hi JC,

     

     

    Are you using LTM only, or ASM or another module? The only LTM HTTP length restriction I'm aware of is the max header size. This setting only affects the amount of bytes available in iRules for HTTP headers.

     

     

    SOL8482: Error Message: HTTP header exceeded maximum allowed size of 32768 (Click here)

     

     

    I would guess this is an app (or possibly client) issue.

     

     

    Aaron