Author Topic: Server Portal  (Read 412 times)

Legacy_Vincent07

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Server Portal
« on: May 17, 2014, 10:58:27 pm »


               

This seemed like the best place to put this.


 


 


So, our server runs two instances. One is the 'main' the other is our 'event/dungeon' server.  Our transitions use the standard Portal function to move players back and forth and I have since put all the OnEnter bits of the Event server on a delay to try and reduce the problem I'm having.


 


The short of it is, our Event instance loves to crash.  Seems to be when players transition too fast, but I'm not sure.  We have NWNX keeping nwserver up and restarting it, but on our new Win7 box, the nwserver process won't automatically close down like we had it doing on the XP machine, so one of us has to VNC in and click 'close program' on the "This program has stopped responding" box.


 


Anyone have any solutions to this?



               
               

               
            

Legacy_Thayan

  • Sr. Member
  • ****
  • Posts: 435
  • Karma: +0/-0
Server Portal
« Reply #1 on: May 19, 2014, 01:48:10 am »


               

Follow the steps in this article and that will prevent the error message from popping up in Windows. Even though it was written for Windows 2008, it works for Windows 7 and is what I followed for our server host machine which runs Windows 7.


 


https://www.raymond....ws-server-2008/



               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Server Portal
« Reply #2 on: May 19, 2014, 01:03:13 pm »


               

Are you using nwnx_chat?


 


I don't know if this is an issue for windows 7 boxes, but Windows Server 2008 and Windows Server 2012/13 all have compatibility issues with nwnx_chat - causing crashes fairly quickly - when onchat hooks are fired etc.


 


I have to run my server on Windows Server 2003 in order to get stability.


 


http://www.nwnx.org/...?t=2109&p=16505


 


The instability with 2008+ is discussed here, Windows 7 might be suffering from the same issue.


Does the crash mention ntdll.dll ?



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Server Portal
« Reply #3 on: May 19, 2014, 01:41:39 pm »


               

Actually Baaleos I have a same problem on my Win7 PC which I am using for testing stuff. nwserver crashes randomly when loaded via nwnx2.exe upon shutdown even with no plugin active. Admin rights and XP compatibility on both of course...


 


Which is a reason Im hosting my server on win XP. Best OS anyway.



               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Server Portal
« Reply #4 on: May 19, 2014, 04:29:29 pm »


               

I also have the shutdown issue on mine.


When I close nwserver.exe with nwnx running, nwserver crashes, and then DW20.exe starts running getting a crash dump, which then blocks nwnx from starting a clean nwserver.exe process.


 


This often causes problems for my server reboots.


But addicted2rpg was working on a reboot of the odbc and chat plugins, and did find an inherent incompatibility with server 2008+ 


 


If any of the bugs the OP is seeing result in errors in faulting module ntdll.dll  - then I'd say they are related.


 


Server 2003 is a good compromise for me - its close to the same level as Windows XP update wise, but still provides server level control.


Hosting mine in the cloud via amazon helps to a degree, but only if your willing to pay: (I host mine on a medium size server,$60 per month, but I utilize it fully with development projects on the side too (TFS and websites hosted on it))


               
               

               
            

Legacy_Vincent07

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Server Portal
« Reply #5 on: May 20, 2014, 03:23:14 am »


               

We are not using the Chat plugin at present.


               
               

               
            

Legacy_Vincent07

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Server Portal
« Reply #6 on: May 20, 2014, 03:41:49 am »


               

I should finish posts before I ..post.


 


So yeah, there's no crash message, it just stops responding.  We do not use nwnx_chat, our OnPlayerChat event is custom.



               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
Server Portal
« Reply #7 on: May 20, 2014, 08:39:05 am »


               Check windows error reports. Reportvwr from run menu.

It will tell you the faulting module.

I think the odbc has same issue