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 4095204
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:51:40+00:00 2026-05-20T19:51:40+00:00

I am running cherokee to serve a django app using uwsgi. I have been

  • 0

I am running cherokee to serve a django app using uwsgi. I have been having some strange behavior since upgrading to cherokee 1.2.x.

The setup worked fine prior to cherokee 1.2.x and I haven’t changed any of my configuration.

The problem is that now, when uwsgi is not running and I try to load the django app site, I first get a 503 error. Subsequent requests work fine. Looking at the logs I see that cherokee is spawning multiple uwsgi instances and this seems to be the problem.

I have posted the cherokee.error log here

It appears that cherokee is spawning multiple uwsgi instances:

probably another instance of uWSGI is running on the same address.

My configs for uwsgi are:

<pidfile>/home/my_home/my_project/uwsgi.pid</pidfile>
<vacuum />
<processes>4</processes>
<harakiri>30</harakiri>
<master />

Another symptom of the problem is that after the 503 and then subsequent successful start of uwsgi, I don’t have a PID file. This is because the additional instances of uwsgi that get started and then fail delete the PID file when they exit:

binding on TCP port: 45611
probably another instance of uWSGI is running on the same address.
bind(): Address already in use [socket.c line 341]
VACUUM: pidfile removed.

So overall, the issues are:

  • 503 is displayed on first view after uwsgi is started by cherokee
  • No PID file is being created (or rather it’s being created but immediately being deleted by another exiting uwsgi process)

A google search for probably another instance of uWSGI is running on the same address only matches against the uwsgi source code, so it seems I’m the only one experiencing this.

I experience this same issue on multiple computers with the same setup.

Any ideas?

Versions of software:

  • uWSGI 0.9.6.2
  • Cherokee 1.2.1
  • Django development trunk (between 1.3 rc and 1.3)
  • 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-05-20T19:51:41+00:00Added an answer on May 20, 2026 at 7:51 pm

    Looks like this is a cherokee bug fixed in trunk:

    http://svn.cherokee-project.com/listing.php?repname=Cherokee&peg=6382&rev=6380

    I downloaded trunk from SVN and I am no longer experiencing the problem.

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

Sidebar

Related Questions

I have been having intermittent issues on some servers running Archlinux / php-fpm 5.3.9
I've set up a development server running Cherokee on Fedora 14, using uWSGI to
I managed to deploy cherokee as a reverse proxy for a django app running
Running IIS 6 with a main website using .net 4. I have many sub
Running a gwtp-sample-basic-spring app in Eclipse, I see the welcome page, but after some
Running Python, I have an image and some data calculated for different ROIs (regions
I currently have a server running Cherokee, but I've had many issues with my
Running into the strangest problem on iPhone using jQuery with my WebViewController. I have
I had no issue with Django + uWSGI + Cherokee. BUt I would like
Running Puppet v2.7.14 on CEntOs 6 and also using Apache/Passenger instead of WEBrick. I

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.