Single players start lagging and collapse
#1

Yes, Iґm serious with that. Since some days, random players just start lagging, first the chatbox lags a bit, then more and at the end it collapses and you cannot do anything but relog. I dont know why, but I guess its not caused by the server (Linux VPS, random player amounts from 10 to 40 players, CPU usage ~30% with 30 players).
Reply
#2

I had this same problem when I am using bots and stuff.

what i found out was it seemed to be the bots were calling the OnPlayerUpdate function so we need to stop it with if(IsPlayerNPC(playerid)) return 1;
well at least this worked for me :/
Reply
#3

Seems to better due to R4.
Reply
#4

It has become more and more, now around 40% of all players are lagging like fuck. The CPU usage is still at 50%, 60 players connected. It happens randomly, first you lag only a bit and then harder and harder (random too).

HELP PLEASE!
Reply
#5

Either the gamemode is very inefficient or the server is not powerful at all (probably both).
What is the output of cat /proc/cpuinfo and free -m?
Reply
#6

What kinda script is it?, How many lines what does it do etc? more information please because for all you know it could be script casuing lag just like GF the fact it saves all accounts every second = major lag once lots of players are online.
Reply
#7

free -m output is


Код:
       total    used    free   shared  buffers   cached
Mem:     1024     80    943     0     0     0
-/+ buffers/cache:     80    943
Swap:     1024     0    1024
htop / top is displaying CPU usage at around 40% with 50 players connected.

Today we did not have this issue - we are assuming it was a (D)DoS attack.
Reply
#8

In my opionion, Linux lagggs like hell, I'd say from what I've gatherd that you internet connection ( Your Server's ) Isnt fast enough to deal with soo many people and your Server computer dosnt have the power/memory to deal with it.
Reply
#9

It has got a 100MB/s-network-connection, that should be enough.
Reply
#10

Again, what's the output of cat /proc/cpuinfo?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)