i think i solved it, it was due to processes crashing. i ran on an non optimized kernel on ec2. booting with the appropriate kernel seems to have solved it Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271269,271283#msg-271283