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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T10:29:16+00:00 2026-06-17T10:29:16+00:00

The current configuration I have has been running perfectly for more than one year.

  • 0

The current configuration I have has been running perfectly for more than one year.

My apache is configured to include this mod_wsgi configuration:

    Alias /uploads/ "/home/django/myproject/uploads/"
<Directory "/home/django/myproject/uploads/">
    Order allow,deny
    Options Indexes
    Allow from all 
    IndexOptions FancyIndexing
</Directory>

Alias /static/ "/home/django/myproject/sitestatic/"
<Directory  "/home/django/myproject/sitestatic/">
    Order allow,deny
    Options Indexes
    Allow from all 
    IndexOptions FancyIndexing
</Directory>

WSGIScriptAlias / "/home/django/myproject/apache/django.wsgi"
<Directory "/home/django/myproject/apache">
    Order deny,allow
    Allow from all 
</Directory>

And my /home/django/myproject/apache/django.wsgi looks like this:

import os
import sys 

sys.path.append('/home/django')
sys.path.append('/home/django/myproject')


os.environ['DJANGO_SETTINGS_MODULE']='myproject.settings'

import djcelery
djcelery.setup_loader()

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

Pretty typical I guess.

In my httpd.conf I have this line:

    Include "/home/django/myproject/apache/apache_django_wsgi.conf"

Whenever this conf is loaded, apache processes jump at 100% causing me MemoryErrors …

When I comment out the include line above, starting apache is smooth and as it should, memory wise.

I couldnt find anything in the apache logs, even set it on debug mode.

It is obvious this memory leak, if I may call it so, it is cause by either mod_wsgi or my django app.

How would you recommend to trace the error/isolate the issue? Any feedback is appreciated!

  • 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-17T10:29:17+00:00Added an answer on June 17, 2026 at 10:29 am

    The issue was a buggy function in one of my django apps which was holding everything in memory.

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

Sidebar

Related Questions

I know this has been asked a few times here. But none of the
I apologize if this question has been answered elsewhere, but I couldn't seem to
I have tried dozens of configuration settings trying to get this to work, but
According to what's new in .NET 4 : major configuration elements have been moved
Please i have been seeing this error: The connection name 'SQL' was not found
We have a production Server which has ASP.net 2.0 Application running with Ajax 1.0
I have been allocated the responsibility at work of revising the current reporting services
We have a SSL configured website that hosts a WCF-service. The service's binding has
This has been troubling me for a few years, and was recently exacerbated by
My group has been using BugTracker.NET (http://ifdefined.com/bugtrackernet.html) hosted on an Windows server running IIS.

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.