Welcome! Log In Create A New Profile

Advanced

About cleanup of subrequests

Chieu
November 17, 2010 03:16AM
HI,ALL

I have written a nginx module which may produce thousands of
subrequests.Each subrequest may connect to the upstream and fetch
data.
Like map-reduce, my module map the main request to many subrequest and
reduce the datas fetched from upstreams.

So,the problem comes. Since nginx free the memory when the main
request ends, all my subrequest can't be cleaned up until the main
request finished.
The memory that subrequests occupied will become very large.

Can somebody tell me how can free the memory which subrequests applied
when this subrequest finished?

Thanks

--
Regards
LF Chieu

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

About cleanup of subrequests

Chieu November 17, 2010 03:16AM

Re: About cleanup of subrequests

Chieu November 17, 2010 03:38AM

Re: About cleanup of subrequests

agentzh November 17, 2010 07:40AM

Re: About cleanup of subrequests

Chieu November 17, 2010 09:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready