Posts: 12
	Threads: 3
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		Hey, i have lag problem in my server.
CPU Usage %2~5 and i got 1gb free ram still. Is it because of network connection?
btw i use ******' timers instead of settimer.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 17
	Threads: 0
	Joined: Jan 2015
	
Reputation: 
0
	 
	
	
		Can we take a look at your OnPlayerUpdate callback?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 104
	Threads: 0
	Joined: Jan 2015
	
Reputation: 
0
	 
	
	
		May be it's a silent DDoS.
Try to buy a Gameserver host for your SA-MP server it's better then SA-MP on VPS.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 175
	Threads: 5
	Joined: Oct 2011
	
Reputation: 
0
	 
	
	
		What is your network allowance/speed?
How is your MySQL connected?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 12
	Threads: 3
	Joined: May 2014
	
Reputation: 
0
	 
	
	
		100mbit shared network, im using mysql at localhost, i store most data at arrays to avoid mysql traffic
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 1,830
	Threads: 49
	Joined: Nov 2014
	
Reputation: 
0
	 
	
	
		This can be caused by many different things, huge inefficient saving systems, too many timers, using OnPlayerUpdate or big/infinite loops.