nginx-gridfs
nginx-gridfs copied to clipboard
Memory leaks in current version
I try the latest version of nginx-gridfs, and I found after served about 2,500,000 file via gridfs, each nginx worker will eat up about 260MB of memory, and still increasing. but if I setup nginx to serve static file(a txt file on my disk), memory usage of each nginx worker aways stay at about 800KB event after serve more then 100,000,000 static files.
so i think there must be a memory leak somewhere in nginx-gridfs or mongo-c-driver. can someone fix this up?
I confirm this issue. very strong memory leaks
I've just merged abbat's fixes - can anybody confirm that that closes this issue?
Ok, I'll give it a try next monday.
Please, test situation when file length is zero or file is not exists in gridfs - possible patch is kiwanami/nginx-gridfs@6c5af6c2c19af67f0990474316a0d39c1c35b807