On 04/11/12 16:39, Marcelo Timmerman wrote:
Nobody?
Anyone knows if using nginx would avoid the internal HTTP Python server?
It appears that nginx is used as a proxy in front of the Python/Paste server, not as a replacement. You could use something like mod_wsgi with Apache instead of that server, but nobody seems to be doing that at the moment, as far as I can tell. Many Python Web projects seem to favour mod_wsgi as a deployment option for WSGI, so it's a safe choice.
Sorry guys but I have to tell you this is why Python is considered a crap for big projects. When things like this fail, only the original developer knows how to fix it.
There are a lot more factors affecting reliability and ease of maintenance in "big projects" than the matter of which programming language was used. What do you have for your host and port in your configuration file? Paul P.S. And you might want to look into this...
/home/galaxy/galaxy-dist/eggs/pysam-0.4.2_kanwei_b10f6e722e9a-py2.6-linux-x86_64-ucs4.egg/pysam/__init__.py:1: RuntimeWarning: __builtin__.file size changed, may indicate binary incompatibility
If you mix libraries from different Python versions or using different Unicode representations or which are compiled for different architectures, you may end up with some problems that really are difficult to diagnose. That's simply a matter of configuration management.