directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSTUDIO-95) Not returning large queries
Date Tue, 08 May 2007 05:12:15 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494188
] 

Stefan Seelmann commented on DIRSTUDIO-95:
------------------------------------------

Chris is absolutely right. I will add a label to the limit field to indicate that the values
are im milliseconds.

@Matt:
Sorry, but I wouldn't recommend to search that large amount of entries. All the entries and
attributes are held in memory and LS will run out of memory. I am sure we could improve the
memory usage, any suggestions are welcome. Imagine you get 100000 entries each with 1000 Byte
of data results in 100MB data and Java Strings are double-bytes. By default LS starts with
128MB heap memory, you could increase it by appending the startup parameter "-vmargs Xmx512M".
Of course it is possible to export/import such large amount of entries to/from LDIF.

@Emmanuel: 
There are 3 stages of limits:
1.) The default limits (countLimit 1000, timeLImit 0) currently hardcoded.
2.) The connection specific limits. When creating a new connection the default limits are
used to preset the limit parameters, of course the limits for a specific connection could
be changed on the Options tab. The connection specific limits are used when browsing the DIT,
Pierre had the idea to enable some kind of paged search.
3.) The search specific limits. When creating a new search the connection specific limits
are used to preset these limit parameters. 
So to get more then 1000 entries when browsing the DIT you could increase the connection limits.

> Not returning large queries
> ---------------------------
>
>                 Key: DIRSTUDIO-95
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-95
>             Project: Directory LDAP Studio
>          Issue Type: Bug
>          Components: ldapstudio-browser
>    Affects Versions: 0.8.0
>         Environment: Client where software installed: Windows XP sp2
> LDAP host: Sun Directory 5.1 sp2
>            Reporter: Matt Green
>         Attachments: mgreen, My LS configuration.jpg, screenshot-1.jpg
>
>
> When performing a query against the LDAP server (consumer) the number of returned entries
returned from a search looks to be page limiting the results to approximately 500 entries.
The requirement is for a filter to return over 100K entries ...that is not working. The directory
instance is set to allow the return of 300K entries and a search time out of 3600 seconds.

> The initial search results may return < 500 users in a search time of <10 seconds.
> Have a look and let me know what you find. >> Matt

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


Mime
View raw message