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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:14:52+00:00 2026-05-28T18:14:52+00:00

How does Apache (most popular version nowadays, i guess) handle a connection to a

  • 0

How does Apache (most popular version nowadays, i guess) handle a connection to a script when this script is already being executed for another connection?

My guess has always been – upon receipt of a request to a script, script’s contents are copied-to-memory/compiled/executed, and IF during this process there’s another request to this script – same things happen (assuming Apache does not lock the script file, and simply gives another share of memory/cpu for another compilation/memory-storage/execution)

Or is there a queuing/waiting mechanism involved?

Assuming this additional connection is afforded enough memory, cpu, and does not pass maximum connections setting.

  • 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-28T18:14:53+00:00Added an answer on May 28, 2026 at 6:14 pm

    The quickly (and easy) answer is every request is processes by a new process.
    Apache listens in some port and for each request create a new process that handles that request. That means no shared memory.

    Also take a look to processes with “ps” command, you will see one “http” process for each request.

    Take a look here for more complex working: http://httpd.apache.org/docs/2.0/mod/worker.html
    and look at google too 🙂 http://docstore.mik.ua/orelly/weblinux2/apache/ch01_02.htm

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

Sidebar

Related Questions

How does apache handle caching of certain files, and is it possible to explicitly
Does anyone have an idea how can I fix this vulnerability in Apache 2.2.4
My Apache server works fine without -DSSL, but does not start with SSL. This
I want to make an etag that matches what Apache produces. How does apache
Does PHP expose Apache's Mime-Type to extension mapping in any way shape or form.
Does anyone know if it's possible to use regex capture within Apache's DirectoryMatch directive?
Does anyone know of a Django 1.0 + postgresql + apache + mod_python VMware
How does The JDK's Logger compare to Apache log4j ? Which one is better
Just seeking confirmation here : apache Thrift protocol does not seem to support running
Does anyone know what the difference is between adding an appropriate JAR-file (eg. Apache

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.