Mounting read only took down entire site
-
I installed Super Cache and it was working fine. Then my host had an issue and mounted the volume as read only. Suddenly my website would not load at all and was having fatal errors.
Warning: fopen(/mounted-storage/MyHome/www/wordpress/wp-content/cache/wp_cache_mutex.lock) [function.fopen]: failed to open stream: Permission denied in /mounted-storage/MyHome/www/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 98
Couldn’t write to: /mounted-storage/MyHome/www/wordpress/wp-content/cache/wp-cache-b948cad31c816ac4765e91dd2274988f.html
Warning: flock() expects parameter 1 to be resource, boolean given in /mounted-storage/MyHome/www/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 107Warning: fopen(/mounted-storage/MyHome/www/wordpress/wp-content/cache/meta/wp-cache-b948cad31c816ac4765e91dd2274988f.meta) [function.fopen]: failed to open stream: Read-only file system in /mounted-storage/MyHome/www/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 362
Would it be possible to include a check in Super Cache that if it fails to open the wp_cache_mutex.lock file it does not take down the entire site. It should have some fallover support in case this happens.
Thankyou.
- The topic ‘Mounting read only took down entire site’ is closed to new replies.