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

  • Home
  • SEARCH
  • 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 251539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:36:11+00:00 2026-05-11T21:36:11+00:00

in a production environment running nginx reversing back to apache mpm-prefork/mod_wsgi, im seeing 90

  • 0

in a production environment running nginx reversing back to apache mpm-prefork/mod_wsgi, im seeing 90 apache child processes, when i would expect that 40 would be the maximum, as configured below. the configuration/setup is nothing exciting:

  1. nginx is reverse proxying to apache via proxy_pass, and serving static media
  2. apache only serves dynamic requests

relevant nginx config:

worker_processes 15;

events {
    worker_connections  1024;
}

keepalive_timeout 10;

relevant apache config:

KeepAlive Off
MaxKeepAliveRequests 100 
KeepAliveTimeout 15

<IfModule mpm_prefork_module>
    StartServers        20
    MinSpareServers     7      
    MaxSpareServers     10
    MaxClients          200
    MaxRequestsPerChild 0
</IfModule>

mod_wsgi config, where webapp is the name of the process:

WSGIDaemonProcess webapp user=www group=users threads=1 processes=40

am i missing something?

  • 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-11T21:36:11+00:00Added an answer on May 11, 2026 at 9:36 pm

    The mod_wsgi daemon processes will appear to be Apache server child processes even though they aren’t the same. This is because the mod_wsgi daemon processes are a fork of Apache parent process and not a fork/exec. In other words, they executable name doesn’t change.

    To be able to distinguish mod_wsgi daemon processes from normal Apache server child processes, supply the ‘display-name’ option to WSGIDaemonProcess. This option allows you to rename the process as viewable in output from ‘ps’ program and some variants of programs like ‘top’. See documentation of WSGIDaemonProcess directive on mod_wsgi site.

    http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess

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

Sidebar

Related Questions

I have my workflow hosted in a WorkflowServiceApplication running on IIS5 (production environment will
What is the recommended setup for a Rails application running in the production environment
I have the below function running fine on python 2.6, but appengine's production environment
Symptom: I'm running a Google Website Optimizer A-B test on a web page, which
I am trying to set up remote debugging from my development machine into a
Each of our team members runs all kind of tests and makes sure all
Quoted from http://blogs.msdn.com : User Instances (also known as RANU) available with SQL Server
Image the following scenario, You have 10 Java applications accessing a database server Each
I've been developing a web application (written in Python/Django) for a while. All my
Here's what's I've read so far, and correct me if I'm wrong: Node.js is

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.