• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[TFS 1.0] Lag in Server, HELP!

  • Thread starter Thread starter Deleted member 141899
  • Start date Start date
Status
Not open for further replies.
D

Deleted member 141899

Guest
Hello guys, I need a lot of help. I currently have a tfs 1.0 server running on a dedicated with 128GB of Xeon E3-1260 processor ram. Since the opening of the server is something very strange going on. every day from 17 o'clock start giving a constant lag (freezes) and only stop when restart the server. Gives no error in the distro, already I checked almost all scripts and there seems to be no mistake. No matter how many players have online, the server is no lag all day and from 17:00 beginning, very strange. I also realized that from 17:00 cpu usage increases as you can see in the picture:

cpu.png


I dont get my sources from github, i think have a problem with sources that causes it, please help me!
 
Code:
<globalevents>
    <!-- Gray Island Bosses -->
    <globalevent name="grayIslandBosses" type="startup" script="gray island/grayIslandBosses.lua"/>

    <!-- Demon Oak Quest -->
    <globalevent name="DemonOakVoices" interval="15000" script="demon oak quest/voices.lua"/>

    <!-- Spawn -->
    <globalevent name="horseSpawn" time="08:00" script="spawn/horse.lua"/>
    <globalevent type="startup" name="RashidSpawn" script="spawn/RashidSpawn.lua"/>
    <globalevent type="startup" name="CilliaSpawn" script="spawn/CilliaSpawn.lua"/>
   
    <!-- World Changes -->
    <globalevent name="furyGate" type="startup" script="worldchanges/furygate.lua"/>
    <globalevent name="horestis" type="startup" script="worldchanges/horestis.lua"/>

    <!-- Others -->
    <globalevent type="startup" name="ServerStartup" script="others/startup.lua"/>
    <globalevent type="record" name="PlayerRecord" script="others/record.lua"/>
    <globalevent name="shop" interval="30000" script="others/shop.lua"/>
        <globalevent name="shopguild" interval="30000" script="others/shopguild.lua"/>
        <globalevent name="shopevent" interval="30000" script="others/shopevent.lua"/>
    <globalevent name="warSystem" interval="3000000" script="others/warEnd.lua"/>
    <globalevent name="globalSave" time="05:00" script="others/serverSave.lua"/>
    <globalevent name="save" interval="18000000" script="others/save.lua"/>
    <globalevent name="RentedMounts" interval="15000" script="others/checkMount.lua"/>
    <globalevent name="cleanHouse" time="15:00" script="others/cleanHouse.lua"/>
        <globalevent name="RaidSystem" interval="10000" script="raids.lua"/>
</globalevents>
 
Well, it's surely a global. You seem to be brazilian, as your avatar shows a brazilian server. I suspect it is your cleanHouse script is running 18:00 (15:00 in Brazil) and causing a severe increase in CPU usage, which is fine. Move it to midnight and check if the spike changes accordingly.
 
Yes, im brazilian, I suspect it may be something related to the sources, I downloaded this datapack in forum there are people who implement scripts to harm others ..

I found that no matter the schedule, the lag starts after 12 hours of uptime, the lag remains until I reboot the server ..

i removed several bugs in scripts, revised as well and does not appear to be something on lua, but the sources, but very difficult to find .. I'm trying to adapt to tfs 1.1 but I'm having a lot of work because I am using items.otb which are not official

i need to fix this lag or I will have big problems; x
 
Status
Not open for further replies.
Back
Top