Greetings.
Just got our web site up and running at:
http://www.greatbigcircle.com
Everything works like a charm on Expression Engine 2.1.0. However, it seems once every day or so the entire site seems to timeout. I don’t get an error message or anything. It just brings up a literal blank page. The entire site. Anything static (HTML pages) not associated with the EE site loads fine.
I contacted Media Temple about this and got this response:
he (gs) Grid-Service uses NFS file systems for the storage segments. Recently we started looking into disabling “file locking” on storage as a means to improve performance and storage segment life. Unfortunately, disabling of file locking has affected some functions on site applications, specifically, site applications that require the use of the PHP function “flock()” to carry out certain tasks.
ExpressionEngine is one of these applications. By default, it requires the use of flock() to create cache files. EE users on other hosting environments that use NFS file systems have experienced similar symptoms with their sites (the EE forums actually describe much worse symptoms), and have provided solutions for the issue.
The short term solution is to clear your site cache via the EE admin control panel, and allow EE to rebuild the cache.
The following is a link to a particular EE forum thread (with a more permanent solution) that specifically addressed issues with file locking and database query caching:
Caching on shared NFS | CodeIgniter Forums
http://ellislab.com/forums/viewthread/150496/#735762However, rather than altering your site’s code, you may want to look into your EE cache settings to see if you have the ability to disable file locking within the administrator control panels.
EE forums and possibly (mt) Media Temple user forums will be of better assistance with getting your EE to work properly within an environment that does not allow file locking.
The link they provided wasn’t extremely clear to me – I wouldn’t know where to begin altering PHP files containing the flock() function. Nor do I really feel like blindly tampering with them.
They also suggested disabling file locking within the EE Admin. I don’t know of a way to do this.
At this point, I’m open to any suggestions and guidance. It seems like I’m close to a solution, just a matter of finding the right approach.
Thank you.