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

Files Randomly Truncated #186

Open
samrueby opened this issue Nov 19, 2024 · 1 comment
Open

Files Randomly Truncated #186

samrueby opened this issue Nov 19, 2024 · 1 comment

Comments

@samrueby
Copy link

I have been seeing a difficult-to-track-down problem where files seemingly randomly get truncated. I have a strong belief this happens during horizontal scaling. I most-recently saw this with the file /home/site/wwwroot/wp-content/advanced-cache.php, which is used by WP Super Cache, where the file was truncated. This took down our site until I removed the file so the plugin could recreate it.

Is there a quirk with NFS that we should be careful-of? Do plugins need to explicitly handle shared file systems?

@victorlin
Copy link

For the advanced-cache.php file specifically, I've received an email notification about it when removing the plugin. Not sure if it's related.

Dear User,

WP Super Cache was removed from your blog or deactivated but some files could
not be deleted.

/var/www/wordpress/wp-content/advanced-cache.php

You should delete these files manually.
You may need to change the permissions of the files or parent directory.
You can read more about this in the Codex at
https://codex.wordpress.org/Changing_File_Permissions#About_Chmod

Thank you.

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

2 participants