I switched to mod_fastcgi. It helped. The UI is mostly responsive, but
erratic in that the "Loading" graphic greys out the page when I don't think it
should.
Is there any unusual effect from calling fork() from inside a Witty app's event
loop? Because to trigger a background job I call fork(), system(), _exit()
like I might in a regular C++ program. I must be doing something wrong because
I see this stuff in the Apache log:
FastCGI: incomplete headers (0 bytes) received from server
"/var/www/app/app.wt", referer: http://x.x.x.x:80/app/app.wt
(above message repeated ~30 times)
FastCGI: invalid (dynamic) server
"/var/www/app/id/08YpuWHWY2kHnKku/index.html": access for server (uid 33, gid
33) not allowed: execute not allowed by owner, referer:
http://x.x.x.x:80/app/app.wt
(above message repeated ~15 times)
Any suggestions that might help me? What's a good way to run a shell command
from a Witty app?
=Shawn
________________________________
From: Koen Deforche <[email protected]>
To: [email protected]
Sent: Wednesday, September 23, 2009 10:26:50 AM
Subject: Re: [Wt-interest] enableUpdates?
Hey Shawn,
2009/9/23 Shawn Yarbrough <[email protected]>:
> Witty version is 2.99.5. Ubuntu Linux 9.04 64-bit. Apache2. For some
> reason I installed mod_fcgid which is supposedly compatible with but faster
> than mod_fastcgi. If you folks think that might be the problem, I'll switch
> to the more mainstream mod_fastcgi.
I am unsure if we ever tested whether mod_fcgid does indeed react well
to cancelling a request (which is done when a client-side event is
generated: the pending poll request is cancelled). We have tested this
with various configurations of mod_fastcgi...
Regards,
koen
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest