Giter Site home page Giter Site logo

Comments (6)

githilman avatar githilman commented on July 16, 2024 1

Hi @joshmoore I found my solution for this specific issue. Database breaks after the server got hit with much invalid credential when passwordPolicies is enabled. I disable passwordPolicies and now no more data breaks. Hope this help someone who encountered same issue.

This issue could be closed, thanks.

from apacheds-docker.

joshmoore avatar joshmoore commented on July 16, 2024

@githilman: can you provide more details on what breaks?

from apacheds-docker.

githilman avatar githilman commented on July 16, 2024

actually the data from /var/lib/apacheds

I have keycloak for SSO and using the LDAP to store data. From keycloak when it break it show this log

07:40:46,281 ERROR [org.keycloak.storage.ldap.idm.store.ldap.LDAPOperationManager] (default task-21290) Could not query server using DN [ou=system] and filter [(&([email protected])(objectclass=inetOrgPerson)(objectclass=organizationalPerson))]: javax.naming.NamingException: [LDAP: error code 80 - OTHER: failed for MessageType : SEARCH_REQUEST Message ID : 328 SearchRequest baseDn : 'ou=system' filter : '(&([email protected]:[∞])(objectClass=inetOrgPerson:[3873])(objectClass=organizationalPerson:[3873]))' scope : single level typesOnly : false Size Limit : no limit Time Limit : no limit Deref Aliases : deref Always attributes : 'entryUUID', 'uid', 'mail', 'initials', 'sn', 'cn', 'objectclass', 'createTimestamp', 'modifyTimestamp' org.apache.directory.api.ldap.model.message.SearchRequestImpl@88327c7e ManageDsaITImpl Control Type OID : '2.16.840.1.113730.3.4.2' Criticality : 'false'

I can't search the user from the keycloak and can't register any. I do backup for all user so when it breaks I can import all user from ldif file. I delete the file from /var/lib/apacheds in the PVC with another image with repair script. The Apacheds will start again. But since the user increase this issue happen a lot. My backup scheme seem overwhelmed.

For the ApacheDS it not showing any error logs. I try to add log visibility with DEBUG but it show nothing.

from apacheds-docker.

githilman avatar githilman commented on July 16, 2024

I see this issue when the memory consumption over the Max Heap size. The memory consumption keep increase by the time. Is there any way to prevent the memory usage increase? I see in my kubernetes workload it increase 100MiB per day and when it hit the max Heap most of entry in LDAP gone. In the last case I have 5000 entries and when this issue happen only 5 entries remaining.

from apacheds-docker.

joshmoore avatar joshmoore commented on July 16, 2024

Hi @githilman. It sounds like you are beyond anything we've tried! We use ApacheDS almost exclusively for testing purposes. It sounds like you will need to either contact the ApacheDS developers directly, or use a different solution.

Sorry I can't be of more help. Good luck!
~Josh

from apacheds-docker.

joshmoore avatar joshmoore commented on July 16, 2024

Thanks for letting us know, @githilman !

from apacheds-docker.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.