Home
Extended ECM
API, SDK, REST and Web Services
memory leak using Directory Services 2.3.1 when logging in through LAPI?
JohnL
I'm troubleshooting a problem we are having against 9.5 and 9.5.1 Livelink instances which have Directory Services 2.3.1 installed with LDAP authetication enabled (with or without synchronization). We have a LAPI (Java) program that deletes and creates data into the database. I'm noticing that when I run that program against the configs listed above the llserver process grows in memory size and does not release the memory when it's finished. It will continue to do this until ultimately the server becomes unresponsive:- the thread logs indicate there have been errors, and that one of the errors was an attempt to write out a trace file. - the process is still running, but I get a blank html screen- from our program I see errors such as the following:XMLImport failed: [java] [java] ImportErrors = [java] ParserErrors = [java] Status: 108205 [java] Status Msg: Cound not create temp output file [java] Api Msg: [java] Err Msg: [java] java.lang.Exception: XMLImport failed: [java] [java] ImportErrors = [java] ParserErrors = or:[ODBC SQL Server Driver] Memory allocation failureThe following configuration repeatedly work finek:9.2, with DS 2.2.2 installed and configured 9.5, without DS9.5.1 without DS9.5.1 with DS 2.3.1 installed, but without configuration. In an attempt to spot the error indicated in the log file, I tried running builder instead of the llserver.exe and was able to run my program repeatedly without ever hitting the problem. It doesn't seem to matter what I am creating, I've tried varying sizes of data and different object types. Larger sets of data trigger the proble more quickly, but I can run small sets until I hit the memory ceiling (which seems to be between around 270-340M)I've also tried unsuccessfully to recreate the problem outside of lapi, i.e. copying large amounts of data into Livelink using the UI directly.One thing that's interesting is that when we're creating the data, we're not even logging in as an autheticated user, we're logging in as Admin, so I'm surprised that the DS module is even involved in this, but I can uninstall it, not see the memory usage grow, reinstall it and recreate the problem.I've also tried this on different machines, with similar results. Any suggestions? Is there anything in particular we should be doing w/in LAPI as far as logging in and authenticating that may have changes between DS releases? I am using the LAPI 9501 release. For what it's worth our application does not do repeated logins, it logs in once and then creates all the data. As always, thanks in advance for any assistance. Dawn
Find more posts tagged with
Comments
eLink User
Message from Nair, Krishnankutty N. via eLinkWe also noticed the same behaviour when we first installed ll9.5SP1and LAPI .We were also given a special patch.If you have wantlogs=trueand debug=2you will see that the memory spike releases.For almost one month we wererunning in that mode until a patch was given for us.We wouldperiodically delete the huge logs.One of the newer patches is supposed to fix this behaviour and I am sureit does.If you search in the LAPI discusiion three months prior youshould see a similar posting I had.It has to do with a certain wayconnection is allocated.You should also see a bunch of requests tooracle with every lapi call. Thanks Much Krishnankutty N Nair EDMS Powered by Livelink
http://edms.conoco.net
Tele 918-661-5824, fax 918-661-9206-----Original Message-----From: eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: Thursday, November 17, 2005 1:42 PMTo: eLink RecipientSubject: memory leak using Directory Services 2.3.1 when logging inthrough LAPI?memory leak using Directory Services 2.3.1 when logging in through LAPI?Posted by Software, Vizdom on 11/17/2005 02:39 PMI'm troubleshooting a problem we are having against 9.5 and 9.5.1Livelink instances which have Directory Services 2.3.1 installed withLDAP authetication enabled (with or without synchronization). We have aLAPI (Java) program that deletes and creates data into the database.I'm noticing that when I run that program against the configs listedabove the llserver process grows in memory size and does not release thememory when it's finished. It will continue to do this until ultimatelythe server becomes unresponsive:- the thread logs indicate there have been errors, and that one of theerrors was an attempt to write out a trace file. - the process is still running, but I get a blank html screen- from our program I see errors such as the following:XMLImport failed: [java] [java] ImportErrors = [java] ParserErrors = [java] Status: 108205 [java] Status Msg: Cound not create temp output file [java] Api Msg: [java] Err Msg: [java] java.lang.Exception: XMLImport failed: [java] [java] ImportErrors = [java] ParserErrors = or:[ODBC SQL Server Driver] Memory allocation failureThe following configuration repeatedly work finek:9.2, with DS 2.2.2 installed and configured 9.5, without DS9.5.1 without DS9.5.1 with DS 2.3.1 installed, but without configuration. In an attempt to spot the error indicated in the log file, I triedrunning builder instead of the llserver.exe and was able to run myprogram repeatedly without ever hitting the problem. It doesn't seem to matter what I am creating, I've tried varying sizesof data and different object types. Larger sets of data trigger theproble more quickly, but I can run small sets until I hit the memoryceiling (which seems to be between around 270-340M)I've also tried unsuccessfully to recreate the problem outside of lapi,i.e. copying large amounts of data into Livelink using the UI directly.One thing that's interesting is that when we're creating the data, we'renot even logging in as an autheticated user, we're logging in as Admin,so I'm surprised that the DS module is even involved in this, but I canuninstall it, not see the memory usage grow, reinstall it and recreatethe problem.I've also tried this on different machines, with similar results. Any suggestions? Is there anything in particular we should be doingw/in LAPI as far as logging in and authenticating that may have changesbetween DS releases? I am using the LAPI 9501 release. For what it'sworth our application does not do repeated logins, it logs in once andthen creates all the data. As always, thanks in advance for any assistance. Dawn[To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: LAPI Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/765428Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.lapi@elinkkc.opentext.com.
JohnL
Thanks for the info and quick response, Krishnankutty - the special patch you referred to, was it subsequently released? I have the 8/05 patch installed, I read through the newer release notes yesterday, but didn't see anything. Guess I'll go back and look again. Dawn
eLink User
Message from Nair, Krishnankutty N. via eLinkI think it is incorporated in 9/05 or 10/05 . Thanks Much Krishnankutty N Nair EDMS Powered by Livelink
http://edms.conoco.net
Tele 918-661-5824, fax 918-661-9206-----Original Message-----From: eLink Discussion: LAPI Discussion[mailto:lapi@elinkkc.opentext.com] Sent: Thursday, November 17, 2005 2:03 PMTo: eLink RecipientSubject: Thanks for the info and quick response, Krishnankutty -Thanks for the info and quick response, Krishnankutty -Posted by Software, Vizdom on 11/17/2005 03:01 PMThanks for the info and quick response, Krishnankutty - the special patch you referred to, was it subsequently released? I havethe 8/05 patch installed, I read through the newer release notesyesterday, but didn't see anything. Guess I'll go back and look again. Dawn[To reply to this thread, use your normal E-mail reply function.]============================================================Topic: memory leak using Directory Services 2.3.1 when logging inthrough LAPI?
https://knowledge.opentext.com/knowledge/livelink.exe/open/4336113Discussion
: LAPI Discussion
https://knowledge.opentext.com/knowledge/livelink.exe/open/765428Livelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exeTo
Unsubscribe from this Discussion, send an e-mail tounsubscribe.lapi@elinkkc.opentext.com.
JohnL
It seems to be the 9/05 patch, I incrementally applied them and that one took care of it. Thanks!Dawn