Author Topic: "neverwinter.exe has stopped working" Error  (Read 1491 times)

Legacy_Stormsong_NWN

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
"neverwinter.exe has stopped working" Error
« on: January 20, 2016, 11:48:06 pm »


               
Running a dedicated server for Neverwinter Nights Diamond w 1.69 patch, <10 players on at any time.  When the mod loads fresh, it uses about 1.8gb of memory (including the OS) After about 5 or 6 hours of up time it can grow to over 3 GB. The server has 8 GB of ram and nothing else running.

 

We are getting mod crashes at least once a day. Unfortunately it is not dropping the app, where NWNX would relaunch it, it simply errors out and hangs with the error "neverwinter.exe has stopped working". The server is still up in the background, but when you click OK on the error it then crashes.

 

We are running NWNX Core 2.7-b4 and NWNX ODBC 0.9.2.4.


               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
"neverwinter.exe has stopped working" Error
« Reply #1 on: January 21, 2016, 04:22:58 am »


               

Try it for a day without NWNX. It shouldnt crash normally, so NWNX is likely the reason but just in case you need to try it first it could be also hw problem or something.


 


Also that the nwserver hangs out is pretty normal, even reset plugin does this. You need to disable the Windows Error Reporting service to avoid this.


 


As for memory I have no idea but I dont think its normal, there must be some leak somewhere it might be caused by some nwnx plugin too.


 


Anyway post your nwnx.txt log.



               
               

               
            

Legacy_BelowTheBelt

  • Hero Member
  • *****
  • Posts: 699
  • Karma: +0/-0
"neverwinter.exe has stopped working" Error
« Reply #2 on: January 22, 2016, 08:57:31 pm »


               

A script or two could be clogging your memory and causing it to crash.


 


Run your nwnx profiler and check the log to see what script(s) have been run the most times and/or used the most time.


 


I once had a weather system that never turned off once a player entered an area.  It would continue to run with no players in the area.  So, the more areas entered, the more weather checks.  This caused the server to crash after about a day, as too many weather system checks got running.  


 


So, I dissected the system and fixed it to turn off when playercount was 0 for the area.  Since then, no more daily crashes.



               
               

               
            

Legacy_Stormsong_NWN

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
"neverwinter.exe has stopped working" Error
« Reply #3 on: January 24, 2016, 11:12:52 pm »


               

Well for the moment, it is moot as the server just burned up the processor. We have implemented your suggestions though and will see where it goes. Thanks for the feedback.