Wednesday, October 7, 2020

[389-users] Re: OS err 12 - Cannot allocate memory

Hi,

Tuning of DBD #mutex is not possible and BDB uses a default value based
on #hash buckets.
This error is quite rare and I have no explanation why it happened in
your deployment.

Could you share the DB tuning entry (cn=config,cn=ldbm
database,cn=plugins,cn=config).
Also looking at the access/error logs can you identify some operations
that contributed to this error ?

best regards
thierry

On 10/7/20 9:39 AM, Jan Kowalsky wrote:
> Hi all,
>
> suddenly one of our ldap-servers crashed and don't restart.
>
> When restarting dirsrv we find in logs:
>
> libdb: BDB2034 unable to allocate memory for mutex; resize mutex region
> mmap in opening database environment failed trying to allocate 500000
> bytes. (OS err 12 - Cannot allocate memory)
>
> Same error, if we run dbverify.
>
> We are running version 3.5.17 of 389-ds on debian stretch:
>
> 389-ds 1.3.5.17-2
>
> Ram doesn't seem to be the problem. Only 200 MB of 4GB is used.
>
> The server is part of a replicated cluster. Other servers (running same
> software version - more or less on the same virtualisation hardware) are
> not affected.
>
> But we got similar errors also some times in the past. But restarting
> the service was always possible.
>
> Any ideas?
>
> Thanks and kind regards
> Jan
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

No comments:

Post a Comment