|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: mysql and ldap timeouts
From: Leandro Santi (lesanti
uolsinectis.com.ar)
Date: Thu Oct 02 2003 - 08:53:20 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Oct 02, 2003, Chris Masters wrote:
> Hi all,
>
> I'm connecting to someone else's ldap server and I do
> not have the privileges to set the timeout or debug
> levels. Does postfix wait until the default ldap
> timeout occurs and does it have its own safety
> timeout?
>
> How do I set a mysql timeout? It looks like a default
> of 4 minutes in my logs.
You can't - The standard MySQL C API does not seem to support timeouts;
however, you can try
http://webs.sinectis.com.ar/lesanti/postfix/postfix-2.0.11-dict_mysql.patch
to enable this (i.e. query/connection timeouts). The other feature (load
balancing) needs more work (but works for sure as documented :), so It'll
change on my next iteration, if I don't find anything better.
Leandro.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]