Operating System - Linux
1832994 Members
2623 Online
110048 Solutions
New Discussion

Re: Configure Apache on RHEL 3.0

 
Girish_26
Occasional Contributor

Configure Apache on RHEL 3.0

I need to configure apache on Redhat linux AS 3.0. I would like to know parameters we need to consider, where you have users more than 20,000 hitting the proxy...the parameter must be related to socket, connections....like something do with network flow.....can u visualise the framework.

Its like user need access to application server and passing firewall and proxy server.....and proxy server would be on linux box....with apache as proxy....

how do I maintain its vigilty and performance.....need ur early help...

thank you in advance.
1 REPLY 1
Stuart Browne
Honored Contributor

Re: Configure Apache on RHEL 3.0

Are you meaing HTTP proxying (i.e. squid) ?

Or serving HTTP pages (i.e. apache) ?

They are both very different.

In any case, the RHEL3 distributed configuration should be more than adequate for that sort of volume.

If you find the load creeping, you might tweak the worker MPM settings a little, but it should be fine.

I believe they're like this in distribution:

# 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

StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0

#
# To reduce memory usage in the worker MPM, the thread guard page
# can be disabled, at the expense of some protection against stack
# overflow.
#
#ThreadGuardArea off



The document you'll need to read is http://httpd.apache.org/docs-2.0/mod/worker.html .
One long-haired git at your service...