WhoAmI Posted February 28, 2015 Share 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. Link to comment
MTA Team ccw Posted February 28, 2015 MTA Team Share Posted February 28, 2015 Does the network trouble happen for several players at the same time? Link to comment
MTA Team ccw Posted March 1, 2015 MTA Team Share Posted March 1, 2015 Use performance browser and check 'Lua timings' during the problem. Link to comment
WhoAmI Posted March 1, 2015 Author Share 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. Link to comment
WhoAmI Posted March 1, 2015 Author Share Posted March 1, 2015 Got it. http://snag.gy/0A5XA.jpg Link to comment
MTA Team ccw Posted March 2, 2015 MTA Team Share Posted March 2, 2015 Upload the 'A_Characters' and 'core' resources here: http://upload.mtasa.com/ and give the link Link to comment
WhoAmI Posted March 2, 2015 Author Share Posted March 2, 2015 http://upload.mtasa.com/u/654940218/resources.rar_ Link to comment
MTA Team ccw Posted March 2, 2015 MTA Team Share 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. Link to comment
WhoAmI Posted March 2, 2015 Author Share Posted March 2, 2015 Code have to look like this? http://upload.mtasa.com/u/968738946/test.lua_ Link to comment
WhoAmI Posted March 2, 2015 Author Share Posted March 2, 2015 Okey, after changes code works fine. We will see if there won't be any NT anymore. Link to comment
WhoAmI Posted March 2, 2015 Author Share 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? Link to comment
MTA Team ccw Posted March 2, 2015 MTA Team Share Posted March 2, 2015 How many player do you have when the problem occurs? Link to comment
WhoAmI Posted March 2, 2015 Author Share Posted March 2, 2015 That's strange because only 1, max 3. Link to comment
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