You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "aurimas norkevicius (JIRA)" <ji...@apache.org> on 2010/09/08 17:13:32 UTC

[jira] Created: (DIRSTUDIO-695) connection keep alive feature

connection keep alive feature
-----------------------------

                 Key: DIRSTUDIO-695
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-695
             Project: Directory Studio
          Issue Type: Improvement
            Reporter: aurimas norkevicius


I am using apache directory studio 1.5.2
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.

Maybe it is possible to add some feature to connection properties like "keepAlive" or something so that it is alway very quick to respond.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-695) connection keep alive feature

Posted by "aurimas norkevicius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907242#action_12907242 ] 

aurimas norkevicius commented on DIRSTUDIO-695:
-----------------------------------------------

real life example ...

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.it could be a field for ldif statement and a field for time in seconds to fire that ldif periodically to keep connection alive.

> connection keep alive feature
> -----------------------------
>
>                 Key: DIRSTUDIO-695
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-695
>             Project: Directory Studio
>          Issue Type: Improvement
>            Reporter: aurimas norkevicius
>
> I am using apache directory studio 1.5.2
> 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.
> Maybe it is possible to add some feature to connection properties like "keepAlive" or something so that it is alway very quick to respond.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-695) connection keep alive feature

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907445#action_12907445 ] 

Stefan Seelmann commented on DIRSTUDIO-695:
-------------------------------------------

I think this is related to DIRSTUDIO-658.

If the server closes the connection the exception is caught in the connection module and we try to re-establish the connection. However in such a case a manual System.gc() is performed which causes the freeze.
 
One question on your feature request: you write "field for ldif statement", is this really helpful? I mean in an LDIF you can only send add/modify/delete operations, but I think a search is the more appropriate operation to ping the server.


> connection keep alive feature
> -----------------------------
>
>                 Key: DIRSTUDIO-695
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-695
>             Project: Directory Studio
>          Issue Type: Improvement
>            Reporter: aurimas norkevicius
>
> I am using apache directory studio 1.5.2
> 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.
> Maybe it is possible to add some feature to connection properties like "keepAlive" or something so that it is alway very quick to respond.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.