On 1/19/06, Praveen Bhaniramka <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> We are developing a custom module for Apache using mod_gsoap over Linux.
> However, our software currently does not work very well in a
> multi-process environment as it was designed primarily for a
> multi-threaded environment.
>
> Is there a way to configure Apache such that it uses threads only
> instead of using processes for handling HTTP requests? I looked at the
> Apache documentation and it seems that the default MPM modules, prefork
> and worker, use processes by default. The worker module seems to allow
> both models of execution. Is it possible to configure it to use threads
> only?
>
> Thanks for any useful pointers.

Yes, worker should be able to do this, although it will not adjust to
load (you need to prespecify exactly how many threads will be
available at all times).  Something like:
ServerLimit 1
StartServer 1
MaxClients 512
ThreadsPerChild 512
MaxSpareThreads 512
MinSpareThreads 0

Joshua.

Reply via email to