[rt-users] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)

Pavneet Arora pavneet_arora at waroc.com
Thu Sep 8 13:57:15 EDT 2016


Observed behaviour is that the browser request times out.

/var/log/apache2/error.log shows as quoted originally (same error as 
immediately after upgrade to 16.04.1):

    'FastCGI: server "/opt/rt4/sbin/rt-server.fcgi" has failed to remain
    running for 30 seconds given 3 attempts, its restart interval has
    been backed off to 600 seconds'

/opt/rt4/var/log/apache2.error has the matching error:

  ] FastCGI: comm with server "/opt/rt4/sbin/rt-server.fcgi" aborted: idle timeout (300 sec)
  ] FastCGI: incomplete headers (0 bytes) received from server "/opt/rt4/sbin/rt-server.fcgi"

Just for completeness here is the apache2 config file from 
sites-available (with host obscured):

    # Tell FastCGI to put its temporary files somewhere sane; this may
    # be necessary if your distribution doesn't already set it
    #FastCgiIpcDir /tmp

    FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300

    <VirtualHost *:80>
      ### Optional apache logs for RT
      # Ensure that your log rotation scripts know about these files
      ErrorLog /opt/rt4/var/log/apache2.error
      TransferLog /opt/rt4/var/log/apache2.access
      LogLevel debug

      AddDefaultCharset UTF-8

      ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/

      ServerAdmin webmaster at localhost
      ServerName <rt-host-XXX>.com
      DocumentRoot /var/www/<rt-host-XXX>.com

      <Location />
        <IfVersion >= 2.4> #
          Require all granted
        </IfVersion>
        <IfVersion < 2.4>
          Order allow,deny
          Allow from all
        </IfVersion>

        Options +ExecCGI
        AddHandler fcgid-script fcgi
      </Location>

    </VirtualHost>


On 08Sep16, Nilesh wrote:
> What are the errors?
> 
> -- 
> Nilesh

-- 
Pavneet Arora           m: +1 (647) 406-6843
Waroc Informatik        t: +1 (416) 937-9276



More information about the rt-users mailing list