안녕하세요.
LDAP을 연동하는 API를 만들어 사용하고 있는데,
좀 부하가 있다싶으면 아래와 같이 LDAP Connection에서 OutOfMemoryError가 발생하면서 어플리케이션서버가 다운됩니다.
<2006-12-11 오후 09시17분41초 KST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=1659040009,name=web,context-path=)] Root cause of ServletException.
java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create anymore threads due to memory or resource constraints at java.lang.Thread.start(Native Method)
at netscape.ldap.LDAPConnThread.connect(LDAPConnThread.java(Compiled Code))
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java(Compiled Code))
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java(Compiled Code))
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java(Compiled Code))
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java(Compiled Code))
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java(Compiled Code))
at netscape.ldap.LDAPConnection.connect(LDAPConnection.java(Compiled Code))
at com.ldap.api.NetscapeLDAPMgr.getConnectionWithVer(NetscapeLDAPMgr.java(Inlined Compiled Code))
at com.ldap.api.CM_LdapApi.searchPrsnList11(CM_LdapApi.java(Compiled Code))
at jsp_servlet._customized._seoulintramail._jsp._ldap.__ld_usersubsearchlist_new._jspService(__ld_usersubsearchlist_new.java(Compiled Code))
at weblogic.servlet.jsp.JspBase.service(JspBase.java(Compiled Code))
문제에 대해 여러가지로 확인을 해보고 있는데,
LDAP Connection처리에 문제가 있는것인지, 아니면 다른 어플리케이션의 영향에 따라
LDAP Connection시 메모리 확보에 실패하는건지 잘 모르겠습니다..
모든 프로그램에서 LDAP Close는 정상으로 수행되고 있구요...
조언 부탁드립니다..^^
|