WhoAmI Posted February 28, 2015 Posted February 28, 2015 Hi. I have problem with my server, it gets sequential network troubles. I don't know what can cause such a thing. Usage of VPS doesn't exceede even 50%. I don't think that it can be problem with some script neither. What can be a problem? I also checked server's logs to see if there is any error before NT, but there isn't any error.
MTA Team ccw Posted February 28, 2015 MTA Team Posted February 28, 2015 Does the network trouble happen for several players at the same time?
MTA Team ccw Posted March 1, 2015 MTA Team Posted March 1, 2015 Use performance browser and check 'Lua timings' during the problem.
WhoAmI Posted March 1, 2015 Author Posted March 1, 2015 Well, it's hard to do, tho. This network trouble last only for a moment, but I'll try to do that.
MTA Team ccw Posted March 2, 2015 MTA Team Posted March 2, 2015 Upload the 'A_Characters' and 'core' resources here: http://upload.mtasa.com/ and give the link
WhoAmI Posted March 2, 2015 Author Posted March 2, 2015 http://upload.mtasa.com/u/654940218/resources.rar_
MTA Team ccw Posted March 2, 2015 MTA Team Posted March 2, 2015 The problem is dbPoll(..,-1), as that will freeze the server until the query has completed. Fix it by using the callback option in dbQuery. I suspect your 'checkdata' function is the cause of the Network Trouble, as it will be calling dbPoll(..,-1) many times, so update that function first.
WhoAmI Posted March 2, 2015 Author Posted March 2, 2015 Code have to look like this? http://upload.mtasa.com/u/968738946/test.lua_
WhoAmI Posted March 2, 2015 Author Posted March 2, 2015 Okey, after changes code works fine. We will see if there won't be any NT anymore.
WhoAmI Posted March 2, 2015 Author Posted March 2, 2015 NT again. Is it possible that it is OVH problem? I have there best classic VPS. In performencebrowser A_Characters still has sometimes 30%-40% of server usage. And can I set somewhere that server can use more CPU or RAM?
MTA Team ccw Posted March 2, 2015 MTA Team Posted March 2, 2015 How many player do you have when the problem occurs?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now