SA-MP Forums Archive
[HELP] My server has lag please help mev - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [HELP] My server has lag please help mev (/showthread.php?tid=146777)



[HELP] My server has lag please help mev - Raphael_Santos - 09.05.2010

Hello everyone Forum SA-MP, I need your help more than ever.
I am Brazilian and I used a translator to translate it so sorry if it is poorly translated or if it fails to understand very well.
My server there are six months is going through a very difficult situation.
He has a horrible lag, this lag is making a teleport at the time you see someone running.
I prepared showing a video for you to see and analyze my case because I do not know what else to do, and I'm losing players due this lag.

Teste de Teleport

This lag above occurs when the server reaches more than 70 + or 80 + players online.
Please watch this video and try to help me since I really need your help, so I come aki humbly ask this for you.

Recalling also that I am hosting my server on a VPS on Linux, see the settings

Processor: 2.4 GHZ Core 1
RAM: 1 GB
Hard Drive: 40 GB
Operating System: CentOS
Link Full Duplex: 14 Mbps



Now check my settings from my "server.cfg".

echo Executing Server Config...
lanmode 0
rcon_password notnotnotidontnow
maxplayers 175
port 7777
hostname Brasil PlayForever [RPG v 2.4]
gamemode0 BPF
filterscripts
announce 1
query 1
mapname Brasil RPG
weburl www.playforever.forumeiros.com
anticheat 0
maxnpc 0
onfoot_rate 45
incar_rate 45
weapon_rate 45
stream_distance 230.0
stream_rate 1500


Recalling also aki is the pawn that says when it finishes compiling

Header size: 9288 bytes
Code size: 2101596 bytes
Data size: 4524568 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5253 cells (21012 bytes)
Total requirements: 6651836 bytes



Also making it clear that I use the version 0.3A R7.
And to my game mode is a God Father Translated and edited for the PT BR



Re: [HELP] My server has lag please help mev - ruarai - 09.05.2010

IP, just want to see what kind of lag


Re: [HELP] My server has lag please help mev - [MWR]Blood - 09.05.2010

Quote:
Originally Posted by яυαяαι
IP, just want to see what kind of lag
Look at the video dude..
Rps have lag.
You can fix it, by optimizing your gamemode, or buy a host if you are hosting the server from your PC.


Re: [HELP] My server has lag please help mev - ruarai - 09.05.2010

Just cause its lagging for him/her it doesn't mean it lags for everyone, i just want to see it myself..


Re: [HELP] My server has lag please help mev - [MWR]Blood - 09.05.2010

Quote:
Originally Posted by яυαяαι
Just cause its lagging for him/her it doesn't mean it lags for everyone, i just want to see it myself..
Quote:

I prepared showing a video for you to see and analyze my case because I do not know what else to do, and I'm losing players due this lag.



Re: [HELP] My server has lag please help mev - Raphael_Santos - 09.05.2010

IP is 189.1.168.54:7777
I'm hosting in a VPS server
and the lag is yes to all players

use "/relogio" to turn the clock game
and you will see that he goes three times in 3 seconds


Re: [HELP] My server has lag please help mev - Calgon - 09.05.2010

RAM: 1 GB.

There's your answer, I believe.


Re: [HELP] My server has lag please help mev - Burridge - 09.05.2010

Adding on to what Freddo said. I noticed your server has over 70 players on, with 1GIG of RAM, on an edited GF edit, which GF itself is poorly optimized, as you can tell by:

Код:
Header size:      9288 bytes
Code size:     2101596 bytes
Data size:     4524568 bytes
Stack/heap size:   16384 bytes; estimated max. usage=5253 cells (21012 bytes)
Total requirements: 6651836 bytes
You need to do some serious Code optimizations dude.


Re: [HELP] My server has lag please help mev - Raphael_Santos - 09.05.2010

Код:
Header size:      9288 bytes
Code size:     2101596 bytes
Data size:     4524568 bytes
Stack/heap size:   16384 bytes; estimated max. usage=5253 cells (21012 bytes)
Total requirements: 6651836 bytes
[/quote]

Which of these numbers are too high or too low, and how can I solve them?


switch arrays for SetPVarInt() help with something?


Re: [HELP] My server has lag please help mev - Raphael_Santos - 09.05.2010

UP
Please help me because I really need to