httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [users@httpd] Info needed to set up MPM in Windows.
Date Mon, 31 Jul 2006 05:02:55 GMT

 I have a doubt. Suppose my Apache is processing 10 transaction in 10 
threads in Windows. In the execution path of one thread there is a bug and 
it gives me core. What will happen then in Windows? Will it kill the 
process or only that particular thread? I don't want all the 9 
transactions executing in the happy path be disturbed. Any ideas/gudance 

Thanks and Regards,
Jayaram Ganapathy
Tata Consultancy Services Limited

"Joshua Slive" <> 
Sent by:
07/29/2006 07:14 PM
Please respond to


Re: [users@httpd] Info needed to set up MPM in Windows.

On 7/29/06, <> wrote:
> Dear ALl,
> I want to configure the Windows mpm-nt in Apache 2.2. The setup should 
> when I start Apache 5 processes of Apache should start and each 
> should not have more than one thread(I mean only main thread of the 
> should run.). This is similar to thr pre-fork of Solaris. I have some
> restrictions related to stability and thats why I am insisting on 
> model in Windows.
> Is it possible to acheive the same by setting the number od threads per
> process to 1 and configuring Apache for 5 childs in Windows?
> Is there at any point Apache using the CreateProcess API. Any help will 
> appreciated.

No, mpm_winnt does not support a multi-process model.  It can be
configured only with one processes and a fixed number of threads.
Imitating the prefork model on windows does not really make sense
since processes are so expensive compared to threads on that platform.
 There have  been discussions of worker-like models on windows, but I
don't know of any working code.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you

View raw message