Posts: 569
Threads: 170
Joined: Apr 2009
Reputation:
0
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).
Posts: 213
Threads: 30
Joined: Jan 2009
Reputation:
0
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 :/
Posts: 569
Threads: 170
Joined: Apr 2009
Reputation:
0
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!
Posts: 518
Threads: 17
Joined: Oct 2006
Reputation:
0
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?
Posts: 918
Threads: 7
Joined: Aug 2007
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.
Posts: 221
Threads: 19
Joined: Nov 2009
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.
Posts: 518
Threads: 17
Joined: Oct 2006
Reputation:
0
Again, what's the output of cat /proc/cpuinfo?