Neither WSAPI or Orbit (if you are using dispatch_wsapi) do any
buffering. Libfcgi's stdout is buffered, but that is what the patch in
wsapi.common, is for (flush the output file descriptor after every
write), so everything should work, assuming the older mod_fcgid
directive does the same thing as the old one.

Maybe you have some other Apache module doing its own buffering, like
the module that compresses the output?

--
Fabio Mascarenhas


On Wed, Sep 1, 2010 at 2:33 PM, Ryan Pusztai <rpusz...@gmail.com> wrote:
> Fabio,
>
> On Wed, Sep 1, 2010 at 11:02 AM, Fabio Mascarenhas <mascaren...@acm.org>
> wrote:
>>
>> In my machine I added the directive to fcgid.conf, here is mine:
>>
>> <IfModule mod_fcgid.c>
>>  AddHandler    fcgid-script .lua
>>  FCGIWrapper "/usr/local/bin/wsapi.fcgi" .lua
>>  FcgidOutputBufferSize 0
>>  FcgidConnectTimeout 20
>> </IfModule>
>
> I found that it might be that under Ubuntu v8.04  "FcgidOutputBufferSize" is
> not available. So I used "OutputBufferSize 0" (the old name) in the
> '/etc/apache2/mods-available/fcgid.conf' file. I still can not get it to
> work completely correct. It is not erroring out, but the updates occur about
> every minute or so. So it seems like something else is still buffering it.
> Could this be WSAPI or Orbit? I did add the patch lines to common.lua.
> Thoughts?
>
>>
>> I think you also need ExecCGI permission on the directory.
>
> I put that in my .htaccess file. Is that an issue?
> --
> Regards,
> Ryan
>
> _______________________________________________
> Kepler-Project mailing list
> Kepler-Project@lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to