Memc_pass and upstream

After debugging 6 hours… I’m pretty tired of trying the same things
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: