IBM Support

QRadar: Error "User limit of inotify instances reached" when using the changePasswd.sh script caused by max_user_instances limit

Troubleshooting


Problem

This article explains how to identify, understand and troubleshoot the error message:
java.io.IOException: User limit of inotify instances reached or too many open files.

Symptom

When an administrator tries to change the password with the changePasswd.sh script, they see the following error:
[root@primary ~]# /opt/qradar/support/changePasswd.sh -a -V
Please enter the new admin password.
Password:
Confirm password:
Altering admin user password ...
-----------------------------------------
Altering admin user password using PasswordCommandLineClient.
Exception thrown while initializing Frameworks.
com.q1labs.frameworks.exceptions.FrameworksException: Exception thrown while initializing Frameworks.
        at com.q1labs.frameworks.core.FrameworksContext.initFrameworks(FrameworksContext.java:272)
  com.ibm.si.security_model.authentication.internal.PasswordCommandLineClient.main(PasswordCommandLineClient.java:230)
Caused by: com.q1labs.frameworks.exceptions.FrameworksInitException: Unable to register custom X.509 certificate manager
        at com.q1labs.frameworks.core.FrameworksContext.postInitialization(FrameworksContext.java:827)
Caused by: com.q1labs.frameworks.crypto.trustmanager.exceptions.Q1TrustStoreException: Error starting watch service at /opt/qradar/conf//trusted_certificates

<...>

Caused by: java.io.IOException: User limit of inotify instances reached or too many open files

<...>

ERROR: Unable to set password

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSV4BL","label":"IBM QRadar"},"ARM Category":[{"code":"a8m0z000000cwsyAAA","label":"Admin Tasks"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SSTZMA","label":"QRadar Appliance Hardware"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
19 June 2024

UID

ibm17156944