Welcome! Log In Create A New Profile

Advanced

memc_pass and upstream

August 31, 2012 07:57AM
After debugging 6 hours... I'm pretty tired of trying the same things over and over.
I'm trying to recover some data from multiple memcached servers, I've configure an upstream and using the memc module.
Some how I'm getting all the time gateway timeouts for no explainable reason.

upstream memc_servers {
server 174.123.250.28:11211;
server 184.173.29.131:11211;
}

memc_read_timeout 5s;
memc_connect_timeout 5s;
memc_send_timeout 5s;
memc_next_upstream not_found;

location /main_page {
set $memc_key $host/?$request_uri;
set $memc_cmd get;
default_type text/html;
memc_pass memc_servers;
}

If some one could help it would be appriciated +)
Subject Author Posted

memc_pass and upstream

Arkokat August 31, 2012 07:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready