Memory problem

Results 1 to 14 of 14
  1. #1
    Member Backo is offline
    MemberRank
    Mar 2009 Join Date
    USA Las VegasLocation
    53Posts

    sad Memory problem

    Hi guys... i have one problem with my server.
    Every 4-5 days channel 1 crashed... the reason is that permanent full ram memory of computer. With each passing day of the channel rises RAM memory and no falls...

    Does anyone know how to fix this?

    Plz guys help me ;(
    Last edited by Backo; 27-09-10 at 07:46 PM.


  2. #2
    Member Ratko is offline
    MemberRank
    Aug 2010 Join Date
    83Posts

    Re: Memory problem

    get more RAM?

  3. #3
    Member Backo is offline
    MemberRank
    Mar 2009 Join Date
    USA Las VegasLocation
    53Posts

    Re: Memory problem

    lol... now memory is 8GB? how much?

  4. #4
    Member Ratko is offline
    MemberRank
    Aug 2010 Join Date
    83Posts

    Re: Memory problem

    o_O i run 10 channels of 8 GB, your PC(dedi what ever it is) is messed up or just your CentOS

  5. #5
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Memory problem

    More players online = more ram needed. Try shutting down a channel or two and see if that solves it.

    What error gets written to the logs when the channel crashes?

  6. #6
    Member Backo is offline
    MemberRank
    Mar 2009 Join Date
    USA Las VegasLocation
    53Posts

    Re: Memory problem

    in the moment i have three channels.

    with every minute memory use of channel 1 is growing steadily and will not fall... no matter if there is continuous 100 players in the game or 30

  7. #7
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Memory problem

    Are you using any mods or just my 2.8 server files? Something must be unusual here or it would affect everyone. Does the server run anything other than the cabal server?

  8. #8
    Member Backo is offline
    MemberRank
    Mar 2009 Join Date
    USA Las VegasLocation
    53Posts

    Re: Memory problem

    i use your 2.8 files :) of computer is placed only cabal server and web page..

    channel 1 crashed two days ago... and here is picture now how mutch to use memory... 36% of 8GB... the last night was used 27% memory with 100 players in game...
    now in server play 60 players... every day used memory of channel 1 is increased... ;(

    Last edited by Backo; 28-09-10 at 09:39 AM.

  9. #9
    xHTML/CSS/JS/Ruby LostSpirit is offline
    MemberRank
    Feb 2008 Join Date
    $ gem search -rLocation
    482Posts

    Re: Memory problem

    1º The more changes in the game, more processor/memory will need channel. example: much mobs,drops,etc...
    2º Image showing u have 3gb of ram. -_-
    3º Crasheds? put ur channel in LogLevel 6 and look log searching error's.

    ps: 320mb free physical memory, but u have 3gb of virtual memory called "swap"
    Last edited by LostSpirit; 28-09-10 at 12:26 PM.

  10. #10
    Member Backo is offline
    MemberRank
    Mar 2009 Join Date
    USA Las VegasLocation
    53Posts

    Re: Memory problem

    This is the computer which is for temporary use... with 3.5GB RAM

    the official pc is:
    2 x AMD Opteron 254, 2x2.80Ghz
    8192MB DDR ECC
    2 x 160GB SATA2



    to him it also has this problem... but not every 5 days... and in the 2 weeks...


    sorry for my bad english

  11. #11
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Memory problem

    Ram usage will increase over time until it reaches it's maximum for the players online. When working out how many channels i should have i would always start with 1 channel only and monitor how much ram is used at the busiest times. The maximum number of channels you can have will be total ram divided by the ram taken by that one channel at it's maximum load (though not all channels will reach the max load).

    Cabal does use up a lot of ram. I Can't find it now as something has happened to the search settings but phiber posted how much ram his server uses and it was quite a lot.

  12. #12
    Account Upgraded | Title Enabled! Alphakilo23 is offline
    MemberRank
    Jun 2010 Join Date
    Ze German ländLocation
    428Posts

    Re: Memory problem

    Wow the 7969, I like that machine.

    I think this is some kind of memory leak inside the channel service. I had to deal with it myself, and since there's no source code available, I fixed it with regular restarts of the cabal service via cron-job.

    Not the best solution, but works for me.

  13. #13
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Memory problem

    I haven't seen this myself but my channels don't last long before restarts/config wipes. Nobody has reported it to me before but if there is a leak i need to know.

    How much do the worldsvrs increase in ram usage each day for you? The max players you had per channel and the uptime of the channel would help me too.

  14. #14
    xHTML/CSS/JS/Ruby LostSpirit is offline
    MemberRank
    Feb 2008 Join Date
    $ gem search -rLocation
    482Posts

    Re: Memory problem

    I searched some forums, got following commands to "clear system cache".

    Code:
    echo 3 > /proc/sys/vm/drop_caches
    sysctl -w vm.drop_caches=3
    was recommended to create a cron script running twice a day.
    maybe can help u.



Advertisement