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.
You will also need to patch wsapi.common so it always flushes the output: http://github.com/keplerproject/wsapi/commit/8cc9499d028fcea8a67515a2cfc6e969bf030343 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. -- Fabio Mascarenhas On Fri, Aug 27, 2010 at 12:42 AM, Ryan Pusztai <rpusz...@gmail.com> wrote: > Hi Fabio, > > On Thu, Aug 26, 2010 at 8:57 PM, Fabio Mascarenhas <mascaren...@acm.org> > wrote: >> >> > Do you think mod_fcgid was updated and broke this? It used to work. >> > What version of Ubuntu did you try? I have the ability to upgrade to >> > Ubuntu >> > v10.04 if that would help. >> >> I tried both mod_fcgid and mod_fastcgi, and they both have the same >> behavior, so the problem may be in libfcgi.so, not the Apache modules. >> I want to try and see if nginx behaves the same way. > > That would be extremely helpful. I just don't remember libfcgi or mod_fcgid > getting an update. Were you able to try the Kepler all-in-one installer and > did it act the same way? I am thinking of installing a VirtualBox of this > and using the Kepler all-in-one and see how it goes. Do you think this would > help? > >> >> > Is there another way to give interactive feedback to the user? This is a >> > requirement that I have for the project and without it I am not sure >> > what to >> > do. >> >> If an Apache front-end is a requirement, have you tried using >> mod_proxy (via mod_rewrite) and Xavante? You can have Apache serving >> your static content and proxy requests to Lua scripts to one or more >> Xavante backends. > > Actually Apache is not a requirement, but it is tested and accepted at our > place of work. > I think if nginx could be configured as easy as Apache I would not oppose. > Is there good package support for nginx, like there is for Apache? (ie. > using apt-get to install nginx, php, and mod_fcgid). I also need it to host > a webpage that faces out to the internet and one that faces to the intranet > only. This was easily accomplished in the config file, would that be similar > in nginx > I actually tried to get Xavante to start on system boot, but I could not get > the init.d script to work right. Also I couldn't figure out how to get the > print statements to print out to the log file. If it did that it would allow > me to debug Orbit apps much easier. Any ideas or example init.d scripts? > -- > 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/