Friday, October 14, 2022

[389-users] 389ds memory limits in kubernetes


I have a StafulSet in Kubernetes based on

I set a memory limit to 6Gi

              memory: "6Gi"

Doing some performance test with 4k entries (query every entry in a loop), the used memory is increased on every test until kubernetes kills the pod (twentieth test aproximately).

Reason:Reason: OOMKilled - exit code: 0

Logs only shows

NOTICE - ldbm_back_search - Unindexed search: search base="ou=myou,dc=XXX,dc=XXX" scope=2 filter="(objectClass=nsperson)" conn=18 op=46

when I get all entries in my ou

ldapsearch -D "cn=directory manager" -W -b "ou=myou,dc=XXX,dc=XXX" -H ldap://localhost:3389 -s sub "(objectclass=nsPerson)" uid

Maybe a tunning problem or a mem leak?


No comments:

Post a Comment