Hello, As agentzh mentioned eval was causing the problem. I replaced eval with lua and after changing the configuration accordingly I haven't seen any segfaults again. Thanks everybody for the help Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247886,248324#msg-248324