Skip to main content

MaxKeepAliveLifetime

FlexNet Manager Suite ()

Command line | Registry

MaxKeepAliveLifetime sets the maximum age (in seconds) of a reusable (persistent) HTTP/HTTPS connection. The uploader component (in either FlexNet Inventory Agent or FlexNet Beacon) does not make further requests on a persistent HTTP/HTTPS upload connection older than this. Instead, it requests a new connection.

Tip: This setting, which limits the reuse of HTTP/HTTPS connections, is independent of socket-level keep-alive requests that are controlled by SendTCPKeepAlive. Both may operate across the same network connection: for example, when the uploader switches connections to start uploading a distinct file type, this setting may render an older connection unavailable. Otherwise, the settings are independent.

The special value MaxKeepAliveLifetime=0 means that there is no maximum age, and the uploader issues keep-alive requests repeatedly (attempting to use the same connection for all file uploads). The same result occurs if you manually remove the registry setting.

The main benefit of limiting the lifetime of a persistent connection is to allow for improved load balancing across large systems. Because load balancers do not re-route persistent connections, dropping the connection and requesting a new one allows for improved load balancing between multiple servers.

Tip: This MaxKeepAliveLifetime setting works in conjunction with MaxKeepAliveRequests. If both settings are active, a new HTTP/HTTPS connection is requested (and both counters are reset) for the next upload after either of these limits is reached.

Values

| **Values / range** | 0-2,147,483,647 | | **Default value** | `60` seconds \(on Windows platforms\) `0` \(on UNIX-like platforms\) – no maximum age by default | | **Example values** | ``` 600 ``` |

Command line

| **Tool** | Upload component \(`ndupload`\) | | **Example** | ``` -o MaxKeepAliveLifetime=600 ``` |

Registry

| **Installed by** | Installer \(Windows only\), or manual configuration | | **Computer preference** | `[Registry]\ManageSoft\Uploader\CurrentVersion` `[Registry]\ManageSoft\Common` |

2025 R1.1

Parent topic:Preferences