Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Freemius Debug] Bloated wp7f_fs_logger.ibd database identified #480

Open
astevens93 opened this issue Jan 31, 2024 · 13 comments
Open

[Freemius Debug] Bloated wp7f_fs_logger.ibd database identified #480

astevens93 opened this issue Jan 31, 2024 · 13 comments

Comments

@astevens93
Copy link
Collaborator

Describe the bug
My hosting provider has raised concerns for wp7f_fs_logger.ibd (which is generated by Freemius and Radio Station) is nearly 20gb in size and is creating performance issues.

To Reproduce
Steps to reproduce the behavior:
Check wordpress database files for wp7f_fs_logger.ibd.

Expected behavior
Not as large.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
Is there anyway I can disable Freemius Debugger (I've looked I cannot find anything obvious) that is shown my my wordpress site at the moment, and is there a safe way to remove the freemius database as above to cancel out this issue?

I'm not familiar with the way freemius works, but currently it is bloatware on the site.

Using Radio Station Pro.

@astevens93
Copy link
Collaborator Author

image image

@tonyzeoli
Copy link
Member

tonyzeoli commented Jan 31, 2024 via email

@tonyzeoli
Copy link
Member

Okay, here's the tutorial on turning on/off the Freemus debugger: https://freemius.com/help/documentation/wordpress-sdk/debugging/.

I can't imagine that it's automatically turned on, but I'll ask why that is. Will keep this ticket open until I learn more.

@astevens93
Copy link
Collaborator Author

Thanks @tonyzeoli well that was a nice simple fix, it's disappeared from my WP Menu now, after changing it to false in Wp-config.
I need to clear that database table now...

@tonyzeoli
Copy link
Member

I'm just curious as to how it was activated in the first place. I don't see it activated on the demo site. Were you debugging something a while ago and learned to turn it on? Or, was it always on after it was installed?

@astevens93
Copy link
Collaborator Author

I have a feeling @majick777 was doing some debugging on the site and I never turned it off!

@majick777
Copy link

@astevens93 Sorry if that was the case, I didn't realize this level of debugging information was kept logged.

@tonyzeoli Perhaps we could suggest to Freemius to have a default limit to the number of debug days stored eg. 30, to prevent other Freemius customers from experiencing similar.

@tonyzeoli
Copy link
Member

@majick777 Sure, I can mention that. I think he ended up turning it on himself and just forgot to turn it off. There should be some sort of reminder.

@tonyzeoli
Copy link
Member

This issue is closed.

@astevens93
Copy link
Collaborator Author

Hello again @tonyzeoli @majick777 - this is still an ongoing issue it seems, even though I have turned it off in wp-config.

The file is clearly the Premium RadioStation but the request URL is a completely different API used by a seperate plugin.

I really don't know enough about Freemius to solve this myself - do you suggest I reach out to Freemius directly?
I only ask here because it seems related to RadioStation from the log.

image

@astevens93 astevens93 reopened this Mar 8, 2024
@majick777
Copy link

@astevens93 I sent an email to Freemius support regarding this, they might comment here or get back to my email.

What I'd say it likely is that you possible have another plugin (Metaradio?) installed that also uses Freemius. I believe Freemius has code to only load one instance of itself... so it might be loading Radio Station Pro's Freemius and then performing an action to debug Metaradio? That's my guess but we'll see what Freemius says.

@astevens93
Copy link
Collaborator Author

Thanks @majick777 these are the installs Freemius is installed on - tablepress I am not seeing any issues with or having that logged as the plugin that's logging

image

@majick777
Copy link

@astevens93 Here's the reply from Freemius, I guess they want to double check if debug mode is showing as disabled?

"Could you please ask them to check if debug mode is enabled on this page?
/wp-admin/plugins.php?page=freemius or /wp-admin/network/plugins.php?page=freemius
If that is the case, please ask them to disable the debug mode from that page.

We actually already have an in-progress task that aims to automatically disable the debug mode after 24 hours. You can check the details here:
Freemius/wordpress-sdk#691

Regarding the API calls that you mentioned, those are not coming from our SDK. As @majick777 pointed out, they may be related to another plugin that is also using the SDK. Even when there are multiple Freemius-powered plugins activated on a site, only one instance of the SDK can be active at a time and it's loaded from the plugin/theme that has the latest version of the SDK."

Even then, I'm not sure why Metaradio JSON request endpoints are showing in the Freemius debugger if it isn't a Freemius-related plugin. Perhaps it is just logging all REST endpoint requests as a matter of course for conflict checking...? But I don't think that would be happening unless debug mode is actually still on somehow... have you checked your wp-config.php to make sure there isn't a define statement that is enabling it regardless?

@majick777 majick777 changed the title Bloated wp7f_fs_logger.ibd database identified [Freemius Debug] Bloated wp7f_fs_logger.ibd database identified Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants