httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Re: users Digest 21 Nov 2012 12:02:28 -0000 Issue 4476
Date Wed, 21 Nov 2012 15:01:14 GMT
On Wed, Nov 21, 2012 at 2:04 PM, rewt rewt <> wrote:
> Hi Tom,
> Thank you very much for your feedback.
> Does the actual setting you provided compliant with 32Gb RAM and 8vCPU ?

The server has much less RAM than that - only 4 GB. All this server
does is read requests from the net, proxy them to another server, and
return the responses back to the net, and with that configuration, we
use less than 1GB of RAM, fully loaded.

> And another question regarding:
> "no point having 1024 httpd slots multiplexing to 10 PHP
> workers if 90% of your requests require PHP."
> Sorry for my bad skills in english but i don t understand what you mean by
> "no point" ?

There are two parts to any web app - the web server serving files, and
the app itself serving dynamic content. This isn't apparent if you use
mod_php, since the application is embedded inside the web server, and
so each process created to serve extra users also creates another
instance of the app.

This is more obvious if you use fastcgi, since the app runs outside
the web server, and you can easily see how many app processes you can
run. If you can only run httpd and 15 app processes on your box, then
there is no point making httpd scale to 1000 clients, since 1000
clients could not be served in time by only 15 app processes.

By using worker or event you can easily configure httpd to serve 1000+
simultaneous requests, but this is useless if your app can only serve
10 people at once.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message