[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about memcached under mod_perl


On 2/27/07, Jonathan Vanasco <suppressed> wrote:
It seems to work fine with a single memcached connection for
everything ( instantiated pre-fork ).

That seems very unlikely to me, unless you are using it in a way that
doesn't cause it to connect before forking.  You can't open sockets,
fork and then use the same socket in both processes.

I suggest loading the module in the parent but not opening any
connections until after the fork.

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.