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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:20:09+00:00 2026-06-17T15:20:09+00:00

I am woking on Ubuntu 12, python2.6 and Django1.2.x which is my test server.

  • 0

I am woking on Ubuntu 12, python2.6 and Django1.2.x which is my test server.
And I run a Django project on my test server using below command:

python manage.py runserver 0.0.0.0:8000

The server can work for most time(I let it run on 7X24 for other teammate to access it), but sometime it would suddenly not work:

  • Browser shows me that “server not available” when I try to access it.
    And of course, the test server cannot get any request from my frontend, and no error throws on server side.

All will back to OK once I using my django project and run it again.

now I have 2 question:

  1. Why does this issue happend?
  2. How can I develop a shell script to detect this situation?
  • 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-17T15:20:11+00:00Added an answer on June 17, 2026 at 3:20 pm

    Actually, it looks like you’re trying to use Django development for production purposes. There may be a lot of explanations, like apparmor config, or limitation of single-threaded server, but the problem doesn’t worth investigating. Just install Apache2, or Nginx, or uwsgi, and that’s it, you have good and stable server without shell watchdogs and other kludges. It would probably take about the same time as posting to SO

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

Sidebar

Related Questions

I'm using Django 1.4 with Python 2.7 on Ubuntu 12.04. Edit: I'm clearing some
I'm using Django 1.4 with Python 2.7 on Ubuntu 12.04. I have a template
I'm using Django 1.4 with Python 2.7 on Ubuntu 12.04. I have a template
I'm using Django 1.4 with Python 2.7 on Ubuntu 12.04. I have a template
I'm using Ubuntu, Django 1.3, Python 2.7. When I try to upload certain types
Working with Ubuntu 12.04 headless server Python v2.7.3 Django v1.3.1 FINAL Python came preloaded,
I've got a django project working on a development server(ubuntu) that we have been
Using: Ubuntu 11.04 Django 1.3 Python 2.7 Following the tutorial at Writing your first
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
I'm working on a Python Gtk3 app on Ubuntu, which primarily uses WebView from

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.