Jump to content

10-Months in with Clans and now at a ~2000MS Hook Time

Closed 1.0.23 1.1.0

NxG-Chaos
  • in Clans

Hello,

Just wanted to report to you that we have been using the Clans plugin now for around 10 months and noticed that it is slowly taking more "hook time" according to the plugin Performance Monitor.

August 7th Top 5 Plugin Hooktime Report:
"Plugins report": [
    "Clans (1.0.23), Total Hook Time = 1947",
    "CarCommander (0.2.71), Total Hook Time = 63",
    "Ganja (1.0.7), Total Hook Time = 56",
    "EnhancedHammer (2.0.6), Total Hook Time = 54",
    "GridPower (1.0.8), Total Hook Time = 50",

June 17th Top 5 Plugin Hooktime Report:
  "Plugins report": [
    "Clans (1.0.15), Total Hook Time = 1058",
    "NoDecay (1.4.6), Total Hook Time = 164",
    "RaidableBases (2.4.7), Total Hook Time = 70",
    "Ganja (1.0.7), Total Hook Time = 41",
    "GridPower (1.0.8), Total Hook Time = 29",


My suspicion here is that due to us not wiping any of the of "Clan" data after wipe (as many players were pretty excited seeing their stats overall and not clearing each wipe, but we have since obtained a different plugin to keep track of this, SO I would rather the Clans plugin here only keep track per WIPE rather than a global statistic now too.)

Our oxide/data/Clans/PlayerList.json file has reached about 13.5MB in size now too which is what I went suspecting was the issue. Tried removing this PlayerList and doing an oxide.reload Clans after but as soon as the plugin was reloading, it rebuilt the same 13.5MB file almost instantly.

Just looking to see if you might have some insight on why the plugin might be having issues or if you also think it might be do to the mass amount of data, i'm SO willing to wipe out all player data and start fresh now.

I'm just not sure on how to reset all player stats/data mid wipe. Our ClanList file is nice and small and I figured that would keep the clans in-tact while the global stats are reset.


Thanks again for any/all help Mevent!!!
-Chaos/No Problem
Noisy Neighbors

  • Like 1

Share this comment


Link to comment

Wanted to update that I was able to temp fix our lagging issues that this had been causing us by changing the following setting: "Top refresh rate": 43200.00

It had been set to 15 seconds which definitely would cause a slight stutter on the server when that 15 seconds happened. Its just slowly been getting more and more noticeable over the months and now even things like using radar seems to over all run MUCH smoother with this turned down like this. 

We haven't been wiping the clans on new map save either here, but i'm absolutely willing to set this to: "Wipe clans on new map save": true   as long as this would clear the stats of players and start fresh here on that. 

Otherwise if you have a way to easily clear these stats out I think that would do it for us too!

Thanks again for your help when you can Mevent!
 

  • Like 1

Share this comment


Link to comment

Dude your a life saver! I have had this plugin for almost 2yrs and never wiped the data for it. Ive for the last yr been trying to find the lag with 200+ plugins and decided to check this plugin and sure enough I change this to update every 1hr instead of 15 seconds fix the lag for me!. I love you so much you have no idea lol.

Share this comment


Link to comment

Guys, I'm sorry it took me a while to respond to this ticket. I've been working on a solution to this problem for a while now: I'm currently rewriting the way I store the data. In the next update, each player will have his own data file, which will reduce the load on the server.

@NxG-Chaos  @Terskipia

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.6k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.