Hook warnings with Rust:IOSolved

I'm not sure what exactly is causing it, but RustIO is lagging out my server or is it's lagging for the same reason as the server. When playing, when this happens, all plugins hang momentarily and everything stops from the client perspective. You can still move, but can't interact. Then after about 30 seconds, you get 'kicked: Packet Flooding: Player Tick' for all players that are online. Checking the logs shows the 'Calling "X" on "RustIO..." took Yms' messages are quite abundant. It's the only plugin that is reporting 'took Yms'. Also, the time on each of the 'OnTick' messages is about 30-32 seconds, which coincides with the amount of time that the server goes non-comm before kicking. Has anyone else seen this before? Any ideas on troubleshooting? I've included an excerpt from the logs for when this happens:

(02:03:04) | Calling 'OnTick' on 'RustIO v2.17.0' took 3790ms [GARBAGE COLLECT]
(02:03:04) | Calling 'OnTick' on 'RustIO v2.17.0' took average 4ms [GARBAGE COLLECT]
(02:48:04) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 120ms
(02:48:09) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 116ms
(02:48:20) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 119ms
(02:48:23) | Calling 'OnTick' on 'RustIO v2.17.0' took average 29479ms
(03:48:28) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 105ms
(03:48:33) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 161ms
(03:48:39) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 153ms
(03:48:50) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 117ms
(03:48:55) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 101ms
(03:48:57) | Calling 'OnTick' on 'RustIO v2.17.0' took average 29795ms
(04:49:03) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 161ms
(04:49:09) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 145ms
(04:49:14) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 170ms
(04:49:25) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 118ms
(04:49:31) | Calling 'OnTick' on 'RustIO v2.17.0' took average 29602ms
(05:45:37) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 230ms
(05:49:39) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 140ms
(05:49:45) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 120ms
(05:49:50) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 112ms
(05:49:55) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 131ms
(05:50:01) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 124ms
(05:50:05) | Calling 'OnTick' on 'RustIO v2.17.0' took average 30433ms
(06:50:06) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 150ms
(06:50:11) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 219ms
(06:50:27) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 127ms
(06:50:32) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 117ms
(06:50:37) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 218ms
(06:50:38) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 223ms
(06:50:39) | Calling 'OnTick' on 'RustIO v2.17.0' took average 30333ms
(07:50:44) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 178ms
(07:50:49) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 141ms
(07:50:55) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 116ms
(07:51:00) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 122ms
(07:51:11) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 121ms
(07:51:14) | Calling 'OnTick' on 'RustIO v2.17.0' took average 30559ms
(08:51:21) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 131ms
(08:51:32) | Calling 'OnEntityDeath' on 'RustIO v2.17.0' took 139ms
(08:51:47) | Calling 'OnTick' on 'RustIO v2.17.0' took average 29632ms​

For anyone interested, I figured out what it was. It was the day/night cycle with NightZombies and RustIO turned on and a server that can't handle spikes like that. The zombies and murderers were set to 50, and when they all die at day time OnEntityDeath was called. The subsequent OnTick lags out terribly. I changed the value down to 25, and it went from 30 seconds to 1.5. At least there's no more 'Packet Flooding: Player Tick' kicks when the lag spike happens.

Locked automatically