Results 1 to 7 of 7

Thread: questions, help

  1. #1
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts

    questions, help

    hi i am using ubuntu 14.04 can you help me about these issues

    1) i am running 3-4 cod2 servers in same machine.. they have 32 + 32 + 20 +12 slots.. when all servers full ping increasing on 32 slots servers but not increasing on 20-12 slots servers why ? is there allocate cpu-ram options or so what ?

    2) is there any options decrease the ping with protocols,dns.. ? when i put cl_maxpackets 100 i have same ping when i put cl_maxpackets 30? why not decreasing when i put cl_maxpackets 30 ?

    3) how can i fix /openscriptmenu asd endround glitch.. thanks

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by feanor View Post
    hi i am using ubuntu 14.04 can you help me about these issues

    1) i am running 3-4 cod2 servers in same machine.. they have 32 + 32 + 20 +12 slots.. when all servers full ping increasing on 32 slots servers but not increasing on 20-12 slots servers why ? is there allocate cpu-ram options or so what ?
    What are the specs of your server?
    So when you have 4x (empty) 32 slots server then the ping of all those game servers are very high?

    Edit: i think cod2 allocates a fixed memory size for each slot. If you server has enough free ram then this shouldn't be a problem when your servers are empty.
    Edit 2: Also see https://killtube.org/showthread.php?...ghlight=ubuntu

    Quote Originally Posted by feanor View Post
    2) is there any options decrease the ping with protocols,dns.. ? when i put cl_maxpackets 100 i have same ping when i put cl_maxpackets 30? why not decreasing when i put cl_maxpackets 30 ?
    Maybe https://killtube.org/showthread.php?...tch-must-apply ?
    Ping is about how fast the one packet is send to the server and processed by your server.
    If your own connection can handle 100 packets per second and your server can process them in time then your ping will stay the same as when you were sending 30 packets.

    Quote Originally Posted by feanor View Post
    3) how can i fix /openscriptmenu asd endround glitch.. thanks
    This can be fixed in your _menus.gsc. You need to remove or fix the following code from iw_15:

    PHP Code:
    if(response == "endround")
    {
        
    level thread [[level.endgameconfirmed]]();
        continue;

    Last edited by Mitch; 6th May 2016 at 18:58.

  3. The Following User Says Thank You to Mitch For This Useful Post:

    kung foo man (7th May 2016)

  4. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    You forgot to mention the details about "your machine".

    Is it a super-duper ultra-fast box, or is it a 1 euro/month vps with an ipv4 address which eats up almost all of the money on its own already?

    Your endround stuff is in menus.gsc.

    Also: your mod might be the culprit here. Can you try with JUST a full 32 slot server?
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  5. #4
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    6cpu vcores 2.40 ghz , 30 gbram and bla bla.. when i got around 100 players cpu usage was %40.. i am running vps thats why i have this error ?

    PHP Code:

     
    Loading cpufreq kernel modules...                                     [fail]
     * 
    CPUFreq UtilitiesSetting ondemand CPUFreq governor...                       * disabledgovernor not available...                                   [ OK ]
    Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
    Processing triggers for ureadahead (0.100.0-16) ...

    analyzing CPU 0:
      
    no or unknown cpufreq driver is active on this CPU
      maximum transition latency
    4294.55 ms.
    analyzing CPU 1:
      
    no or unknown cpufreq driver is active on this CPU
      maximum transition latency
    4294.55 ms.
    analyzing CPU 2:
      
    no or unknown cpufreq driver is active on this CPU
      maximum transition latency
    4294.55 ms.
    analyzing CPU 3:
      
    no or unknown cpufreq driver is active on this CPU
      maximum transition latency
    4294.55 ms.
    analyzing CPU 4:
      
    no or unknown cpufreq driver is active on this CPU
      maximum transition latency
    4294.55 ms.
    analyzing CPU 5:
      
    no or unknown cpufreq driver is active on this CPU
      maximum transition latency
    4294.55 ms.
    root@vmi67451:~# sudo cpufreq-set -c 0 -g performance
    Error setting new valuesCommon errors:
    - Do 
    you have proper administration rights? (super-user?)
    Is the governor you requested available and modprobed?
    Trying to set an invalid policy?
    Trying to set a specific frequencybut userspace governor is not available,
       for 
    example because of hardware which cannot be set to a specific frequency
       
    or because the userspace governor isn't loaded? 
    Edit 1 : when i was running 32 slot server alone , i got same problem . when i runned 32 +20,when they are full both , 32 slot servers ping increased but 20 slot servers ping didnt increased. so i have an allocate problem ? i have enough ram

    Edit 2 : how can i update my libcod ? i am noob

    Edit 3 : fixed endround stuffs thanks
    Last edited by feanor; 6th May 2016 at 19:57.

  6. #5
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    You can see with 'top' how much cpu percentage can't be used by the server (st).
    http://serverfault.com/questions/230...st-mean-in-top

    Edit: that cpufreq post is only for dedicated servers and not for VPS.

  7. #6
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    yes i know this but as i saidi have enough of cpu and ram , just what can i do for allocate

    a new question : how can i open a file to ftp ? i mean i want to open just pbss folder to ftp without username and password

  8. #7
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Your cpu resources are most likely shared, and during peak time the memory on the host node might be full as well, causing it to swap, which, in turn, causes lagg.

    Read more about how to set up an ftp server here:
    www.google.com
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •