[rt-users] RT server crashing unexpectedly with Premature end of script headers: rt-server.fcgi

Dillon McDowell dmcdowell at costco.com
Wed Aug 27 20:02:40 EDT 2014


Just to add some things I've discovered while troubleshooting this issue.
 We appear to be blocking on a read call against the fast cgi socket until
fcgid reaches the 40 second timeout and kills the process.  We can
consistently reproduce the error if we try to refresh while on the Self
Service screen.  Clicking around at a normal place will not repro the
issue.  If anyone has help, pointers or answers I would greatly appreciate
it!

Thank you,

 *Dillon J. McDowell*
*Information Systems*
QA Tools Integration | Test Environment Verification
 <dmcdowell at costco.com>   |  425-416-8922


On Mon, Aug 18, 2014 at 11:30 AM, Dillon McDowell <dmcdowell at costco.com>
wrote:

> Thanks, Alex.  Here's my httpd.conf file, with the commented lines removed:
>
>
> ServerRoot "/rt/httpd"
> Listen 8080
>
> LoadModule fcgid_module modules/mod_fcgid.so
> FcgidMaxRequestLen 1073741824
>
> User rt
> Group rt
> ServerAdmin isqart at costco.com
> ScriptAlias / /rt/rt4/sbin/rt-server.fcgi/
> DocumentRoot "/rt/rt4/share/html"
> AddDefaultCharset UTF-8
>
> <Location />
>         Order allow,deny
>         Allow from all
>         Options +ExecCGI
>         AddHandler fcgid-script fcgi
> </Location>
>
> ErrorLog "logs/error_log"
>
> LogLevel debug
>
> <IfModule log_config_module>
>
>     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
>     LogFormat "%h %l %u %t \"%r\" %>s %b" common
>
>     <IfModule logio_module>
>       # You need to enable mod_logio.c to use %I and %O
>       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\" %I %O" combinedio
>     </IfModule>
>
>
>     CustomLog "logs/access_log" common
>
>
> </IfModule>
>
> DefaultType text/plain
>
> <IfModule mime_module>
>
>     TypesConfig conf/mime.types
>
>     AddType application/x-compress .Z
>     AddType application/x-gzip .gz .tgz
>
> </IfModule>
>
> LoadModule ssl_module modules/mod_ssl.so
>
> <IfModule ssl_module>
> SSLRandomSeed startup builtin
> SSLRandomSeed connect builtin
> </IfModule>
>
> Listen 8443
> <VirtualHost *:8443>
> ErrorLog logs/ssl_error_log
>  TransferLog logs/ssl_access_log
> LogLevel warn
> SSLEngine on
> SSLProtocol all -SSLv2
> SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
> SSLCertificateFile /rt/httpd/conf/lapqrt01094p01.cer
> SSLCertificateKeyFile /rt/httpd/conf/lapqrt01094p01.key
> <Files ~ "\.(cgi|shtml|phtml|php3?)$">
>     SSLOptions +StdEnvVars
> </Files>
> <Directory "/var/www/cgi-bin">
>     SSLOptions +StdEnvVars
> </Directory>
> SetEnvIf User-Agent ".*MSIE.*" \
>          nokeepalive ssl-unclean-shutdown \
>          downgrade-1.0 force-response-1.0
> </VirtualHost>
>
>
>
>  Thank you,
>
> *Dillon J. McDowell*
> *Information Systems*
> QA Tools Integration | Test Environment Verification
> <dmcdowell at costco.com>   |  425-416-8922
>
>
> On Mon, Aug 18, 2014 at 11:19 AM, Alex Vandiver <alexmv at bestpractical.com>
> wrote:
>
>> On 08/18/2014 01:47 PM, Dillon McDowell wrote:
>> > [critical]: Can't use an undefined value as an ARRAY reference at
>> > */RT/PlackRunner.pm line 136.
>>
>> This means that rt-server isn't being passed the right arguments to
>> start up; it has nothing to do with the browser.  Please show your
>> Apache configuration.
>>
>>  - Alex
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140827/0ce3f49e/attachment.html>


More information about the rt-users mailing list