On 7/29/06, jayaram.g@xxxxxxx <jayaram.g@xxxxxxx> 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx