what is your platform? i just tried fcgid on centos 5.1 not long ago, with mod_fcgid-2.1-3.el5 from epel.repo + apache (version come with centos2.5) + python 2.4, following this wiki http://wiki.pylonshq.com/display/pylonscookbook/Production+Deployment+Using+Apache%2C+FastCGI+and+mod_rewrite%2C+alternate+version
there seems to be a bug and i can reproduce it easy. a fresh project create by "paster create -t pylons project" will run no problem. any other project with sql access will just crash. i've try the quickwiki demo and it won't work too. i've also try mod_wsgi from epel.repo but the same occur. i am too lazy to try and recompile everything so i end up running it behind proxy.... rgds, Vincent On May 19, 3:44 am, Ross Vandegrift <[EMAIL PROTECTED]> wrote: > On Fri, May 16, 2008 at 01:38:24PM -0700, Jonathan Vanasco wrote: > > > I'm a little unclear on the better ways to deploy a Pylons app. > > > My production servers run nginx -- is it better to use some fastcgi > > support (if so, how?) or just do a "paster serve" and proxy to that > > port? > > > I've read a handful of ways on how-to-deploy apps, and all seem > > different. I've yet to see a comparison or "this is THE way to do it" > > document. > > All of my apps are deployed in a FastCGI environment with Apache. Our > live application server has a custom install of python2.4 with > appropriate module versions that we can care for beside the ones that > RedHat wants. > > This works really well. It seems a lot of people hate FCGI for > different reasons, but I have found it to be pretty awesome. Apps are > very stable, no complicated proxying, and it's almost as performant as > mod_python. > > I have considered converting our deployments to mod_python, but only > recently acquired a practical staging environment to test things like > that. > > -- > Ross Vandegrift > [EMAIL PROTECTED] > > "The good Christian should beware of mathematicians, and all those who > make empty prophecies. The danger already exists that the mathematicians > have made a covenant with the devil to darken the spirit and to confine > man in the bonds of Hell." > --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---