13.07.2013, 15:05
Hi i search a solution for adjust my problem.
I have an dedicated server,
- CPU: i3 2130
- RAM: 8 Go
- 100 Mbps
When my server lag the CPU use 7% or less, RAM used less to 1 go and 5mbps or less. I understand how my server can LAG with this dedicated server.
I try to use "profiler plugin" for watch if its my script i see this exemply:
I hope you can help me with this, what is S@@_OnPlayerUpdate and S@@_OnPlayerKeyStateChange?
I have this include:
Debian 5 64 it's bad for SAMP? 32 it's better?
I have an dedicated server,
- CPU: i3 2130
- RAM: 8 Go
- 100 Mbps
When my server lag the CPU use 7% or less, RAM used less to 1 go and 5mbps or less. I understand how my server can LAG with this dedicated server.
I try to use "profiler plugin" for watch if its my script i see this exemply:
Quote:
Type Name Calls Self Time Total Time |
PHP код:
WriteFile 7864 0.05 0.62
operator>(Float:,Float:) 1641876 2.19 0.93
toupper 15174904 2.45 0.87
GetPlayerSpecialAction 3429910 0.92 0.33
S@@_OnPlayerUpdate 3255137 31.37 16.11
IsPlayerInArea 1615032 2.16 1.76
Text_FixString 131317 13.26 5.56
OnPlayerUpdate 3255137 8.17 19.00
S@@_OnPlayerKeyStateChange 261531 2.14 2.04
gettime 4599918 8.97 3.17
And other...
I have this include:
Quote:
#include <a_samp> #include <utils> #include <a_mysql> #include <streamer> #include <a_http> #include <foreach> #include <sscanf2> #include <YSI\y_va> #include <YSI\y_commands> |