From dev-return-34994-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Wed Sep 08 13:59:59 2010 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 96339 invoked from network); 8 Sep 2010 13:59:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 13:59:59 -0000 Received: (qmail 10539 invoked by uid 500); 8 Sep 2010 13:59:59 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 10317 invoked by uid 500); 8 Sep 2010 13:59:55 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 10306 invoked by uid 99); 8 Sep 2010 13:59:55 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 13:59:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aurimas.norkevicius@gmail.com designates 209.85.160.178 as permitted sender) Received: from [209.85.160.178] (HELO mail-gy0-f178.google.com) (209.85.160.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 13:59:33 +0000 Received: by gyd12 with SMTP id 12so28053gyd.37 for ; Wed, 08 Sep 2010 06:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=/jb6cGncelO+ZrJEZhvsY2LgI1Qw0KW/coOzErw/Qs8=; b=WnB2/JKLafMsL1OrfPA22Lg6ect9TKm7XA/8J77c8i8I6t80RXkVu6e/tELJOwwiSJ xrS30KPszy7YlwA0ZjtZBx+NUfYgk5mjb2UlT2sniuk+gslV6zweeDHvlCRyY1wFNpQl Hj3rAS508UjaFeE06Msr+0swiZ6YrkOVWuf0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=cN0YtpeL8+o6lUJ4P5Sgv9R480rhXvodkcL1/tr1/JJAXf/mDCZ+8p+oZ/wF7owUgp 76hVSf2pPnQq1jiWsBpPfud+g0dDsbsplik81I6g9ANSDbiB+WBL+CcciyP2oc9hpvOE lglNB44zBwrM84tbt42mwL/Z9ZY88xu913fEA= Received: by 10.150.92.9 with SMTP id p9mr222577ybb.198.1283954309316; Wed, 08 Sep 2010 06:58:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.141.146 with HTTP; Wed, 8 Sep 2010 06:58:09 -0700 (PDT) In-Reply-To: <0F0466B2-6C7B-4B43-9012-25C68AE010B9@marcelot.net> References: <4C878B41.5050208@gmail.com> <0F0466B2-6C7B-4B43-9012-25C68AE010B9@marcelot.net> From: Aurimas Norkevicius Date: Wed, 8 Sep 2010 15:58:09 +0200 Message-ID: Subject: Re: connection timeouts To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=000e0cd47b2883c122048fbfe8d5 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd47b2883c122048fbfe8d5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Connection stays open for half an hour. After I am back and i want to browse the tree it freezes for some time ~30 seconds. I would like to avoid this freeze. I would like to have a setting on connections "edit properties" screen.itcould be a field for ldif statement and a field for time in seconds to fire that ldif periodically to keep connection alive. Regards, Aurimas 2010/9/8 Pierre-Arnaud Marcelot > Hi Aurimas, > > Could you be a little more precise? > > How long the connection stays opened, "a long time" is pretty vague. > 10 minutes, 10 hours, 10 days? > > Same thing for the "revive time". > Are talking about milliseconds, seconds, minutes? > > Thanks, > Pierre-Arnaud > > > On 8 sept. 2010, at 15:24, Aurimas Norkevicius wrote: > > i think that some ping like simple search or some periodical ldif specifi= ed > by user could be a good thing it could be not mandatory and left for user= s > own risk, but it could help me and others a lot. > > 2010/9/8 Emmanuel Lecharny > >> >> I am using apache directory studio 1.5.2 >>> >> You should switch to 1.5.3 :) >> >> There is a very annoing issue with connections. If I leave connection >>> open >>> for a long time open it gots frozen and it takes a long time to revive >>> it. >>> >> Plain normal. >> >> Maybe it is possible to add some feature to connection properties like >>> "keepAlive" or something so that it is alway very quick to respond. >>> >> sadly, there is nothing such as a 'keep-alive' request in LDAP. We could >> send a search for the rootDSE periodically, but frankly, considering tha= t >> LDAP is a connected protocol, that means we will potentially have thousa= nds >> of requests sent to the server just to deal with this problem. Not sure = it >> worth the effort... (IMHO, of course) >> >> >> -- >> Regards, >> Cordialement, >> Emmanuel L=C3=A9charny >> www.iktek.com >> >> > > --000e0cd47b2883c122048fbfe8d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

Connection stays open for half an hour.

After I am back a= nd i want to browse the tree it freezes for some time ~30 seconds.

I= would like to avoid this freeze.

I would like to have a setting on = connections "edit properties" screen= .it could be a field for ldif statement and a field for time in seconds= to fire that ldif periodically to keep connection alive.

Regards,

Aurimas

2010/9/8 Pier= re-Arnaud Marcelot <pa@marcelot.net>
Hi Aurimas,

Could = you be a little more precise?

How long the connect= ion stays opened, "a long time" is pretty vague.
10 min= utes, 10 hours, 10 days?

Same thing for the "revive time".
A= re talking about milliseconds, seconds, minutes?

T= hanks,
Pierre-Arnaud


On 8 sept. 2010, at 15:24, Aurimas Norkevicius= wrote:

i think that some ping like simp= le search or some periodical ldif specified by user could be a good thing i= t could be not mandatory and left for users own risk, but it could help me = and others a lot.

2010/9/8 Emmanuel Lecharny <elecharny@gmail.com>

I am using apache directory studio 1.5.2
You should switch to 1.5.3 :)

There is a very annoing issue with connections. If I leave connection open<= br> for a long time open it gots frozen and it takes a long time to revive it.<= br>
Plain normal.

Maybe it is possible to add some feature to connection properties like
"keepAlive" or something so that it is alway very quick to respon= d.
sadly, there is nothing such as a 'keep-alive' request in LDAP. We = could send a search for the rootDSE periodically, but frankly, considering = that LDAP is a connected protocol, that means we will potentially have thou= sands of requests sent to the server just to deal with this problem. Not su= re it worth the effort... (IMHO, of course)


--
Regards,
Cordialement,
Emmanuel L=C3=A9charny
www.iktek.com




--000e0cd47b2883c122048fbfe8d5--