Hi Fabio,
On Tue, Aug 31, 2010 at 1:10 PM, Fabio Mascarenhas <[email protected]>wrote:
> Hi Ryan,
>
> Good news, I figured out the solution to your problem looking at the
> docs for mod_fcgid (I should have looked there first :-) ). Use the
> "FcgidOutputBufferSize 0" directive in your Apache configuration to
> disable output buffering for FastCGI.
>
I am not able to add this to the "/etc/apache2/sites-available/default" or
the mod_fcgid config file (/etc/apache2/mods-enabled/fcgid.conf). Where do I
set this? (Sorry I thought I knew how to do this, but I don't)
Here is the meaningful part of my Apache2 config file:
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
<IfModule mod_fcgid.c>
FcgidOutputBufferSize 0
AddHandler fcgid-script .lua
AddHandler fcgid-script .ws
AddHandler fcgid-script .op
FCGIWrapper "/usr/local/bin/wsapi.fcgi" .lua
FCGIWrapper "/usr/local/bin/wsapi.fcgi" .ws
FCGIWrapper "/usr/local/bin/op.fcgi" .op
#FCGIServer "/usr/local/bin/wsapi.fcgi"
-idle-timeout 60 -processes 1
#IdleTimeout 60
#ProcessLifeTime 60
</IfModule>
</Directory>
You will also need to patch wsapi.common so it always flushes the output:
>
>
> http://github.com/keplerproject/wsapi/commit/8cc9499d028fcea8a67515a2cfc6e969bf030343
Thanks I have applied the changes.
> Tested it on my Ubuntu and works like a charm. Orbit will keep doing
> its own buffering for its regular requests, so disabling mod_fcgid's
> buffering is not a big deal.
>
Agreed.
Again thanks so much for all your time and effort.
--
Regards,
Ryan
_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/