Bug ID 767621: restjavad can keep partially downloaded files open indefinitely

Last Modified: Feb 14, 2024

Affected Product(s):
BIG-IQ Platform(all modules)

Known Affected Versions:
6.0.1, 6.0.1.1, 6.0.1.2, 6.1.0, 7.0.0, 7.0.0.1, 7.0.0.2, 7.1.0, 7.1.0.1, 7.1.0.2, 7.1.0.3, 7.1.6, 7.1.6.1, 7.1.7, 7.1.7.1, 7.1.7.2, 7.1.8, 7.1.8.1, 7.1.8.2, 7.1.8.3, 7.1.8.4, 7.1.8.5, 7.1.9, 7.1.9.7, 7.1.9.8, 7.1.9.9

Opened: Apr 02, 2019

Severity: 4-Minor

Symptoms

Files that restjavad makes available for download (such as UCS files in /var/local/ucs) can be held open indefinitely if a requesting client does not complete the download. Since these files remain opened, the total number of available file handles for the process decreases and the disk space for the files cannot be recovered. Symptoms may include errors like 'Too many open files', low disk space even after deleting the associated files, and items listed with '(deleted)' in lsof output.

Impact

Various errors ('Too many open files.'), low disk space, items listed with '(deleted)' when listed using lsof.

Conditions

-- Files restjavad makes available for download. -- The requesting client does not complete the download.

Workaround

To free the file handles, restart restjavad: bigstart restart restjavad Files that were deleted now have their space reclaimed.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips