Here is a sample of the error code from the logs:
Code: Select all2011-08-17 15:56:13,764 ERROR [STDERR] javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'cn=users,dc=ebd_domain,dc=spi'
2011-08-17 15:56:13,764 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3084)
2011-08-17 15:56:13,764 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2978)
2011-08-17 15:56:13,764 ERROR [STDERR] at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2785)
2011-08-17 15:56:13,764 ERROR [STDERR] at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:147)
2011-08-17 15:56:13,764 ERROR [STDERR] at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:216)
2011-08-17 15:56:13,764 ERROR [STDERR] at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:189)
2011-08-17 15:56:13,764 ERROR [STDERR] at com.openkm.principal.LdapPrincipalAdapter.ldapSearch(LdapPrincipalAdapter.java:202)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.openkm.principal.LdapPrincipalAdapter.getUsers(LdapPrincipalAdapter.java:57)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.openkm.module.direct.DirectAuthModule.getUsers(DirectAuthModule.java:765)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.openkm.api.OKMAuth.getUsers(OKMAuth.java:134)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.openkm.servlet.frontend.AuthServlet.getAllUsers(AuthServlet.java:524)
2011-08-17 15:56:13,765 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-08-17 15:56:13,765 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2011-08-17 15:56:13,765 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2011-08-17 15:56:13,765 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:616)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
2011-08-17 15:56:13,765 ERROR [STDERR] at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
2011-08-17 15:56:13,765 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2011-08-17 15:56:13,765 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2011-08-17 15:56:13,765 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
2011-08-17 15:56:13,766 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2011-08-17 15:56:13,766 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2011-08-17 15:56:13,766 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
2011-08-17 15:56:13,766 ERROR [STDERR] at java.lang.Thread.run(Thread.java:636)
For now we deleted some of the users and that fixed the problem, but I know we are even now very close to the limit. Supposedly you can narrow the search parameters to limit the objects searched. I need to explore that possibility more.