Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8080039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:17:58+00:00 2026-06-05T16:17:58+00:00

I use supervisord for managing tornado with no issuse wnhile using nginx as a

  • 0

I use supervisord for managing tornado with no issuse wnhile using nginx as a load balancer.

I am having severe issues with supervisor and uWSGI with nginx as a load blancer. I am using bottle as the framework.

when I run the below from the command line and I load a page in FF hitting nginx, all works great.

sudo command = /usr/local/bin/uwsgi --loop gevent --socket 127.0.0.1:8070 --wsgi-file /home/ubuntu/workspace/uwsgiServer.py -b 32768 --master --async 5 --enable-threads --listen 100 --uid root

If I place the command line in supervior then I get page not found.

uWSGI Error
Python application not found



[program:uwsgi]
#autostart=true
#autorestart=true
#process_name = uwsgi-%(process_num)s
command = /usr/local/bin/uwsgi --loop gevent --socket 127.0.0.1:8070 --wsgi-file /home/ubuntu/workspace//uwsgiServer.py -b 32768 --master --async 5 --enable-threads --listen 100 --uid root
#--port=%(process_num)s
#--log_file_prefix=%(here)s/logs/%(program_name)s-%(process_num)s.log
#numprocs = 1
#numprocs_start = 8070

Here are the relevant portions of the nginx.conf file:

upstream uwsgi_b {
      server 127.0.0.1:8070;
    }


location /u/ {
                       include uwsgi_params;
                       uwsgi_param X-Real-IP $remote_addr;
                       uwsgi_param Host $http_host;
                       uwsgi_pass uwsgi_b;
                 }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:18:01+00:00Added an answer on June 5, 2026 at 4:18 pm

    You might probably add some more params to supervisord config, like –pp (python path) to the uwsgi command, and maybe some environment variables:

    [program:uwsgi]
    command = /usr/local/bin/uwsgi 
        --loop gevent 
        --socket 127.0.0.1:8070 
        --wsgi-file uwsgiServer.py 
        --buffer-size 32768 --master --async 5 --enable-threads --listen 100 --uid root 
        --pp /home/ubuntu/workspace/
    
    autostart=true
    autorestart=true
    environment=ENV_VAR='var'
    user=root # or other
    group=root # or other
    directory=/home/ubuntu/workspace/
    umask=022
    

    EDIT: Removed Django-specific settings

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run a flask app on uwsgi. I use supervisor to manage uwsgi process.
use Text::Table; my $tb = Text::Table->new(Planet,Radius\nkm,Density\ng/cm^3); $tb->load( [ Mercury,2360,3.7], [ Mercury,2360,3.7], [ Mercury,2360,3.7], );
I am writing a program whereby my supervisor wants me to make use of
I use Django with supervisor. My project folder is located in foouser directory, however
How can I use take the input set {worker-id:1 name:john supervisor-id:3} {worker-id:2 name:jane supervisor-id:3}
According to the Erlang docs, you can use the supervisor:terminate_child function with simple_one_for_one supervisors
Single Table Inheritance using ActiveRecord. Since we can use @test = Employee.all and find
Use Case Show a photo uploaded by the user in a square box with
use C#,want to upload excel file on google doc. bellow syntax use to upload
use strict; use warnings; use Time::HiRes qw(sleep); use Test::WWW::Selenium; use Test::More no_plan; use Test::Exception;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.