PDA

View Full Version : questions, help



feanor
6th May 2016, 18:35
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

Mitch
6th May 2016, 18:45
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?2215-Fix-for-laggy-servers-will-also-increase-your-penis-size-by-a-factor-100000&highlight=ubuntu


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?2584-Ratelimit-patch-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.



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:


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

IzNoGoD
6th May 2016, 19:18
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?

feanor
6th May 2016, 19:44
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 ?




* Loading cpufreq kernel modules... [fail]
* CPUFreq Utilities: Setting ondemand CPUFreq governor... * disabled, governor 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 values. Common 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 frequency, but 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

Mitch
6th May 2016, 21:37
You can see with 'top' how much cpu percentage can't be used by the server (st).
http://serverfault.com/questions/230495/what-does-st-mean-in-top

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

feanor
9th May 2016, 10:02
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

IzNoGoD
9th May 2016, 13:38
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