HTTP Server Crash and some .ini settings

One of the apps I am working on at the moment has been causing the 7.0.2 server on which it runs to crash. The problem we were having was that there was no consistency to how the server crashed, it was always nHTTP with a PANIC: Insufficient memory, but it was never the same piece of code that was running when it happened. So we went through all of the usual debugging processes for several days but just couldn’t find anything wrong (even though there blatantly is, this is a developer owning up here you admins!).

Well I haven’t dealt with IBM support for quite a while, but we were running out of ideas and decided to open a PMR more out of desperation than anything. In the past I would have expected them to come back and say that we are running non standard settings (which we are) please reset everything and come back to us then. To my great surprise I had an email from them this morning saying that they’e analysed my NSD files and here are three different things we can try to prevent the error from happening again. So far they are looking good. So for future reference, it’s definitely worth checking out the following .ini settings.

MEM_EnablePreAlloc=1 (see TN 1267928 for details)
HTTPUseNotesMemory=0
INotesUseNotesMemory=0

Update: I had a couple of people ask for the Fatal thread, so here you go…

############################################################
### FATAL THREAD 61/64 [ nhttp: 1ac8: 0ba4]
### FP=0x5290fe40, PC=0x60177011, SP=0x5290f6cc
### stkbase=52910000, total stksize=262144, used stksize=2356
### EAX=0x01cf0648, EBX=0x6018a8c0, ECX=0x016b0000, EDX=0x016b0000
### ESI=0x5290fcd4, EDI=0x00000000, CS=0x0000001b, SS=0x00000023
### DS=0x00000023, ES=0x00000023, FS=0x0000003b, GS=0x00000000 Flags=0x00010206
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
@[ 1] 0x60177011 nnotes._Panic@4+417 (60ae0917)
@[ 2] 0x6017708c nnotes._Halt@4+28 (107)
@[ 3] 0x601022f5 nnotes._AccessAllProtected@0+85 ()
@[ 4] 0x6004541e nnotes._AccessAll@8+46 (1,1)
@[ 5] 0x60046473 nnotes._ProcessGlobalEvent@4+19 (1be2790)
@[ 6] 0x60046387 nnotes._OSProcessShouldQuit@0+39 ()
[ 7] 0x77e64829 KERNEL32 ()
Invalid stack frame detected: Invalid frame pointer (BP): 0

Share