Debugging comm with (dynamic) server aborted

Bill Moseley <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
This is Apache2 on Dreamhost (shared hosting)

According to their wiki they say the config is:

FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production -idle-timeout 120 -maxClassProcesses 5 -killInterval 300

At times I see errors like this:

[Tue Oct 31 05:26:34 2006] [error]  FastCGI: comm with (dynamic) server "/home/bmoseley/trac" aborted: (first read) idle timeout (120 sec)
[Tue Oct 31 05:26:34 2006] [error]  FastCGI: incomplete headers (0 bytes) received from server "/home/bmoseley/trac"

I have three ways to access this application -- two via Fastcgi:

    index.cgi       - cgi interface
    index.fcgi      - fastcgi
    trac            - in .htaccess SetHandler fastcgi-script

"trac" is a symlink to index.fcgi.

Requests for /trac were working fine last night.  Today, /trac hangs
and reports the errors above, yet requests for /index.fcgi work fine.

What causes that "comm with (dynamic) server" error?


Does not seem related to load as sometimes it works when there's higher
load and right now when I tried load was low.




The index.fcgi script is a wrapper script for running Trac:

    $ cat index.fcgi 
    #!/bin/bash
    TRAC=/home/bmoseley/trac

    export PYTHONPATH=$TRAC/lib/python2.3/site-packages
    export PATH=$TRAC/bin:$PATH
    #export LD_LIBRARY_PATH=$TRAC/lib

    export TRAC_ENV=/home/bmoseley/swishtrac

    exec $TRAC/share/trac/cgi-bin/trac.fcgi






-- 
Bill Moseley
[email protected]

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.