Jump to content

Network Trouble


WhoAmI

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...