SA-MP Forums Archive
0.3z version sometimes lags - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: 0.3z version sometimes lags (/showthread.php?tid=495237)



0.3z version sometimes lags - ATomas - 16.02.2014

Hello,
I changed it to version 0.3z yesterday. On my server plays 200-300 players. The problem is that the running application "samp03svr" duplicates a server starts to lag.

State ok:


State lags:



Re: 0.3z version sometimes lags - Kyle - 16.02.2014

How many cores and what processor is it?


Re: 0.3z version sometimes lags - ATomas - 16.02.2014

4x2.4GHz (Intel Quad-core 2.4GHz)
0.3x and earlier version worked perfectly


Re: 0.3z version sometimes lags - Kyle - 16.02.2014

Quote:
Originally Posted by ATomas
Посмотреть сообщение
4x2.4GHz (Intel Quad-core 2.4GHz)
0.3x and earlier version worked perfectly
That is some high CPU for 4 cores, did you edit any code when you released 0.3z in OPU etc?


Re: 0.3z version sometimes lags - ATomas - 16.02.2014

I did not change code when I released to 0.3z
I use the same code as the 0.3x


Re: 0.3z version sometimes lags - Kalcor - 16.02.2014

The SA-MP server doesn't start itself. Do you have some script starting it?


Re: 0.3z version sometimes lags - Redirect Left - 16.02.2014

Since 0.3z, I also get small amounts of lag, but on a much smaller size server (35 max players).
samp03svr has 5 processes in 'htop', although only two of them generate any sort of meaningful CPUTIME between them.
Not sure, does lag compensation greatly increase potential lag or give a lot of extra CPU load compared to previous versions?


Re: 0.3z version sometimes lags - iBeast - 16.02.2014

Well, I got lag too on my Linux based host which wasnt there when I had 0.3x.
Note:
its a 6 core CPU and maximum players are 500.


Re: 0.3z version sometimes lags - ATomas - 17.02.2014

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
The SA-MP server doesn't start itself. Do you have some script starting it?
I starting server manually using the web administration (no auto start after crash)
Код:
exec("pkill samp03svr");
exec("cd /7777; ./samp03svr > /dev/null &");



Re: 0.3z version sometimes lags - Guest4390857394857 - 17.02.2014

Quote:
Originally Posted by ATomas
Посмотреть сообщение
I starting server manually using the web administration (no auto start after crash)
Код:
exec("pkill samp03svr");
exec("cd /7777; ./samp03svr > /dev/null &");
above works!