Questions tagged [tornado]

26 questions
0
votes
1 answer

Nginx load balance with multi server and multi application instance

I use nginx to load balance my tornado app. There are 3 instances of the same application(listen on different port) on server_A. Below are my configuration. http { upstream myapp1 { server server_A_IP:8888; server…
Song
  • 3
  • 1
0
votes
1 answer

Two proxypass applications behind apache

I am running two web applications, one is tornado-based and the other one is cherrypy based, behind apache on an opensuse server. Both run on different domains pointing to the same IP. The two applications are running on the same server, and serving…
0
votes
1 answer

How to redirect nginx to tornado backend running https

I have nginx running as my main web server but I also have a tornado server running https at 127.0.0.1:8888 (same machine as the nginx server). I would like to redirect traffic to my tornado server when a user goes to…
b10hazard
  • 101
  • 1
  • 2
0
votes
1 answer

Supervisord, Flask, Tornado (exit status 1; not expected)

Having some issues getting supervisor to run my tornado apps. I have a REST API built with Flask, using Tornado to try and serve it. Problem I am having is that when I try to run with supervisor it appears to be failing on import of other…
Michael
  • 31
  • 8
0
votes
1 answer

nginx high response time when used as reverse proxy

I have a news site which is run by 4 tornado instances and nginx as reverse proxy in front of them. Pages are rendered and cached in memcached so generally the response time is less than 3 ms according to tornado logs. [I 130918 18:35:37 web:1462]…
laltin
  • 51
  • 6
0
votes
1 answer

Can't get basic web servers working on EC2 RedHat

I'm trying to get some basic Python web servers (Flask, Tornado) turned up on the EC2. On the Amazon-flavored Linux AMI (Amazon Linux AMI 2013.03.1) they work no problem, but the same web servers installed on the RedHat quicklaunch AMI (Red Hat…
Yarin
  • 1,316
  • 8
  • 19
  • 31
0
votes
2 answers

How can I serve static files with nginx but use a slightly different url for tornado?

I have a directory structure I want to serve, that contains files as binary and some meta-information about them as json. for some directories, I need to compute some things on the fly and serve that. I want to compute and serve that information…
AME
  • 135
  • 6
0
votes
1 answer

Gittornado with Nginx fails to push and pull

I'm making a simple website to host git repositories, much like github. I'm using Gittornado to handle git Smart HTTP requests, and it works perfectly locally; I can clone, push, pull, etc... But when I put it behind Nginx, git commands stop…
Josh Buell
  • 101
  • 3
0
votes
2 answers

Uninstall Tornado Web Server?

I'm new to installing server frameworks but I don't see anywhere in the documentation of http://www.tornadoweb.org/ of how to uninstall this. Do I just remove the build folder?
ninjaneer
  • 103
  • 1
  • 3
0
votes
1 answer

Scalability problem (Tornado). Can't figure it out, holding up launch

Thanks guys, any ideas/insight are appreciated b/c this is driving me crazy. Problem: Only about 3 or 4 users can use the server simultaneously before app grinds to a halt. Currently we see massive spikes in the CPU usage with normal usage. This is…
Phil W
  • 1
0
votes
1 answer

Tornado Startup Management

I have an application written to run in Tornado server.. The application should start on boot, and if it fails ( be restarted ) Currently I am using supervisord, but i wanted to see what else is available that might be better.. Anyone have…
Arenstar
  • 3,592
  • 2
  • 24
  • 34
1
2