cgi script times out

@Greg O’Lone
Have an app that hangs and it seems to be the cgi script:
[Tue Feb 27 13:41:42 2018] [warn] [client] Timeout waiting for output from CGI script /var/www/
[Tue Feb 27 13:41:42 2018] [error] [client] Script timed out before returning headers: ceucertificatemailer.cgi

Anybody got any ideas?

It’s not the script timing out, it’s the app itself.

Check and make sure the app isn’t crashing and that you don’t have any tight loops bogging your app down.