webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Number of Apache processes running on Windows 2000 Server

  • 1.  Number of Apache processes running on Windows 2000 Server

    Posted Mon July 22, 2002 09:14 AM

    Folks,

    how can I tell Apache to start more than 2 instances of it? On Unix you can do it by changing the httpd.conf file. On Windows I heard that there has to be a registry setting. But which one?

    Regards,
    Harald


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Number of Apache processes running on Windows 2000 Server

    Posted Tue July 23, 2002 01:10 AM

    Hi Harald,

    After reading the Apache documentation it seems that Apache on Windows is multi-threaded, whereas Apache on UNIX is not.

    This is why there are many httpd processes running on UNIX (one per request), but just two on Windows (the parent process delegates to its one and only child, which spawns a different thread for each concurrent request).

    To set the number of concurrent requests you want the child process to handle (equivalent to the number of processes on UNIX), you need to set the following parameter:

    ThreadsPerChild [num]

    If you are using Apache 2.0.x, however, you do have the option to choose an alternative MPM (Multi-processing-module), that allows you to spawn processes instead of threads (although the default is as above).

    This has to be done via a preprocessor directive at compilation time.

    Hope this helps!

    Regards,
    Puny


    #Tamino
    #API-Management
    #webMethods