Hello, is there anything extra I can do to troubleshoot NSD files? Small section of NSD:ptrgl._ptrgl() at 0xd01d7b50
raise.nsleep(??, ??) at 0xd01e65d0
raise.nsleep(??, ??) at 0xd01e65d0
sleep(??) at 0xd02516f0
OSRunExternalScript(??) at 0xd1eab998
OSFaultCleanup(??, ??, ??) at 0xd1eac974
fatal_error(??, ??, ??) at 0xd2dc26b4
nnformat.en2a__12EnglishASCIIFPCcPcUl() at 0x10003efc
ItemDumpToFileLMBCS__10CNotesNoteFPCcPcPUliT4() at 0x1000b9ac
Just knowing that the fatal error occurred with this server task does not mean a whole lot when it comes to trying debug the actual server task.
Are there any extra notes.ini debug options I can use which will tell me more?
We had a case while back where the NSD was similar in the fact that it only showed which server task had the fatal error. That problem was a memory leak. Lotus support directed the customer to put some more notes.ini options in that were more specific to the process. This came back and gave us exact details as to where in are code the problem was. Where can I get info like this? Where is the best help for NSD files?
Subject: need help trouble shooting NSD files
There a couple of links that may help:http://www-1.ibm.com/support/docview.wss?rs=0&q1=NSD&uid=swg27003599&loc=en_US&cs=utf-8&cc=us&lang=en
and
http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg27003396
Hopefully, that will get you started. The “best help” comes directly from Lotus/IBM, provided you are a Passport Advantage customer.
HTH.
Gregg
Subject: RE: need help trouble shooting NSD files
Thanks for the info but what I probably need is Lotus tech support because it is my understanding that they have a couple tools that are not available publicly.
My company is partners with IBM but personally I have no contacts over there. I wish I had the abilities to go further with this without having to wasting someone elses time.
Subject: RE: need help trouble shooting NSD files
Those two docs can provide some insight, but you need IBM to give the definitive answer.
Good luck.
Gregg
Subject: need help trouble shooting NSD files
Hi,
should be able to find out your self what caused the server to crash. The stack you have pasted does not look complete - are there more calls under the last line, ItemDumpToFileLMBCS?
The lines from the top til the fatal can be ignored as they will always be there, the are calls to the OS. What comes after is the best part…
The call, ItemDumpToFileLMBCS, what tasks can do such a call - an agent? What task did crash (you will be able to see the in the top of the fatal call stack, eg. amgr, server, router etc. as well will you get the PID and the tread. Search for the the tread and see if you find anything (specialy in the “open database” section. It could be courruption in one of the listed databases.
If you look more for the PID/thread of the fatal you will get a second call stack which will provide much more info about the calls, could be usernames, databases, servers etc.
If you run with thread_debug on the server you will as well be able to track down everything the crashing PID/tread did on the server.
And yes, IBM has programs to scan NSDs for those things and provide data from the crash. But all the same information can be found in the NSD by your self.
Hope this helps a bit.
//Kjeld
Subject: RE: need help trouble shooting NSD files
Hello Kjeld,
Sounds like you really know your NSD files. I only showed a small portion of the NSD because I did not want to divulge too much about the program. The program is multithreaded and so it shows about 16 sections in the NSD. But there is only one section that shows fatal_error.
Sounds like you really know these NSDs and I am willing to learn all I can about them. I created a temporary email address called nsd_tmp@cox.net in case you want to contact me. I just did not want to post my email address on here publicly. Once I here from you there I will send you the NSD file and the notes.ini file. I am not asking for you to waste time and so if you do not have the time then do not worry about it. But if you are willing to take a quick look at the NSD and help me understand it, it would be greatly appreciated.
I am figuring out a little, like for example:
ItemDumpToFileLMBCS__10CNotesNoteFPCcPcPUliT4() at 0x1000b9ac
ItemDumpToFileLMBCS is a function our developers wrote in the notesnote.cpp file.
But I only figured this out because I had the source code and I recognized the file name.
But this line switched everything around:
nnformat.en2a__12EnglishASCIIFPCcPcUl() at 0x10003efc
Because this time the file is nnformat.cpp which has a class called nnformat. The class has a function called en2a which converts text to English.
Thanks
Larry
nsd_tmp@cox.net
Subject: RE: need help trouble shooting NSD files
I did not answer all of your questions - sorry. This is a Lotus Domino Server task which is compiled with the lates Lotus Notes C API. The ItemDumpToFileLMBCS() is a function we wrote. I have access to the code for troubleshooting but I can not post the code.
How do I use thread_debug? Is this a setting for within the notes.ini? Do I just type a line in the notes.ini that looks similar to:
thread_debug=1
Or do I have to get the PID from the crashing thread and put it in the line like this:
thread_debug=92141