Server lag?
#1

Server info:

44015 rows
amx - 3.29mb
~15 timers of which ~3 are under 1sec and has foreach in it.


this gamemode is runing on 2Ghz, 2048mb, 20Mbs VPS. Players feel lag using cmds and speedo textdraw lags even if it is set on 150ms.

May it be server problem?

20-40 players in server.
Reply
#2

Hey there Ajwar.

I'm guessing you're using Linux, if so, could you let me know the output of the 'top' command?

Example:
Код:
top - 21:08:16 up 5 days,  9:19,  1 user,  load average: 0.00, 0.00, 0.00
Tasks:  80 total,   1 running,  79 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni, 100%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    500840k total,   490324k used,    10516k free,    33492k buffers
Swap:  1048568k total,     1656k used,  1046912k free,   383104k cached
Reply
#3

top - 23:23:16 up 25 days, 56 min, 1 user, load average: 0.19, 0.44, 0.52
Tasks: 71 total, 2 running, 69 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.7%us, 0.8%sy, 0.0%ni, 96.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2097152k total, 1311172k used, 785980k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
Reply
#4

Everything looks okie dokie on the server load point of view.
The load averages seem okay, and there's no disk wait (0.0%wa), which is a common occurrence with oversold VPSs.

I'd recommend you have a peak through the scripting forum, where they'd be able to help you further.

Sorry I couldn't help you any more, but at least you'll be able to cancel out the 'vps-is-the-problem' vector
Reply
#5

yes, thank's
Reply
#6

The resources like RAM, disk and CPU aren't the problem. It is your internet connection. I normally count around 0.75mbps per connected player. Is the issue the same with only 15 players or something?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)