Bug ID 1252389: The restjavad restarted per 30 seconds due to OOM with many device discovery tasks

Last Modified: Apr 24, 2024

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
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, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4, 16.1.3.3, 16.1.3.4, 16.1.3.5, 16.1.4, 16.1.4.1, 16.1.4.2, 16.1.4.3, 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

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips