Not an Issue CallHook on plugin took ms

Discussion in 'Rust Discussion' started by SannyOK, May 1, 2015.

  1. Wow, such laaaaags after msgs like this...

    Code:
    [Oxide] 4:34 PM [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 777.3438ms
     
  2. Wulf

    Wulf Community Admin

    You have a plugin or Rust itself taking a long time with that hook or hooked function.
     
  3. Hi,

    Oxide build 837.
    After some time (3 hours), I get messages like this:
    Code:
    [Oxide] 3:55 AM [Warning] CallHook 'OnPlayerTick' on plugin 'Rust Core' took: 517.5781ms
    [Warning] CallHook 'OnBaseCombatEntityHurt' on plugin 'Rust Core' took: 514.6484ms
    [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 507.8125ms
    Also for plugins:
    Code:
    [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 504.8828ms
    [Warning] CallHook 'OnEntityDeath' on plugin 'RotAG-Roubo' took: 520.5078ms
    [Warning] CallHook 'OnGather' on plugin 'MoneyForGather' took: 525.3906ms
    etc ...
    The server become slow when messages arrive.
    Is it serious doctor?
     
  4. It means your server is experiencing slowness, it could be one of the plugins or just your server os taking up a lot of resources.
     
  5. Windows 7 pro 64bits N (RAM : 5Go/64Go (DDR3 ECC) --- CPU : (E5-1650v2) between 5-25% usage)
    This comes from a plugin, but how to know which one?
     
  6. It already gave you the warnings for the plugins.
     
  7. I believe its oxide I am getting the same thing. Performance has taken a big hit since the latest oxide update.
     
  8. Wulf

    Wulf Community Admin

    Oxide is the messenger telling you that your server is having performance issues, that's it. Printing an occasional message will not cause lag.

    Also, if you remove plugins and there is no change, that's another indication that it's unrelated to Oxide, as Oxide doesn't really do anything without plugins.
     
  9. This has only been happening to plugins since the latest rust/oxide update.
     
  10. it's just rust.
    you would most likely get all those lags if you remove all your plugins
     
  11. My map only has 13ok ents though...