SendTCPKeepAlive
Command line | Registry
SendTCPKeepAlive
determines whether the uploader (both in
the Windows-based FlexNet Inventory Agent and in FlexNet Beacon) sends keep-alive TCP
(socket level) packets to the destination server at 3-minute intervals. This behavior is
helpful where you have large files (10MB or larger) that take several minutes to resolve into
the inventory database in the central application server. This may happen, for
example, with large .ndi inventory files, large Active Directory imports,
or the like. When this is the case and there are no keep-alive packets sent, the
intermediate network infrastructure may decide that the connection is idle, and terminate it.
As a result, even though the inventory/import is resolved and processed entirely normally, the
disconnection means that the inventory beacon cannot be notified of the success. It then
follows normal protocol for a failed upload, saving the source file locally on the inventory beacon, and re-trying the upload. The result is additional load on the network and on
the central application server as the repeated, unchanged uploads are unnecessarily
resolved.
SendTCPKeepAlive
setting is used by code common to the uploader and to
the tracker (inventory component), so that the behavior is identical for all uploads.
Therefore when SendTCPKeepAlive
is true (the default), the original upload
by the tracker is more likely to succeed, regardless of inventory file size. - Connection failure: If the destination server does not respond to a keep-alive
packet within 10 seconds, the keep-alive request is repeated 10 times at 10 second
intervals. If there is still no response, the uploader closes the connection and logs an
upload failure. (For a separate and overriding case of network failure, see
NetworkTimeout
.) - All files of this type resolved: If the destination server sends the uploader a
success message that the last uploaded file (say, an .ndi inventory
file) has been resolved, the uploader takes either of two paths:
- If it has further files of the same type (in this example, more
.ndi files) awaiting upload, it resets the keep-alive timer and
tries to reuse the same connection to upload the next file of the same type. (At this
point, the
MaxKeepAliveLifetime
orMaxKeepAliveRequests
settings may refuse reuse of the same connection, and a new connection is requested.) - When there are no more files of the same type awaiting upload, the uploader terminates the connection. If there are additional files of different types awaiting upload, it requests a new connection for each file type (such as .disco files, Active Directory imports, log files, and the like).
- If it has further files of the same type (in this example, more
.ndi files) awaiting upload, it resets the keep-alive timer and
tries to reuse the same connection to upload the next file of the same type. (At this
point, the
This preference is ignored on UNIX-like platforms.
Values
Values / range |
Boolean ( |
Default value |
|
Example values |
|
Command line
Tool |
Uploader component (ndupload) |
Example |
|
Registry
Installed by |
Installer, or manual configuration |
Computer preference |
|
IT Asset Management (Cloud)
Current