memc_pass and upstream

Arkokat nginx-forum at
Fri Aug 31 11:57:37 UTC 2012

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

 upstream memc_servers {

        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:,230390,230390#msg-230390

More information about the nginx mailing list