Thread: Inexplicable server lag...

Results 1 to 6 of 6
  1. #1 Inexplicable server lag... 
    EXALTED

    Join Date
    Nov 2012
    Posts
    393
    Thanks given
    35
    Thanks received
    33
    Rep Power
    5
    Hey guys, happy new year! I've been having very odd lag with my server after about 10 - 14 hours of uptime. Basically, my server would begin lagging in bursts and the time would be random from every 3 minutes to every 30 seconds, now although it is lagging and users can move, for most of the instances the players can still chat but they cannot move! Eventually the lag would happen every few seconds and the player would be stalled when they try to move, but they can still chat. There are no errors being output into the console which is what is confusing me most. I've checked the memory during the lag and the total usage (for all programs on the pc together) is only 50% of the available ram which is about 1900MB. So even if there is a memory leak I've taken it out of the equation because unless I'm mistaken it'd only lag after it eats up all of my memory. I'm running my server on CentOS if that matters, any help or theories would be appreciated. Thank you for your time.
    Reply With Quote  
     

  2. #2  
    Bossman

    ISAI's Avatar
    Join Date
    Sep 2012
    Posts
    1,916
    Thanks given
    655
    Thanks received
    1,366
    Rep Power
    5000
    Are you renting a virtual server? If so it could be down to your host over-provisioning the VM host machine, possibly. If not it might be down to the VM's internet connection, might be worth running a download and an upload test on it.
    Reply With Quote  
     

  3. #3  
    EXALTED

    Join Date
    Nov 2012
    Posts
    393
    Thanks given
    35
    Thanks received
    33
    Rep Power
    5
    Quote Originally Posted by ISAI View Post
    Are you renting a virtual server? If so it could be down to your host over-provisioning the VM host machine, possibly. If not it might be down to the VM's internet connection, might be worth running a download and an upload test on it.
    It's an Unmanaged Linux VPS so I doubt it's being over-provisioned. I'll run an upload and download test in a bit but I doubt this is the case because it's consistently only lagging at the 10-14 hour mark.
    Reply With Quote  
     

  4. #4  
    Owner of Dawntained

    Mgt Madness's Avatar
    Join Date
    Oct 2011
    Age
    28
    Posts
    3,380
    Thanks given
    1,429
    Thanks received
    958
    Rep Power
    2168
    i'd start by adding debug prints that show how long each game cycle takes, make seperate ones for npc tick, player tick, object tick etc
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    May 2011
    Age
    29
    Posts
    2,246
    Thanks given
    2,469
    Thanks received
    1,120
    Rep Power
    943
    If your players can talk, but cannot run/walk, your game engine probably crashed/stalled, find out what caused that exception.
    Reply With Quote  
     

  6. #6  
    EXALTED

    Join Date
    Nov 2012
    Posts
    393
    Thanks given
    35
    Thanks received
    33
    Rep Power
    5
    Quote Originally Posted by Mgt Madness View Post
    i'd start by adding debug prints that show how long each game cycle takes, make seperate ones for npc tick, player tick, object tick etc
    Quote Originally Posted by Tylurr View Post
    If your players can talk, but cannot run/walk, your game engine probably crashed/stalled, find out what caused that exception.
    Alright I'll start debugging then, I hope I can figure this out, it's getting ridiculous. Thanks for your input.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Server Lag Issues
    By Solid in forum Help
    Replies: 2
    Last Post: 03-31-2010, 10:38 PM
  2. Server Lag Problem - easy fix?
    By dieinpeace in forum Help
    Replies: 10
    Last Post: 10-01-2009, 03:48 AM
  3. This only thing that makes my server lag
    By ncarug02 in forum Help
    Replies: 2
    Last Post: 09-09-2009, 12:57 AM
  4. Server lagging it self [Pay for fix]
    By mikelmao in forum Help
    Replies: 14
    Last Post: 07-24-2009, 07:17 AM
  5. Why dose my server lag? "answer"
    By littleplop in forum Tutorials
    Replies: 31
    Last Post: 03-02-2008, 02:07 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •