Re: open port !!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 23 January 2006 19:26, Gordon Messmer wrote:
> STYMA, ROBERT E (ROBERT) wrote:
> > There is a pseudo-exception to this rule.  If you look at httpd
> > the httpd process, all field requests that are coming in on
> > port 80 (by default).  The portmapper actually takes care of
> > distributing the work.
>
> 'portmap'?  No it doesn't...  Multiple httpd processes have the same
> port open because it was opened once, and then the process which had
> that file open forked or created multiple threads.  Each child or thread
> will have the same files open.

If this is what you are asking??

I believe the limit of open ports for apache is 10, and yes, they can all be 
port 80.

The configuration for apache allows for a limit on open ports.

>From /etc/httpd/config/httpd.conf;

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers       8
MinSpareServers    5
MaxSpareServers   20
ServerLimit      256
MaxClients       256
MaxRequestsPerChild  4000
</IfModule>
:                 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux