Thursday, August 9, 2012

Re: Intermittent cache write failures with files or memcached - NginX, PHP-FPM, Load Balanced

What is the error you are getting then attempting to re-write cache?
OR is it that the code is not reaching the write to cache stage?

Tarique

On Thu, Aug 9, 2012 at 10:03 PM, Ryan Willis <technosis@gmail.com> wrote:
> Howdy :)
>
> To give you a feel for the environment, we have a highly available
> configuration of two load balanced web servers and two database servers
> (master/slave). We are using CakePHP 2.2.1 on NginX and PHP-FPM with PHP
> 5.4. We are noticing intermittent cache write failures despite having tried
> both file based caching and memcached. For file based caching, even with
> permissions being 777 and the umask set to 777, a cache file cannot be
> overwritten once it is written. On the memcached side, the store failures
> follow the same pattern. Once it has been written, it cannot be overwritten
> when it expires.
>
> I am at a loss. At first I thought it had something to do with our file
> syncing on the web servers but then we moved to memcached to sitestep the
> issue and we are having the same problem. Any ideas?
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>



--
=============================================================
PHP for E-Biz: http://sanisoft.com
=============================================================

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate