Spent two hours trying to troubleshoot this.

The fix turns out to be pretty simple, add the following variables to /etc/httpd/conf/httpd.conf and tune them according to your requirement