Memc_pass and upstream

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 +)

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,230390,230390#msg-230390

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs