Bug ID 893061: Out of memory for restjavad

Last Modified: May 29, 2024

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

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 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, 16.0.0, 16.0.0.1, 16.0.1

Fixed In:
16.1.0, 16.0.1.1, 15.1.2, 14.1.3.1

Opened: Mar 26, 2020

Severity: 3-Major

Symptoms

REST framework not available due to Out of memory error

Impact

Live Update GUI is not responding.

Conditions

Long list of Live Update installations

Workaround

1) Increase memory assigned to the Linux host: (value dependant on platform) # tmsh modify sys db provision.extramb value 1000 2) Allow restjavad to access the extra memory: # tmsh modify sys db restjavad.useextramb value true 3) Save the config: # tmsh save sys config 4) The re-provisioning will trigger a restart of the services. Wait until the unit is online again. 5) Increase the restjavad maxMessageBodySize property: # curl -s -f -u admin: -H "Content-Type: application/json" -d '{"maxMessageBodySize":134217728}' -X POST http://localhost:8100/mgmt/shared/server/messaging/settings/8100 | jq . { "maxMessageBodySize": 134217728, "localhostRestnodedConnectionLimit": 8, "defaultEventHandlerTimeoutInSeconds": 60, "minEventHandlerTimeoutInSeconds": 15, "maxEventHandlerTimeoutInSeconds": 60, "maxActiveLoginTokensPerUser": 100, "generation": 6, "lastUpdateMicros": 1558012004824502, "kind": "shared:server:messaging:settings:8100:restservermessagingpoststate", "selfLink": "https://localhost/mgmt/shared/server/messaging/settings/8100" } Ensure the command returns output showing the limit has been increased (as shown above). 6) Reboot the unit.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips