Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7 days Long running test failed on 4.3.0 server. (OutOfMemoryError: Java heap space ) #751

Open
MohitMaliFtechiz opened this issue Aug 12, 2021 · 5 comments
Assignees
Labels
bug issue in existing feature or functionality exclude from release notes Issue found during QA or otherwise non-important issue to report in release notes
Milestone

Comments

@MohitMaliFtechiz
Copy link
Collaborator

##Describe.
7 days Long running test failed on 4.3.0 server.

Server breaks after running 2 to 3 days. Able to replicate it on 8 gb with load and 4gb without load system.

logs

11/Aug/2021:11:51:57 +0000] category=org.opends.messages.external severity=WARNING msgID=1 msg=GRIZZLY0013: Exception during FilterChain execution exception=OutOfMemoryError: Java heap space ()
[11/Aug/2021:18:02:13 +0000] category=CORE severity=ERROR msgID=108 msg=Worker Thread 11 encountered an uncaught exception while processing operation null: OutOfMemoryError: Java heap space ()
[11/Aug/2021:18:02:13 +0000] category=CORE severity=ERROR msgID=140 msg=An uncaught exception during processing for thread Asynchronous Text Writer for cn=File-Based Audit Logger,cn=Loggers,cn=config has caused it to terminate abnormally. The stack trace for that exception is: OutOfMemoryError: Java heap space ()
[11/Aug/2021:18:02:13 +0000] category=CORE severity=NOTICE msgID=139 msg=The Directory Server has sent an alert notification generated by class org.opends.server.api.DirectoryThread (alert type org.opends.server.UncaughtException, alert ID org.opends.messages.core-140): An uncaught exception during processing for thread Asynchronous Text Writer for cn=File-Based Audit Logger,cn=Loggers,cn=config has caused it to terminate abnormally. The stack trace for that exception is: OutOfMemoryError: Java heap space ()
[11/Aug/2021:18:02:13 +0000] category=org.opends.messages.external severity=WARNING msgID=1 msg=GRIZZLY0013: Exception during FilterChain execution exception=OutOfMemoryError: Java heap space ()

Config

Gluu-version 4.3.0
OS:- Ubuntu 20.04

@MohitMaliFtechiz MohitMaliFtechiz added bug issue in existing feature or functionality exclude from release notes Issue found during QA or otherwise non-important issue to report in release notes labels Aug 12, 2021
@MohitMaliFtechiz MohitMaliFtechiz added this to the 4.3.0 milestone Aug 12, 2021
@devrimyatar
Copy link
Collaborator

@nynymike @yuriyz @yurem I need guide on how to this problem.

@MohitMaliFtechiz
Copy link
Collaborator Author

MohitMaliFtechiz commented Aug 16, 2021

hi @mbaser ,

I have placed 4 gb system with 8k user enteries with 4k user login, the system crashes within 2 hours.

@MohitMaliFtechiz
Copy link
Collaborator Author

hi @nynymike ,

I turn the audit logs but after turning it off i am not seeing anylogs on opendj logs.

this is how i turn it off.

go to /opt/opendj/bin
run dsconfig 
Specify OpenDJ LDAP connection parameters
select log publisher
select view and edit an existing  log publishers
select File-Based Audit Logger
select enabled to false

@yuriyz
Copy link
Contributor

yuriyz commented Aug 17, 2021

@MohitMaliFtechiz does it crash with disabled audit logger ? From message in ticket description it looks like some big data chunk goes to logger which it was not able to process.

@yuriyz
Copy link
Contributor

yuriyz commented Aug 18, 2021

@MohitMaliFtechiz To circle it back, lets do following :

  1. enable logging back
  2. add option to create dump file on OOM (e.g. -Xms1024m -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/user/dump")
  3. Send dump file to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue in existing feature or functionality exclude from release notes Issue found during QA or otherwise non-important issue to report in release notes
Projects
None yet
Development

No branches or pull requests

4 participants