Hi folks
I want to increase the number of memcache servers in our Cache::Memcached
app as my timing suggests we are seeing contention for the memcache in high
load situations.
So I changed the code to start several servers using unix sockets.
The previous code started one memcache instance using a single unix socket.
And in fact, the memcache instances are up and running. Netstat shows the
listening sockets.
But when I try to connect to them with Cache::Memcached, I see this error:
[Wed Jun 11 20:05:57 2008] [error] Insecure dependency in connect while
running setgid at /usr/lib/perl5/site_perl/5.8.5/Cache/Memcached.pm line
203.\n
I dumped out the hash ref I¹m passing to the Memcached constructor. It is:
$VAR1 = {
'debug' => 1,
'servers' => [
'/tmp/memd_sock_Q2mgpEt3PG',
'/tmp/memd_sock_uU9zYPViTl',
'/tmp/memd_sock_uBAK41gg1K',
'/tmp/memd_sock_RT4iK1FHTs',
'/tmp/memd_sock_YnOzI5Co8b',
'/tmp/memd_sock_VU4h3ThToE',
'/tmp/memd_sock_L4FPMPkr8r',
'/tmp/memd_sock_kcL6bXBam6'
]
};
which looks good to me.
The sockets were created by memcached, and are owned by apache, which is the
uid of the client.
E.g.:
srwxr-xr-x 1 apache apache 0 Jun 11 17:22 /tmp/memd_sock_Q2mgpEt3PG
which looks good to me.
Any pointers on what taint mode wants here? I¹m puzzled.
-- jeff