Bug ID 1049237: Restjavad may fail to cleanup ucs file handles even with ID767613 fix

Last Modified: Jan 20, 2023

Bug Tracker

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

Known Affected Versions:
14.1.0,,,,,, 14.1.2,,,,,,,,, 14.1.3,, 14.1.4,,,,,,, 14.1.5,,,, 15.1.0,,,,,, 15.1.1, 15.1.2,, 15.1.3,, 15.1.4,, 15.1.5,, 15.1.6,, 15.1.7, 15.1.8,, 16.1.0, 16.1.1, 16.1.2,,, 16.1.3,,,

Opened: Sep 24, 2021
Severity: 4-Minor


Files that restjavad makes available for download (such as UCS files in /var/local/ucs) can be held open indefinitely if a requesting client (such as a BIG-IQ which is out of disk space) does not complete the download. Since these files remain open, you may see low disk space even after deleting the associated files, and you may see items listed with '(deleted)' in lsof output. Additionally, on a software version with ID767613 fix, you may see restjavad NullPointerException errors on /var/log/restjavad.*.log. [SEVERE][1837][23 Sep 2021 10:18:16 UTC][RestServer] java.lang.NullPointerException at com.f5.rest.workers.FileTransferWorker$3.run(FileTransferWorker.java:230) at com.f5.rest.common.ScheduleTaskManager$1$1.run(ScheduleTaskManager.java:68) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622) at java.lang.Thread.run(Thread.java:748)


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


Behavior Change