Hello,
Is there some way to configure maximum number of active connections to OpenLDAP server?
Thnaks, Alina.
Alina Dubrovska wrote:
Hello, Is there some way to configure maximum number of active connections to OpenLDAP server? Thnaks, Alina.
I suppose you could always use ulimit to limit the number of open files for the process.
On Fri, 7 Dec 2007, Howard Chu wrote:
Is there some way to configure maximum number of active connections to OpenLDAP server?
I suppose you could always use ulimit to limit the number of open files for the process.
I would strongly recommend against doing that for anything but a completely static, read-only server if using the bdb or hdb backends: if the BDB library tries to open a transaction log file but it fails for practically any reason, it will 'panic' the database, forcing a restart and recovery.
Philip Guenther
Howard Chu hyc@symas.com wrote:
Is there some way to configure maximum number of active connections to OpenLDAP server?
I suppose you could always use ulimit to limit the number of open files for the process.
Will slapd handle the resource shortage gracefully? I had bad experience with too low file descriptor ulimit in the past.
Emmanuel Dreyfus wrote:
Howard Chu hyc@symas.com wrote:
Is there some way to configure maximum number of active connections to OpenLDAP server?
I suppose you could always use ulimit to limit the number of open files for the process.
Will slapd handle the resource shortage gracefully? I had bad experience with too low file descriptor ulimit in the past.
I guess Philip's reply answered that. The slapd connection manager will do fine, but other subsystems that open and close files probably won't, so this isn't really a practical approach.
openldap-software@openldap.org