Upstream always NULL

Tigran Bayburtsyan tigran.bayburtsyan at
Mon Dec 7 08:43:25 UTC 2015

function ngx_http_upstream_create , always returning NGX_ERROR . using
Debugger I saw that after this lines

u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t));

    if (u == NULL) {

        return NGX_ERROR;



ngx_ pcalloc always returning null. 

Is there anybody know this issue ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx-devel mailing list