[drraw-users] Performance of the cgi-script on Apache
Andy Mayhew
am at moka5.com
Tue Apr 17 05:39:02 EDT 2007
Christoph,
In your original post, you showed an Apache status with four different
requests being made from the 53.250.190.18 client, including the
/server-status and two /cgi-bin/perf/show.cgi requests.
A question that I have, is what is happening on the client side? Many
browsers limit the number of HTTP connections that they will make
simultaneously to the same host to 2. So, if you were testing with the
same browser, on the same client, attempting to open the same (or
similar request) in multiple browser windows to the same host, your
response would look slow because the browser was limiting queuing the
queries. So the bottleneck is not the server, but rather the client.
You should be able to test this out by either making the multiple
simultaneous requests from different browsers on the same client or just
use multiple client hosts.
--Andy Mayhew
Baumann, Christoph wrote:
> Hi Fabien
>
> This I can't beleave. Ist this true ? As I have a apache2 with prefork
> mpm
> Perhaps I can optimice in a way that the Dashboards are handled
> simultaneous.
>
> Who can give me some hints?
>
> Christoph
>
>
>
> # ps -ef | grep http
>
> root 392 1 0 Apr 12 ? 0:35
> /usr/apache2/bin/httpd -k start
> webservd 13321 392 0 10:55:59 ? 0:00
> /usr/apache2/bin/httpd -k start
> webservd 8747 392 0 10:25:42 ? 0:00
> /usr/apache2/bin/httpd -k start
> webservd 13322 392 0 10:55:59 ? 0:00
> /usr/apache2/bin/httpd -k start
> webservd 8748 392 0 10:25:42 ? 0:00
> /usr/apache2/bin/httpd -k start
> webservd 13225 392 0 10:55:58 ? 0:00
> /usr/apache2/bin/httpd -k start
> webservd 17311 392 0 10:40:53 ? 0:00
> /usr/apache2/bin/httpd -k start
>
>
>
> # ./apachectl -l
> Compiled in modules:
> core.c
> prefork.c
> http_core.c
> mod_so.c
>
>
> /etc/apache2/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
> # MaxClients: maximum number of server processes allowed to start
> # MaxRequestsPerChild: maximum number of requests a server process
> serves
> <IfModule prefork.c>
> StartServers 5
> MinSpareServers 5
> MaxSpareServers 10
> MaxClients 150
> MaxRequestsPerChild 0
> </IfModule>
>
> _______________________________________________
> drraw-users mailing list
> drraw-users at taranis.org
> http://web.taranis.org/mailman/listinfo/drraw-users
More information about the drraw-users
mailing list