Hi,

I don't have a link just now (typing on my phone [which is also why I'm top posting, sorry]) but the Passenger FAQ has a little section on Memcached and how to work with it.

You have to tell Passenger to reset the connections when it forks a new application instance. A Google for something like "Passenger Memcached Reset environment.rb" should get you the FAQ entry.

Cheers,
Craig
--
Craig Webster | http://barkingiguana.com/
Xeriom Networks | http://xeriom.net/

On 4 May 2009, at 08:23, kineticac <[email protected]> wrote:


Is this the right place to post help for memcached and rails apps?

My rails app is running great in development with memcached, but when
I tossed it up on production, with the exact same setup, it stopped
working with very little error messaging.

I'm using Phusion Passenger which runs Apache, Ruby Enterprise,
memcach-client gem, and of course memcached.

I keep hearing about a lot of issues (inconsistent) with passenger and
memcached, and then with REE and memcached, but can't seem to find a
definitive answer to any of these.  I feel like all production servers
use REE, passenger, and memcached together more often then not.  I'm
not sure how to address these problems and what special items I need
to setup.

If anyone has any info on what differences I need to take on a
production server that might differ from my development?

Thanks

Reply via email to