Previous Topic: Receive LDAP Timeout Messages in the InterfaceNext Topic: Receive an LDAP Startup Update Access Denied Error


Receive SIZELIMIT Exceed Message in the UI search

Symptom:

I see "Size Limit exceeded" messages in my web interface during searches.

Solution:

  1. Open the LDAP slapd.conf file.
  2. Check the size limit. The default value in the slapd.conf file is 500.
    Sizelimit 500
    

    If your database has results over 500, this could lead to a size limit exceeded message in the UI or in the LDAP log.

  3. Change the limit to a higher value, or set it to -1. If you specify -1, the database returns all results that are available.

Symptom:

I specified a size limit option of -1 in the LDAP slapd.conf file, and I still see "Size Limit exceeded" messages in my web interface during searches.

Reason:

This message means that the number of returned results is higher than the default size limit of the interface, which is limited to displaying up to 1000 returned results.

Solution:

To change the size limit

  1. Go to the CHORUS_HOME/config directory.
  2. Find the file cmgr_config.xml.
  3. Edit the configuration file. The file is in ASCII format on the mainframe and you edit it in one of two ways:
  4. Convert the file using one of the following commands:
    iconv -f iso8859-1 -t ibm-1047 cmgr_config.xml > cmgr_config.xml.e
    iconv -f iso8859-1 -t ibm-1047 acf2_config.xml > acf2_config.xml.e
    iconv -f iso8859-1 -t ibm-1047 tss_config.xml  > tss_config.xml.e
    
  5. Increase the size limit to a value equivalent to or higher than the number of entries in your database.
    <searchRows>2500</searchRows>
    
  6. Save the file, and then convert it back using one of the following commands:
    iconv -f ibm-1047 -t iso8859-1 cmgr_config.xml.e > cmgr_config.xml
    iconv -f ibm-1047 -t iso8859-1 acf2_config.xml.e > acf2_config.xml
    iconv -f ibm-1047 -t iso8859-1 tss_config.xml.e  > tss_config.xml
    

    Important! Restart JBOSS to pick up the changes.