Hi, I found most times using "r" after ngx_http_free_request() won't have any problem. the core dump would happen once for a while in the high load. I am wondering if the "ngx.pfree" does not return the memory back to the os when it's called? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289296,289346#msg-289346