Bug ID 767613: Restjavad can keep partially downloaded files open indefinitely

Last Modified: Jan 15, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP TMOS(all modules)

Known Affected Versions:
12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2, 12.1.2, 12.1.2 HF1, 12.1.2 HF2, 12.1.3,,,,,,,, 12.1.4,, 12.1.5,,, 13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1, 13.1.0,,,,,,,,, 13.1.1,,,,, 13.1.3,,,,, 14.0.0,,,,,, 14.0.1,, 14.1.0,,,,,, 14.1.2,,,,,,,,, 14.1.3, 15.0.0, 15.0.1,,,,

Fixed In:

Opened: Apr 02, 2019
Severity: 3-Major


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 open, 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.


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


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


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

Fix Information

The restjavad process now internally clears the file handles of such partially downloaded files if they remain untouched for two hours.

Behavior Change