You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ja...@tcs.com on 2006/07/29 11:16:19 UTC
[users@httpd] Info needed to set up MPM in Windows.
Dear ALl,
I want to configure the Windows mpm-nt in Apache 2.2. The setup should be,
when I start Apache 5 processes of Apache should start and each processes
should not have more than one thread(I mean only main thread of the process
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 pre-fork
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 be
appreciated.
Thanks and Regards,
Jayaram Ganapathy
Tata Consultancy Services Limited
Mailto: jayaram.g@tcs.com
Website: http://www.tcs.com
=====-----=====-----=====
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
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Info needed to set up MPM in Windows.
Posted by ja...@tcs.com.
Hi,
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
welcome.
Thanks and Regards,
Jayaram Ganapathy
Tata Consultancy Services Limited
Mailto: jayaram.g@tcs.com
Website: http://www.tcs.com
"Joshua Slive" <jo...@slive.ca>
Sent by: jslive@gmail.com
07/29/2006 07:14 PM
Please respond to
users@httpd.apache.org
To
users@httpd.apache.org
cc
Subject
Re: [users@httpd] Info needed to set up MPM in Windows.
On 7/29/06, jayaram.g@tcs.com <ja...@tcs.com> wrote:
> Dear ALl,
> I want to configure the Windows mpm-nt in Apache 2.2. The setup should
be,
> when I start Apache 5 processes of Apache should start and each
processes
> should not have more than one thread(I mean only main thread of the
process
> 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
pre-fork
> 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
be
> 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.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
ForwardSourceID:NT00015626
=====-----=====-----=====
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
Re: [users@httpd] Info needed to set up MPM in Windows.
Posted by Joshua Slive <jo...@slive.ca>.
On 7/29/06, jayaram.g@tcs.com <ja...@tcs.com> wrote:
> Dear ALl,
> I want to configure the Windows mpm-nt in Apache 2.2. The setup should be,
> when I start Apache 5 processes of Apache should start and each processes
> should not have more than one thread(I mean only main thread of the process
> 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 pre-fork
> 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 be
> 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.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org