-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

fork and child allow httpd to spawn processes (it's called forking in
*nix)...  I dunno 'bout the worker one, though

- -----Original Message-----
From: David Busby [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 2:39 PM
To: [EMAIL PROTECTED]
Subject: IfModule xxx?


List,
    Does anyone know what the prefork.c, worker.c and perchild.c are?
 How
would I see which one my httpd is using (or wanting to use?)  I see
them in
my httpd.conf file, but I don't know what they are all about.  I
guess if I
know which one I'm using I could figure out the settings, but which
one am I
using?

Snip from httpd.conf

<IfModule prefork.c>
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients         150
MaxRequestsPerChild  0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# MinSpareThreads: minimum number of worker threads which are kept
spare
# MaxSpareThreads: maximum number of worker threads which are kept
spare
# ThreadsPerChild: constant number of worker threads in each server
process
# MaxRequestsPerChild: maximum number of requests a server process
serves
<IfModule worker.c>
StartServers         2
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

# perchild MPM
# NumServers: constant number of server processes
# StartThreads: initial number of worker threads in each server
process
# MinSpareThreads: minimum number of worker threads which are kept
spare
# MaxSpareThreads: maximum number of worker threads which are kept
spare
# MaxThreadsPerChild: maximum number of worker threads in each server
process
# MaxRequestsPerChild: maximum number of connections per server
process
<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
</IfModule>



David Busby
Systems Engineer
[EMAIL PROTECTED]



- -- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA+AwUBPkqyAtPjBkUEZx5AEQJpRQCfdLDpDCyjtkwvyibHZqQ/zYpy79YAmPj0
U/vDu2YDGuUm9lkcvgzgHYI=
=X5lE
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to