I'm using memcached as my session handler in PHP. I setup a second Wordpress instance on a new domain and now ALL vhosts start really slow (from 200ms to 8 seconds).
I have seperate document roots, databases,... but all domains share the same session namespace memc.sess.key.<session_id>
, which is, I think, the issue for the latency.
How can I change the prefix for each domain used in PHP session?
E.g.
memc.sess.domain1.key.<session_id>
memc.sess.domain2.key.<session_id>