Jump to content

xmll.so - Cause for lag?


knash94

Recommended Posts

Posted

Hello,

now that my new vps is up, everything seems to be going fine except for Castillo's rpg server and a few issues with my freeroam server. They are both receiving massive amounts of lag (Chat lag & time out message for a long period of time, around 15 seconds at times) but when we turn off some resources that use XML the lag seems to go. and well, as varez pointed out on the scripting section. Castillo uses a lot of XML files and can't really expect him to convert it all to SQLite/mysql. Just wondering if anyone has experienced such issues in the past. I have contacted my host and they have tried there best to fix the issues but it just won't work.

Server stats/performance:

Centos 5.x x86_64

RPG Server:

2.2% cpu

0.9% mem

Freeroam server:

0.5% cpu

1.1% mem

I have done pings, traceroutes in and from the server. Nothing seems to be wrong there, everything else seems to run fine (We have cpanel/sql/apache and stuff running too, but shouldn't cause this much lag seeings we run 1 website)

Before writing this post I noticed robhol had the same issue (viewtopic.php?f=106&t=25878&p=299316&hilit=lag#p299316) and also, I have used performance monitor and attended to the high resource usage scripts but still not fixed.

Please write back if you have had the same issue

:?

Posted

problems like that can't be caused only by xml i think..

dunno how to help you..

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

  • MTA Team
Posted

I think the main bottle neck for xml files is the loading and saving. Try modifying the scripts to minimize that.

If you want to, PM me parts of Castillo's scripts, and I can look over them for any performance issues.

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...