Hi all,
My web app sometimes closes by itself, no matter when the user is working on the app or when it is idle. Below is part of the error log captured from Apache, can someone please give me hints where about in my code could cause the error? Thanks in advance.
p.s. app doesn’t close that frequent but Apache just keep recording errors
[Tue Feb 13 10:53:52.584145 2018] [cgi:error] [pid 7149] [client 192.168.2.5:45792] Script timed out before returning headers: unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:54:22.590821 2018] [cgi:warn] [pid 7149] [client 192.168.2.5:45792] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:54:55.886558 2018] [cgi:warn] [pid 9189] [client 192.168.2.5:45844] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:54:55.886634 2018] [cgi:error] [pid 9189] [client 192.168.2.5:45844] Script timed out before returning headers: unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:55:25.892785 2018] [cgi:warn] [pid 9189] [client 192.168.2.5:45844] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:55:59.236528 2018] [cgi:warn] [pid 7467] [client 192.168.2.5:45953] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:55:59.236612 2018] [cgi:error] [pid 7467] [client 192.168.2.5:45953] Script timed out before returning headers: unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:29.243802 2018] [cgi:warn] [pid 7467] [client 192.168.2.5:45953] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:40.183166 2018] [cgi:error] [pid 7153] [client 192.168.2.5:46006] AH01215: Use of uninitialized value $length in subtraction (-) at /var/www/html/cgi/UnicornWeb/unicornweb.cgi line 131.: /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:40.183487 2018] [cgi:error] [pid 7153] [client 192.168.2.5:46006] AH01215: Use of uninitialized value $length in numeric eq (==) at /var/www/html/cgi/UnicornWeb/unicornweb.cgi line 130.: /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:40.184076 2018] [cgi:error] [pid 7153] [client 192.168.2.5:46006] End of script output before headers: unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:44.675906 2018] [cgi:error] [pid 7151] [client 192.168.2.5:46015] AH02811: script not found or unable to stat: /var/www/html/cgi/UnicornWeb/xojo, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:49.696042 2018] [cgi:error] [pid 9706] [client 192.168.2.5:46023] AH02811: script not found or unable to stat: /var/www/html/cgi/UnicornWeb/xojo, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:54.717103 2018] [cgi:error] [pid 7307] [client 192.168.2.5:46029] AH02811: script not found or unable to stat: /var/www/html/cgi/UnicornWeb/xojo, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:56:59.737578 2018] [cgi:error] [pid 11265] [client 192.168.2.5:46031] AH02811: script not found or unable to stat: /var/www/html/cgi/UnicornWeb/xojo, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:57:04.759593 2018] [cgi:error] [pid 9189] [client 192.168.2.5:46034] AH02811: script not found or unable to stat: /var/www/html/cgi/UnicornWeb/xojo, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:57:09.780119 2018] [cgi:error] [pid 7294] [client 192.168.2.5:46039] AH02811: script not found or unable to stat: /var/www/html/cgi/UnicornWeb/xojo, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:57:14.796364 2018] [cgi:error] [pid 11223] [client 192.168.2.5:46041] AH02811: script not found or unable to stat: /var/www/html/cgi/UnicornWeb/xojo, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:57:47.766747 2018] [cgi:warn] [pid 7307] [client 192.168.2.5:46059] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:57:47.766824 2018] [cgi:error] [pid 7307] [client 192.168.2.5:46059] Script timed out before returning headers: unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:57:48.059331 2018] [cgi:warn] [pid 9189] [client 192.168.2.5:46064] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:57:48.059393 2018] [cgi:error] [pid 9189] [client 192.168.2.5:46064] Script timed out before returning headers: unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:58:17.767100 2018] [cgi:warn] [pid 7307] [client 192.168.2.5:46059] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:58:18.090006 2018] [cgi:warn] [pid 9189] [client 192.168.2.5:46064] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:58:51.446318 2018] [cgi:warn] [pid 11223] [client 192.168.2.5:46151] AH01220: Timeout waiting for output from CGI script /var/www/html/cgi/UnicornWeb/unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi
[Tue Feb 13 10:58:51.446399 2018] [cgi:error] [pid 11223] [client 192.168.2.5:46151] Script timed out before returning headers: unicornweb.cgi, referer: http://xojo2.astbsldata.com.hk/UnicornWeb/unicornweb.cgi