Laggs Errors :/

Discussion in 'Rust Discussion' started by CHR, Apr 19, 2015.

  1. CHR

    CHR

    Hey Guys,

    I was able to almost track down all Errors and Laggs on my Server. Only one is left and i think ist related to Rust and not Oxide but maybe got more Details about it.

    First of all all the Errors i was able to Fix and what Plugin caused it. Maybe this helps u a bit

    TimeWarning: AIHandler.Cycle took 0.50 seconds

    Made by Rust seems to be the control of the Animals and will result in Laggs after some time.
    You can fix this by useing "ai.move 0" and "ai.think 0" in console.
    Animals will just stop move and attack, better then haveing invisible bears and wolves.

    [SV_RPCMessage] playerattack - Exception has been thrown by the target of an invocation.

    Not sure if this error result in Laggs but ist made by FriendlyFire Plugin by playrust.io
    I disabled that plugin no more Errors happen.

    The Error im not able to solve is this one, and im sure this Error is made by Rust but maybe im wrong.

    TimeWarning: Net.sv.Cycle took 1.62 seconds (1615ms)

    This ERROR IS MY MAIN PROBLEM
    if someone know how to fix it please post it, for me it look likes a memleak again and will result in a timeout in every 2mins or something. The Timeout length increase by Uptime of the Server. Im only able to fix it by Reboot of my Server.

    This Error will result into this Error

    Calling kill - but already IsDestroyed!? build/block.halfheight (BuildingBlock)
    Nothing we should worry about. Just a message cuz the structure did not dissapear in Time.

    so @Wulf or @Mughisi can u give me any Informations about what the Net.sv does?

    And please People check ur logs if the same Error happen to you also, Keep in mind that i have a populated Server. I think low Pop dosnt have those Problems.

    TY
    [DOUBLEPOST=1429454607,1429434083][/DOUBLEPOST]People Pls I AM ALONE WITH THIS?`CUZ I CANT BELIVE IT!
     
  2. rust ai (animals) are fucked
    do ai.move false
    and ai.think false
    animals wont move but at least you will GREATLY reduce lag
     
  3. CHR

    CHR

    @Reneb pls read the complete post :(

    TimeWarning: Net.sv.Cycle took 1.62 seconds (1615ms) not AI.handler

    i deactivated ai already im not complete dumb ^^

    @Wulf do u know what the Net.sv.Cycle does? I must solve this Problem... and if it would be a Plugin error more People must have this
     
  4. net.sv.cycle is just the global cycle of the server, includes everything.
     
  5. CHR

    CHR

    So what can I do? I unloaded all just rust.io and oxide was running what can I do. I need a solution. I need ur help guys.

    I'm already active at facepunch and I contacted rustafied as well. Please guys I need serious help.
     
  6. What about wipe ... ?
     
  7. CHR

    CHR

    I cant wipe every day >.<
     
  8. just have a look at the source:
    Code:
    public override void Cycle()
    {
        this.UpdateLogging();
        base.Cycle();
        if (!this.IsConnected())
        {
            return;
        }
        float single = Time.realtimeSinceStartup;
        while (this.peer.Receive())
        {
            RaknetConnection raknetConnection = base.FindConnection(this.peer.incomingGUID) as RaknetConnection;
            if (raknetConnection != null)
            {
                this.ConnectedPacket(raknetConnection);
            }
            else
            {
                this.UnconnectedPacket();
            }
            if (Time.realtimeSinceStartup - single <= 0.1f)
            {
                continue;
            }
            return;
        }
    }
    like you see, it just handles connections, receiving packages, handle packages and connection logging(which should be disabled by default), so any plugins which do connection related stuff could slow it down(OnUserApprove, OnReceiveTick, OnPlayerConnected, OnRunCommand, some rpc messages)...or it's just an slow connection...
     
  9. CHR

    CHR

    Okay im running with 100 people right now. So it could be notifier and rust.io.

    People get mad if I disable livemap. ^^

    How can I check if it's disabled? Where is the file?
    If I'm right the file is made by rust and oxide uses the commands u posted?
     
  10. which plugins were causing lag on your server ?
     
  11. you can check it via net.log in your server console, false by default...the "commands" i posted were hooks which can be used by any plugin...
     
  12. CHR

    CHR

    Dut to the called hooks be Betty i just think it could be notifier webrequest or rust.io i got no Special plugins in use like pets or hunt rpg.

    I contacted my host but i think they cant do anything.

    I got 130k ents and 100 Players... i swear we must block barricades somehow... this fucks Server fps hard.
    [DOUBLEPOST=1429472951][/DOUBLEPOST]
    it is at false ty...
     
  13. CHR

    CHR

    So im still not able to track it down... the error is still here...

    I thought it could be the webrequest that are made by Notifier or the Livemap by Playrust.io or a Timed that will fuck it like TimedExecute or Radline. I deactivated them and the Server already starts after some Connections with the net.sv.cycle Error.
    I got almost nothing run on it or at least i think ist nothing that can cuzing it.

    But i give u The LIST and i hope someone can figure out what is cuzing the laggs.
    The Serverhardware is and i7 with SSDS and 32gb ram and located in Frankfurt a.M. i doubt its an Hardware Problem or a Hosterproblem.

    I got following Plugins; I disabled the plugins that are marked with X
    Code:
    0-logger
    0friendsAPI
    autocommands
    BetterLoot   X
    BuildingOwners
    Clans
    CraftingController
    CustomChatCommands
    deathnotes  X
    EnhancedBanSystem
    FriendlyFire  X
    helptext
    Kits
    m-GatherRate
    m-Teleportation
    m-Time  X
    namecolors
    notifier   X
    privatemessage
    Prod
    radline   X
    RemoverTool
    StackSizes
    suicide
    TimedExecute   X
    Livemap X
    TwigRemover
    As u see i think i disabled Plugins that Keep run and could cuz laggs, rest seems to modify stuff.

    I really Need help i dont know what i can do anymore is it rust beeing rust? Oo
    I know not all Servers are fucked with this. @Wulf or @Mughisi what can i do? DO the crafts or stacks Change anything that could cuzing this?

    Some of the log recently
    Code:
    [4/25/2015 8:51:52 PM] TimeWarning: Net.sv.Cycle took 1.18 seconds (1178ms)
    [4/25/2015 8:51:58 PM] Calling kill - but already IsDestroyed!? build/wall[0]
    [4/25/2015 8:52:09 PM] TimeWarning: Net.sv.Cycle took 1.08 seconds (1082ms)
    [4/25/2015 8:52:26 PM] 76561198046343425: Manifest file differs (possibly out of date)
    [4/25/2015 8:52:31 PM] 76561198137949448: Manifest file differs (possibly out of date)
    [4/25/2015 8:52:42 PM] 76561198160880962: Manifest file differs (possibly out of date)
    [4/25/2015 8:52:43 PM] 76561198060658975: Manifest file differs (possibly out of date)
    [4/25/2015 8:52:47 PM] 76561198031270919: Manifest file differs (possibly out of date)
    [4/25/2015 8:52:58 PM] 76561198036899569: Manifest file differs (possibly out of date)
    [4/25/2015 8:53:25 PM] TimeWarning: Net.sv.Cycle took 1.10 seconds (1105ms)
    [4/25/2015 8:53:39 PM] TimeWarning: Net.sv.Cycle took 1.12 seconds (1121ms)
    [4/25/2015 8:53:40 PM] 76561198219672648: Manifest file differs (possibly out of date)
    [4/25/2015 8:53:44 PM] Calling kill - but already IsDestroyed!? build/foundation[0]
    [4/25/2015 8:53:54 PM] 76561198180490007: Manifest file differs (possibly out of date)
    [4/25/2015 8:54:11 PM] TimeWarning: Net.sv.Cycle took 1.02 seconds (1021ms)
    [4/25/2015 8:54:21 PM] 76561198077381094: Manifest file differs (possibly out of date)
    [4/25/2015 8:54:24 PM] TimeWarning: Net.sv.Cycle took 1.22 seconds (1216ms)
    [4/25/2015 8:54:27 PM] 76561198141242181: Manifest file differs (possibly out of date)
    [4/25/2015 8:55:31 PM] 76561198034840082: Manifest file differs (possibly out of date)
    [4/25/2015 8:55:43 PM] 76561198028361401: Manifest file differs (possibly out of date)
    [4/25/2015 8:55:46 PM] TimeWarning: Net.sv.Cycle took 1.09 seconds (1089ms)
    [4/25/2015 8:55:49 PM] 76561198168684508: Manifest file differs (possibly out of date)
    [4/25/2015 8:56:07 PM] TimeWarning: Net.sv.Cycle took 1.15 seconds (1146ms)
    [4/25/2015 8:56:24 PM] 76561198024258709: Manifest file differs (possibly out of date)
    Log of my other Server without Oxide running on it

    Code:
    [4/25/2015 12:37:24 AM] 76561198034844501: Manifest file differs (possibly out of date)
    [4/25/2015 12:37:50 AM] 76561198051044958: Manifest file differs (possibly out of date)
    [4/25/2015 1:09:26 AM] 76561198004148622: Manifest file differs (possibly out of date)
    [4/25/2015 2:26:26 AM] 76561198039523112: Manifest file differs (possibly out of date)
    [4/25/2015 4:00:17 AM] TimeWarning: AIHandler.Cycle took 1.19 seconds (1193ms)
    [4/25/2015 7:11:54 AM] 76561198144841442: Manifest file differs (possibly out of date)
    [4/25/2015 8:02:10 AM] 76561197970706201: Manifest file differs (possibly out of date)
    [4/25/2015 8:19:31 AM] 76561198022964278: Manifest file differs (possibly out of date)
    [4/25/2015 8:54:23 AM] 76561198036242712: Manifest file differs (possibly out of date)
    [4/25/2015 9:01:06 AM] 76561198036242712: Manifest file differs (possibly out of date)
    [4/25/2015 10:38:02 AM] 76561198130184809: Manifest file differs (possibly out of date)
    [4/25/2015 10:44:25 AM] 76561197997788986: Manifest file differs (possibly out of date)
    [4/25/2015 11:34:19 AM] 76561198026241362: Manifest file differs (possibly out of date)
    [4/25/2015 11:49:57 AM] 76561198130184809: Manifest file differs (possibly out of date)
    [4/25/2015 12:42:49 PM] 76561198134759875: Manifest file differs (possibly out of date)
    [4/25/2015 3:28:09 PM] 76561198054094013: Manifest file differs (possibly out of date)
    [4/25/2015 3:52:14 PM] 76561198105893428: Manifest file differs (possibly out of date)
    [4/25/2015 3:54:18 PM] 76561198010914000: Manifest file differs (possibly out of date)
    [4/25/2015 4:28:12 PM] 76561198059367835: Manifest file differs (possibly out of date)
    [4/25/2015 5:01:01 PM] 76561198017779828: Manifest file differs (possibly out of date)
    [4/25/2015 5:39:31 PM] 76561198122860581: Manifest file differs (possibly out of date)
    [4/25/2015 5:42:38 PM] TimeWarning: AIHandler.Cycle took 0.67 seconds (673ms)
    [4/25/2015 5:50:04 PM] 76561198122860581: Manifest file differs (possibly out of date)
    [4/25/2015 6:53:17 PM] 76561198184004233: Manifest file differs (possibly out of date)
    [4/25/2015 6:57:39 PM] 76561198184004233: Manifest file differs (possibly out of date)
    [4/25/2015 7:20:44 PM] 76561198026404929: Manifest file differs (possibly out of date)
    [4/25/2015 7:47:38 PM] 76561197993977535: Manifest file differs (possibly out of date)
    [4/25/2015 8:20:47 PM] TimeWarning: AIHandler.Cycle took 0.91 seconds (913ms)
     
  14. I'm getting Net.sv.Cycle took warnings with 70+ players and 50k ents.
     
  15. CHR

    CHR

    Welcome in the club! Seems there is no solution
     
  16. Maybe now with the new oxide build we can find out what is causing the laggs and the "Net.sv.Cycle took warnings" problem.

    Code:
    [4/26/2015 8:09:03 PM] [Oxide] 8:09 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:09:42 PM] TimeWarning: Spawning build/foundation took 0.33 seconds (341ms)
    [4/26/2015 8:09:48 PM] TimeWarning: Spawning build/wall took 0.21 seconds (213ms)
    [4/26/2015 8:09:54 PM] [Oxide] 8:09 PM [Warning] CallHook 'OnEntitySpawn' on plugin 'Airdrop Settings' took: 521.0953ms
    [4/26/2015 8:09:54 PM] [Oxide] 8:09 PM [Warning] CallHook 'OnEntitySpawned' on plugin 'Rust Core' took: 526.1002ms
    [4/26/2015 8:09:54 PM] TimeWarning: Spawning weapons/pistol/revolver.weapon took 0.53 seconds (530ms)
    [4/26/2015 8:10:00 PM] TimeWarning: Spawning build/wall.doorway took 0.27 seconds (268ms)
    [4/26/2015 8:10:42 PM] [Oxide] 8:10 PM [Warning] CallHook 'OnServerInitialized' on plugin 'BetterStability' took: 31088.09ms
    [4/26/2015 8:10:51 PM] [Oxide] 8:10 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:11:00 PM] [Oxide] 8:11 PM [Warning] CallHook 'OnTick' on plugin 'Rust:IO for Oxide' took: 7148.01ms
    [4/26/2015 8:11:01 PM] [Oxide] 8:11 PM [Warning] CallHook 'OnTick' on plugin 'BetterStability' took: 770.5994ms
    [4/26/2015 8:11:03 PM] [Oxide] 8:11 PM [Warning] CallHook 'OnTick' on plugin 'BetterLoot' took: 1475.403ms
    [4/26/2015 8:11:14 PM] [Oxide] 8:11 PM [Warning] CallHook 'OnTick' on plugin 'BetterStability' took: 704.1473ms
    [4/26/2015 8:11:44 PM] TimeWarning: Net.sv.Cycle took 1.21 seconds (1213ms)
    [4/26/2015 8:12:08 PM] TimeWarning: Net.sv.Cycle took 1.26 seconds (1258ms)
    [4/26/2015 8:12:48 PM] TimeWarning: Net.sv.Cycle took 1.29 seconds (1287ms)
    [4/26/2015 8:13:12 PM] TimeWarning: Net.sv.Cycle took 1.19 seconds (1191ms)
    [4/26/2015 8:13:55 PM] [Oxide] 8:13 PM [Warning] CallHook 'players_list_CMD' on plugin 'Notifier' took: 771.3928ms
    [4/26/2015 8:13:55 PM] [Oxide] 8:13 PM [Warning] CallHook 'OnRunCommand' on plugin 'Rust Core' took: 775.6653ms
    [4/26/2015 8:14:12 PM] [Oxide] 8:14 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:14:46 PM] TimeWarning: Net.sv.Cycle took 1.29 seconds (1286ms)
    [4/26/2015 8:16:04 PM] [Oxide] 8:16 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:18:56 PM] TimeWarning: Net.sv.Cycle took 1.29 seconds (1292ms)
    [4/26/2015 8:19:13 PM] [Oxide] 8:19 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:19:49 PM] [Oxide] 8:19 PM [Warning] CallHook 'OnTick' on plugin 'Rust:IO for Oxide' took: 923.8892ms
    [4/26/2015 8:21:04 PM] [Oxide] 8:21 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:22:12 PM] [Oxide] 8:22 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 722.229ms
    [4/26/2015 8:22:12 PM] [Oxide] 8:22 PM [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 728.3325ms
    [4/26/2015 8:24:13 PM] [Oxide] 8:24 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:24:45 PM] [Oxide] 8:24 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 774.231ms
    [4/26/2015 8:24:45 PM] [Oxide] 8:24 PM [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 780.8838ms
    [4/26/2015 8:25:12 PM] [Oxide] 8:25 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 854.248ms
    [4/26/2015 8:25:12 PM] [Oxide] 8:25 PM [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 859.4971ms
    [4/26/2015 8:25:37 PM] TimeWarning: Net.sv.Cycle took 1.46 seconds (1464ms)
    [4/26/2015 8:26:04 PM] [Oxide] 8:26 PM [Warning] CallHook 'cmdConsoleSave' on plugin 'Save' took: 3111.45ms
    [4/26/2015 8:26:04 PM] [Oxide] 8:26 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:26:13 PM] [Oxide] 8:26 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 797.4854ms
    [4/26/2015 8:26:13 PM] [Oxide] 8:26 PM [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 803.5889ms
    [4/26/2015 8:27:57 PM] [Oxide] 8:27 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 774.292ms
    [4/26/2015 8:27:57 PM] [Oxide] 8:27 PM [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 778.0762ms
    [4/26/2015 8:29:13 PM] [Oxide] 8:29 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:31:00 PM] [Oxide] 8:31 PM [Warning] CallHook 'cmdTeleportAccept' on plugin 'Teleportation System' took: 1471.802ms
    [4/26/2015 8:31:00 PM] [Oxide] 8:31 PM [Warning] CallHook 'OnRunCommand' on plugin 'Rust Core' took: 1477.417ms
    [4/26/2015 8:31:00 PM] TimeWarning: Net.sv.Cycle took 1.49 seconds (1489ms)
    [4/26/2015 8:31:04 PM] [Oxide] 8:31 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:33:46 PM] TimeWarning: Net.sv.Cycle took 1.37 seconds (1366ms)
    [4/26/2015 8:34:13 PM] [Oxide] 8:34 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:36:04 PM] [Oxide] 8:36 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:38:27 PM] [Oxide] 8:38 PM [Warning] CallHook 'OnEntityTakeDamage' on plugin 'Death Notes' took: 980.2246ms
    [4/26/2015 8:38:27 PM] [Oxide] 8:38 PM [Warning] CallHook 'OnBasePlayerHurt' on plugin 'Rust Core' took: 987.1826ms
    [4/26/2015 8:39:14 PM] [Oxide] 8:39 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:41:05 PM] [Oxide] 8:41 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:41:55 PM] [Oxide] 8:41 PM [Warning] CallHook 'cmdConsoleSave' on plugin 'Save' took: 3714.111ms
    [4/26/2015 8:44:14 PM] [Oxide] 8:44 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:45:41 PM] [Oxide] 8:45 PM [Warning] CallHook 'OnPlayerRespawned' on plugin 'Kits' took: 1239.502ms
    [4/26/2015 8:45:41 PM] TimeWarning: Net.sv.Cycle took 1.29 seconds (1295ms)
    [4/26/2015 8:46:05 PM] [Oxide] 8:46 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:46:56 PM] TimeWarning: Net.sv.Cycle took 1.13 seconds (1133ms)
    [4/26/2015 8:47:24 PM] 76561198138119164: Manifest file differs (possibly out of date)
    [4/26/2015 8:48:16 PM] TimeWarning: Net.sv.Cycle took 1.16 seconds (1160ms)
    [4/26/2015 8:49:14 PM] [Oxide] 8:49 PM [Warning] airdrop_settings plugin is using deprecated hook: OnEntitySpawn
    [4/26/2015 8:51:05 PM] [Oxide] 8:51 PM [Warning] HumanNPC plugin is using deprecated hook: OnEntityAttacked
    [4/26/2015 8:51:47 PM] 76561198123704239: Manifest file differs (possibly out of date)
    [4/26/2015 8:51:56 PM] 76561197981904631: Manifest file differs (possibly out of date)
    [4/26/2015 8:52:25 PM] TimeWarning: Net.sv.Cycle took 1.78 seconds (1783ms)
     
  17. CHR

    CHR

    How u got that messages would that mean it could be related to the plugins listed?
     
  18. Wulf

    Wulf Community Admin

    If the server lags, plugins lag, so that's not really a good indicator. Those "OnEntitySpawn" warnings are easily fixed, and that would clear up some log spam.
     
  19. CHR

    CHR

    Well the EntitySpawn maybe... but what is with the other stuff? And how did he manage to make this messages like the Better loot or notifier or death notes messages visible. I wanna have this as well. It at least shows that oxide is also related to this.
     
  20. Wulf

    Wulf Community Admin

    It doesn't show Oxide is related to it, it just shows the server is lagging, which is causing plugins to lag. The only way to see those is by using the latest snapshots from GitHub.