Commit b1650021 authored by Christian Luginbühl's avatar Christian Luginbühl
Browse files

Added sane open file descriptors limit based on request by Hong Xu (xuhdev)

parent 8df69d57
#!/bin/bash
set -e
# When not limiting the open file descritors limit, the memory consumption of
# slapd is absurdly high. See https://github.com/docker/docker/issues/8231
ulimit -n 8192
chown -R openldap:openldap /var/lib/ldap/
if [[ ! -d /etc/ldap/slapd.d ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment