Calling 'CanNetworkTo' spam in consoleNot An Issue
hey

we got this sopam in our console: 

Calling 'CanNetworkTo' on 'AdminRadar v4.5.5' took average 2791ms
Calling 'OnEntityKill' on 'AdminRadar v4.5.5' took average 2343ms

this is really dropping our server fps.
does anyone have a fix or know whats causing this?

thnx!


Updated the plugin. Please let me know if this is still an issue. It is also likely if your entity counts are high and too many settings are enabled. Hopefully, however, it is a bit better for you.
Hey thanks for the update.
we run a server with 100 slots. When the player count is high the frames drop alot. 
We alse get those warnngs in the console spammed.
I really dont know what the problem could be.
How many plugins are you running?
we run 89 plugins :s
The plugin count doesn’t really mean anything. What the plugins do is what matters.
I dont know if this has anything to do with it but sometimes every player on the server gets disconnected with the follwoing error:
Disconnected: packet flooding player tick. 

The good thing is AdminRadar was unloaded so i guess this had nothing to do with this plugin. But if i load this plugin the warnings still occurs. it is not only this plugin that get this (Calling 'CanNetworkTo' on 'AdminRadar v4.5.5' took average 2791ms) error also Vanish spams this in concole.

So is this harware related? or could it still be the plugins?
can anyone explain what the CanNetworkTo Hook actually do maybe i can try to explain this to our host.
In response to DNARust ():
I dont know if this has anything to do with it but sometimes every player on the server gets disconn...
CanNetworkTo is a very expensive (demanding) hook, so it's easy to see those hook warnings, especially if the server is already performing poorly.

The "packet flooding: player tick" means that the server likely locked up for a bit, which caused the player's client to try to play catch up and the server kicked the player for "flooding" it with requests essentially.

It could be hardware related or just general server performance issues triggering it, but the only way you can really know for sure is to eliminate potential culprits and see how it performs after each.
In response to Wulf ():
CanNetworkTo is a very expensive (demanding) hook, so it's easy to see those hook warnings, especial...
Well after rust update the performance is alot better then before we have on average 190 fps on server with +/-70 people. But the CanNetworkTo keeps spitting warnings. because of the high frames this isnt really an issue ill have to see what happens if we hit 100 players  like we did before.

If i understand correctly the package flooding has nothing to do with the plugins? hmmm okay, as everyone get disconnected with the same error i dont understand why the server would do this.

Merged post

Thanks for the replies. Ill do some testing.
I'm overhauling the plugin which will resolve this issue and others
Locked automatically