httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: Thread-only execution with Apache 2 : Newbie query
Date Thu, 19 Jan 2006 14:17:39 GMT
On 1/19/06, Praveen Bhaniramka <> 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


View raw message