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

Last Modified: Jun 22, 2019

Bug Tracker

Affected Product:  See more info
BIG-IQ Platform(all modules)

Known Affected Versions:
6.0.0, 6.0.1, 6.1.0

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