FMS becomes unresponsive and/or agents on Foglight Agent Manager (FglAM) stop collecting data. Logs below error:
"java.lang.OutOfMemoryError: unable to create new native thread"
The issue is seen mainly on Linux platform
This happens whenever the JVM asks for a new thread from the OS. If the underlying OS cannot allocate a new native thread, this OutOfMemoryError will be thrown.
This is not a memory issue, but rather an issue where a new native thread can't be created by the OS.
Linux limits the amount of threads that a user can run simultaneously, this can be verified using this command:
ulimit -u
1024 <=== sample output
Thread Usage:
------------------------------
Peek thread count: 948
Current thread count: 208
Daemon thread count: 47
Total threads started: 392182[...]
Resolution depends on the environment. Below information obtained from this article from Red Hat.
(username) - nproc (limit number)
e.g.
testuser - nproc 10240
# Default limit for number of user's processes to prevent
# accidental fork bombs.
# See rhbz #432903 for reasoning.
* soft nproc 1024
testuser soft nproc 10240 <== add
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center