REQUEST - Mitigate TMI and Stack dumping
Timendainum
Member Posts: 24
NWN always has this arbitrary scripting limitation on number of instructions. I get why it is in there, but can we get some tools to mitigate this?
I recall having to rely in scripting called to delayedAction() or something. I forget the details but that leads to the next request.
When putting lots of stuff in that delayed action queue, the server would at times, just decide to drop things from the queue when the queue got really big. Again, can we get some tools to mitigate this? I understand the server is trying to protect its health, but this lead to some very strange behavior on heavily loaded servers.
Honestly, I'd like to be able to configure these points. Or at least have a way to udnerstand when they are happening and deal with them.
I recall having to rely in scripting called to delayedAction() or something. I forget the details but that leads to the next request.
When putting lots of stuff in that delayed action queue, the server would at times, just decide to drop things from the queue when the queue got really big. Again, can we get some tools to mitigate this? I understand the server is trying to protect its health, but this lead to some very strange behavior on heavily loaded servers.
Honestly, I'd like to be able to configure these points. Or at least have a way to udnerstand when they are happening and deal with them.
0
Comments
* Specifies the maximum number of scripting instructions available to run within a given script before the script is assumed to be in an infinite loop and terminated (was 131042 in NWN 1.69, minimum = 131042, maximum = 16777216)
[Script Options]
Instruction Limit=524288
Dwinblood corrected me the other day, this is really a "queue dump".
This happens when you have a large DelayCommand() queue, and the server is very busy. Items in the DelayCommand() queue can be skipped, or dropped from the queue.
As I get more things working, I'll be trying to reproduce this on modern hardware with the EE server on linux. Will be interesting to see if I can even get it to do it again.