Jump to content

OnDispenserGather taking abnormally long, resulting in server crash

Closed 1.3.9 1.3.9

BippyMiester
BippyMiester

Posted

So, I got a notification from my players that the server had crashed while I was at work. I took a look at the logs when they reported the crash, and it looks as though it might have been from LootAudit. I'm seeing that one of my players at the time of the crash was gathering wood from a tree, and then it crashed. Here's what my RCON outputted.

Timeline

Server started lagging at 23:31:10

Crashed at 23:35:44

Restarted at 23:56:04

As you can see some of these actions are taking almost 2 seconds to complete. I can provide you with the full log of the day if you DM me.

(23:05:09) | Calling 'OnItemRemovedFromContainer' on 'LootAudit v1.3.9' took average 1579ms
(23:05:21) | Calling 'OnItemRemovedFromContainer' on 'LootAudit v1.3.9' took average 1621ms
(23:06:01) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 105ms
(23:31:10) | Calling 'OnItemPickup' on 'LootAudit v1.3.9' took 289ms
(23:31:35) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1246ms
(23:31:38) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 110ms
(23:31:39) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 102ms
(23:31:45) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 375ms [GARBAGE COLLECT]
(23:31:45) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1714ms
(23:31:55) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1008ms
(23:32:06) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1015ms
(23:32:29) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 106ms
(23:32:29) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 136ms
(23:32:29) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 119ms
(23:32:30) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 349ms [GARBAGE COLLECT]
(23:32:38) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1779ms
(23:32:48) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1400ms
(23:32:58) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1692ms
(23:33:04) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 110ms
(23:33:05) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 107ms
(23:33:05) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 134ms
(23:33:05) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 113ms
(23:33:06) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 327ms [GARBAGE COLLECT]
(23:33:09) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1848ms
(23:33:41) | Calling 'OnItemRemovedFromContainer' on 'LootAudit v1.3.9' took average 1226ms
(23:33:51) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1047ms
(23:33:53) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 142ms
(23:34:01) | Calling 'CanLootEntity' on 'LootAudit v1.3.9' took average 1134ms
(23:34:11) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1080ms
(23:34:21) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1720ms
(23:34:27) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 116ms
(23:34:27) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 104ms
(23:34:29) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 133ms
(23:34:30) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 362ms [GARBAGE COLLECT]
(23:34:31) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 2392ms
(23:34:41) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1306ms
(23:34:52) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1054ms
(23:34:55) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 366ms
(23:34:57) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 114ms
(23:34:57) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 303ms
(23:34:58) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 265ms
(23:34:58) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 230ms
(23:34:58) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 198ms
(23:34:59) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 233ms
(23:34:59) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 311ms
(23:35:00) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 193ms
(23:35:00) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 185ms
(23:35:01) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 322ms
(23:35:01) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 318ms
(23:35:01) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 203ms
(23:35:02) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 273ms
(23:35:02) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 255ms
(23:35:02) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 4508ms
(23:35:02) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 243ms
(23:35:03) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 207ms
(23:35:03) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 175ms
(23:35:08) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 227ms
(23:35:08) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 281ms
(23:35:09) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 109ms
(23:35:09) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 188ms
(23:35:11) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 301ms
(23:35:11) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 108ms
(23:35:12) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 2186ms
(23:35:23) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1387ms
(23:35:36) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1207ms
(23:35:43) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 100ms
(23:35:44) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 101ms
(23:35:44) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 145ms
(23:35:44) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 121ms
(23:56:04) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 104ms
(23:56:05) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 1013ms
(23:56:06) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 213ms [GARBAGE COLLECT]
(23:56:32) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 168ms
(23:56:32) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 122ms
(23:56:34) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 246ms
(23:56:35) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 219ms
(23:56:35) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 239ms
(23:56:35) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 114ms
(23:56:36) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took 268ms
(23:56:36) | Calling 'OnDispenserGather' on 'LootAudit v1.3.9' took average 2188ms

 

Gt403cyl2

Posted

How many people are you logging on the server?

BippyMiester

Posted

Less then 5. At the time of this issue, it was one dude doing all this.

Nobody else was on the server.

Gt403cyl2

Posted

yeah, this is part of the reason I am doing a complete re-write of the plug.... to make it more performant...
nothing I can do about it with the current code, it's rare but it can be an issue with some servers depending on the resources available and other plugins used....
I am making good headway on the re-write, so all I can say for now is the new plugin (will be posting as a new plugin) is much better for performance.

Gt403cyl2

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.3.9

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.