Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

OneConnect Profile Max-Reuse of Zero

Joel_Smith
Nimbostratus
Nimbostratus

Hi,

We have an existing production OneConnect profile with a max-reuse paramter of zero:

ltm profile one-connect /Border/pr_OneConnect_NoReuse {
    app-service none
    max-reuse 0
}

Does anyone have an idea of what this means?

Does it close the backend connection after each HTTP request?

It has been suggested that this allows for an infinite number of HTTP requests per backend connection.

Any help in clarifying this will be greatly appreciated.

Joel

4 REPLIES 4

Nath
Cirrostratus
Cirrostratus

Specifies the maximum number of times that a server-side connection can be reused. The default is 1000 in version 16.x.

https://support.f5.com/csp/article/K7208

Nath_0-1652408379492.png

 

Joel_Smith
Nimbostratus
Nimbostratus

Nath,

Thank you for the link but the KB does not address what a max-reuse of zero means.

I have talked the sales engineer on our account and they have escalated the question to engineering.

When they respond, I'll post their answer here.

Joel

Gajji
Cirrostratus
Cirrostratus

It means maximum number of times that a server-side connection can be reused.

The default value is 1000... that should have some value not 0.

Joel_Smith
Nimbostratus
Nimbostratus

The answer is that in the case of zero, it means that there will be no reuse at all. The backend connection will be used only once and then destroyed.

In the case of one, the connection is used twice: once for the initial request and then once for reuse.

This is similar to a case where the 'Connection: close' response header is returned. The difference being that the frontend connection is not actually closed but the LTM treats it as if it had by resetting to the default pool of the virtual server as well as resetting any iRule variables.

F5 agrees that the documentation could be more clear on this matter and have taken an action item to do so.