WhoAmI

Network Trouble

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.

Share this post


Link to post

Does the network trouble happen for several players at the same time?

Share this post


Link to post

Well, it's hard to do, tho. This network trouble last only for a moment, but I'll try to do that.

Share this post


Link to post

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.

Share this post


Link to post

Okey, after changes code works fine. We will see if there won't be any NT anymore.

Share this post


Link to post

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?

Share this post


Link to post

How many player do you have when the problem occurs?

Share this post


Link to post

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.