Reputation: 1073
What i mean is when some one makes a http request, does it like apache spawn a new process or thread.
My configuration is apache + python with wsgi module
.
Upvotes: 0
Views: 99
Reputation: 58563
Neither. Requests will be handled by the already running single thread, or a thread from a preallocated thread pool. For more information about how it works with mod_wsgi read:
Be aware that it is better to use daemon mode of mod_wsgi and disable Python inside the main Apache processes altogether. For details of that see:
Upvotes: 1