If you have applications that leave connections open for long
periods, OpenDJ can end up devoting resources to maintaining connections
that are no longer used. If your network does not drop such connections
eventually, you can configure OpenDJ to drop them by setting the
global configuration property, idle-time-limit. By
default, no idle time limit is set.
![]() |
Note |
|---|---|
|
OpenDJ does not enforce idle timeout for persistent searches. |
$ dsconfig set-global-configuration-prop --port 4444 --hostname opendj.example.com --bindDN "cn=Directory Manager" --bindPassword password --set idle-time-limit:24h --trustAll --no-prompt
The example shown sets the idle time limit to 24 hours.

![[Note]](common/images/admon/note.png)
