[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
back-sql disconnects
- To: openldap-technical@openldap.org
- Subject: back-sql disconnects
- From: Frederik Bosch <frederik.bosch@gmail.com>
- Date: Tue, 07 Sep 2010 10:08:42 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=3HGlDkA8L/BK3R8bckWjRcdMnvTxSifG9FH9ZzKfGok=; b=i1kzpnKfUnz419/GUcCkS4o5fboM65tyS5N2LFCrGH0NSN8NpLQgwjVt2mQSU84ywC pprx/6rlYZY4sONsx/yL/Xb25ieymYq6srAigUb1ei1c0FH/Hq3JFZyZeOe//N/2aY7i j5zJTQbV6jMV3V8peyJyNxPoz25G4cmRuB96w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=TK2J9bGF9yjCQWY7jiYLwwFyIIwepBry+b3GP2y/ztWFl49hsNxdah9kUarhIxWgXM op8q43PtCeV3zpfURQw0tXYS4ojb6FOlE0f4uxHsC5e2J3kaiBYJdgpBES26xgJYoms6 u1cDZl9nTKSlqc3pzDFoHXG44iWuwyxKtP064=
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
While I have my slapd-server completely up and running, I do have one
obstacle. The sql connection disconnects after some time of idling
(MySQL server has gone away). Probably because the maximum seconds of
idling has been reached. This means I have to restart slapd to fix the
connection. I could open a cronjob to do that, but that's more a
last-resort-solution.
Is there a config option for reconnection or is there another possible
solution? I could imagine that slapd would try to reconnect in case it
loses sql connection because this could happen for all sort of reaons.
Server information: I am on Debian Squeeze using openldap 2.4.17,
recompiled with back-sql and openssl. The sql server is MySQL 5/InnoDB.
I do not have full control over the sql server. So I cannot add a user
without idling limit.