Article delegate-en/3825 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate as LDAP-to-LDAPS proxy (3)
06 Sep 2007 19:43:25 GMT (Yutaka Sato)
The DeleGate Project

In message <_A3824@delegate-en.ML_> on 09/06/07(21:05:40)
you Kevin Richter <> wrote:
 |there is a big problem with the proxy.
 |After one day of usage, there are approx. 30 delegated processes visible
 |(f.ex. with "ps -efa"). No one dies or exits. Since the LDAP server only
 |permits a few connections simultaneously from one IP, each application
 |using the ldap proxy cannot query the ldap database.
 |After I kill all the processes and restart delegate, everything works
 |fine. At least for the next hours.
 |My config is:
 |Do you have an idea how to avoid this situation?

You are using DeleGate as a simple TCPrelay proxy, so the DeleGate process
will exit on one of the following conditions:

 1) when the client disconnects the TCP connection
 2) when the server disconnects the TCP connection
 3) when there is no transfer on the connection for the sepcified seconds
    (600 seconds by default by TIMEOUT=io:600)

It is strange why your LDAP client and the server does not do such
disconnection after a series of LDAP queries.
You can shorten the timeout by TIMEOUT=io:10 for example.

  9 9   Yutaka Sato <>
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]