[drraw-users] Performance of the cgi-script on Apache
Baumann, Christoph
CHRISTOPH.BAUMANN at T-SYSTEMS.CH
Mon Apr 16 04:02:23 MDT 2007
Hi together
I use drraw and I am very happy with it. But when 2 users access the
cgi-script together, the first user will get all Graph's one by one, the
seconde one has to wait.
Is this because I use templates, or is it because my webserver cannot
handle more cgi-scripts than one at a time?
Christoph
Server-status gives something like this: (working on Solaris 10 with 4
cpu's and 8GB RAM. So no bottleneck on the OS)
Apache Server Status for hostname
Server Version: Apache/2.0.58 (Unix) DAV/2
Server Built: Oct 17 2006 06:11:21
________________________________
Current Time: Monday, 16-Apr-2007 11:46:58 MEST
Restart Time: Thursday, 12-Apr-2007 16:15:38 MEST
Parent Server Generation: 0
Server uptime: 3 days 19 hours 31 minutes 20 seconds
Total accesses: 1244 - Total Traffic: 19.7 MB
CPU Usage: u2.22 s5.39 cu867.84 cs0 - .266% CPU load
.00378 requests/sec - 62 B/second - 16.2 kB/request
2 requests currently being processed, 10 idle workers
___W____W___....................................................
................................................................
................................................................
................................................................
Scoreboard Key:
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
Srv
PID
Acc
M
CPU
SS
Req
Conn
Child
Slot
Client
VHost
Request
0-0
394
0/195/195
_
167.68
39
1171
0.0
3.77
3.77
53.250.190.18
hostname
GET /cgi-bin/perf/show.cgi?Mode=show;Template=t1142955021.29667
1-0
395
0/129/129
_
89.99
1007
0
0.0
2.12
2.12
53.250.25.131
hostname
GET /rrdtool/rrdtool-logo-dark.png HTTP/1.1
2-0
396
0/229/229
_
171.82
110
0
0.0
2.70
2.70
53.250.160.50
hostname
GET /rrdtool/drraw.png HTTP/1.1
3-0
397
27/150/150
W
115.34
0
0
481.9
2.89
2.89
53.250.190.18
hostname
GET /cgi-bin/perf/show.cgi?Mode=show;Template=t1136666764.26878
4-0
398
0/216/216
_
167.48
83
797
0.0
3.63
3.63
53.250.190.18
hostname
GET /cgi-bin/solaris/show.cgi?Mode=show;Template=t1157487605.25
5-0
2660
0/105/105
_
81.77
110
812
0.0
1.82
1.82
53.250.160.50
hostname
GET /cgi-bin/editaix/show.cgi?Mode=show;Template=t1156884074.13
6-0
3520
0/149/149
_
108.38
99
1020
0.0
1.29
1.29
53.250.25.131
hostname
GET /cgi-bin/perf/show.cgi?Mode=show;Template=t1142955021.29667
7-0
2014
0/11/11
_
9.63
101
0
0.0
0.31
0.31
53.250.25.131
hostname
GET /rrdtool/drraw.png HTTP/1.1
8-0
2509
56/60/60
W
49.62
0
0
991.5
1.20
1.20
53.250.190.18
hostname
GET /server-status HTTP/1.1
________________________________
Srv
Child Server number - generation
PID
OS process ID
Acc
Number of accesses this connection / this child / this slot
M
Mode of operation
CPU
CPU usage, number of seconds
SS
Seconds since beginning of most recent request
Req
Milliseconds required to process most recent request
Conn
Kilobytes transferred this connection
Child
Megabytes transferred this child
Slot
Total megabytes transferred this slot
________________________________
Apache/2.0.58 (Unix) DAV/2 Server at hostname Port 80
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20070416/fa6b2ce9/attachment.html>
More information about the drraw-users
mailing list