Bug ID 1252389: The restjavad restarted per 30 seconds due to OOM

Last Modified: Mar 14, 2023

Bug Tracker

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

Known Affected Versions:
15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 16.1.0, 16.1.1, 16.1.2, 16.1.2.1, 16.1.2.2, 16.1.3, 16.1.3.1, 16.1.3.2, 16.1.3.3, 17.0.0, 17.0.0.1, 17.0.0.2

Opened: Feb 27, 2023
Severity: 3-Major

Symptoms

The restjavad exit immediately due to an unknown error. Uncaught error causing restjavad to exit. Thread id 32, 'com.f5.rest.workers.storage.ThreadPoolStorageRequestProcessor_13': java.lang.OutOfMemoryError: Java heap space

Impact

The restjavad is unstable and restarts frequently for every 10 to 30 seconds.

Conditions

When there are many nodes involved in the device trust or the High Availability (HA) setup and many device-discovery-tasks were created as objects in REST DB storage, that is Lucene DB.

Workaround

Run clear-rest-storage tool on the BIG-IP and make sure restjavad is restarted after running the tool.

Fix Information

None

Behavior Change