[horde] Apache Performance tuning with Horde - Log files

Patrick De Zordo patrick at spamreducer.eu
Thu Dec 4 16:22:50 UTC 2014


First of all, sorry for wrong MIME encoding, I have to find a Horde
GIT-commit where the error was not introduced in code.

 

============================================================================
=======================

Some performance stats samples:

============================================================================
=======================

 

Opening OL2013 client the first time after being offline for some minutes:

----total-cpu-usage---- ---system-- ---load-avg--- proc -most-expensive-
-dsk/total- sda--sdb-

usr sys idl wai hiq siq| int   csw | 1m   5m  15m |tota|  cpu process   |
read  writ|util:util

  3   2  95   0   0   0| 291   137 |0.41 0.52 0.55| 267|dstat        2.0|
0     0 |   0:   0

24   4  70   2   0   0| 388   823 |0.41 0.52 0.55| 267|apache2       22|   0
192k|1.60:   0

41   4  52   2   1   0| 375  1122 |0.41 0.52 0.55| 268|apache2       36|   0
172k|2.80:   0

90   9   0   0   1   0| 331  4248 |0.41 0.52 0.55| 268|apache2       67|   0
0 |   0:   0

91   8   0   0   1   0| 319  2819 |0.45 0.53 0.56| 268|apache2       59|   0
0 |   0:   0

91   8   0   0   1   0| 322  3430 |0.45 0.53 0.56| 268|apache2       60|   0
0 |   0:   0

93   6   0   0   1   0| 327  2679 |0.45 0.53 0.56| 268|apache2       55|   0
0 |   0:   0

89   9   0   0   2   0| 347  3939 |0.45 0.53 0.56| 268|apache2       62|   0
0 |   0:   0

87  11   0   0   2   0| 474  5246 |0.45 0.53 0.56| 268|apache2       41|   0
0 |   0:   0

92   8   0   0   0   0| 359  2659 |0.66 0.57 0.57| 270|apache2       49|   0
0 |   0:   0

94   5   0   0   1   0| 348  1344 |0.66 0.57 0.57| 270|monitorix.cgi 36|   0
0 |   0:   0

95   5   0   0   0   0| 375  1962 |0.66 0.57 0.57| 270|monitorix.cgi 38|   0
1808k|12.4:   0

94   5   0   0   1   0| 347  1777 |0.66 0.57 0.57| 270|monitorix.cgi 36|   0
0 |   0:   0

92   7   0   0   1   0| 375  2635 |0.66 0.57 0.57| 270|monitorix.cgi 38|   0
0 |   0:   0

95   5   0   0   0   0| 343  1403 |0.77 0.59 0.58| 270|monitorix.cgi 37|   0
0 |   0:   0

85   9   4   1   1   0| 422  1939 |0.77 0.59 0.58| 267|apache2       37|   0
392k|2.80:   0^C

Receiving a simple text message (just 1 text line in it!):

----total-cpu-usage---- ---system-- ---load-avg--- proc -most-expensive-
-dsk/total- sda--sdb-

usr sys idl wai hiq siq| int   csw | 1m   5m  15m |tota|  cpu process   |
read  writ|util:util

89   5   5   1   0   0| 405   638 |0.21 0.39 0.50| 276|monitorix.cgi 90|
44k    0 |0.80:   0

95   5   0   0   0   0| 402  1353 |0.21 0.39 0.50| 276|monitorix.cgi 84|   0
0 |   0:   0

88  10   0   0   2   0| 533  3572 |0.35 0.42 0.51| 275|monitorix.cgi 34|
12k  540k|8.00:0.40

24   8  67   0   1   0| 508   455 |0.35 0.42 0.51| 273|apache2      1.0|   0
0 |   0:   0

69  18   8   1   4   0| 854  1559 |0.35 0.42 0.51| 274|apache2       55|   0
268k|2.40:   0

75  20   0   0   5   0| 787  3526 |0.35 0.42 0.51| 274|apache2       52|   0
0 |   0:   0

92   7   0   0   1   0| 365  3569 |0.35 0.42 0.51| 274|apache2       64|   0
2404k|10.4:   0

92   7   0   0   1   0| 305  2777 |0.40 0.43 0.51| 274|apache2       58|   0
0 |   0:   0

92   7   0   0   1   0| 323  2948 |0.40 0.43 0.51| 274|apache2       63|   0
0 |   0:   0

92   7   0   0   1   0| 316  3255 |0.40 0.43 0.51| 274|apache2       67|   0
40k|   0:   0

92   7   0   0   1   0| 322  3365 |0.40 0.43 0.51| 274|apache2       69|   0
0 |   0:   0

93   6   0   0   1   0| 312  2667 |0.40 0.43 0.51| 274|apache2       61|   0
0 |   0:   0

93   6   0   0   1   0| 317  1882 |0.61 0.47 0.52| 274|apache2       54|   0
0 |   0:   0

94   5   0   0   1   0| 308  2404 |0.61 0.47 0.52| 274|apache2       57|   0
32k|0.40:   0

94   6   0   0   0   0| 301  2295 |0.61 0.47 0.52| 274|apache2       51|   0
0 |   0:   0

56   4  38   1   1   0| 320  1571 |0.61 0.47 0.52| 273|apache2       36|   0
128k|1.60:   0

  1   1  98   0   0   0| 283   111 |0.61 0.47 0.52| 273|                |
0   408k|2.40:   0

  2   2  91   5   0   0| 320   262 |0.72 0.50 0.53| 273|sshd: adminis1.0|
0   804k|5.20:   0^C

 

Reading 1 message; marking as read in OL2013:

----total-cpu-usage---- ---system-- ---load-avg--- proc -most-expensive-
-dsk/total- sda--sdb-

usr sys idl wai hiq siq| int   csw | 1m   5m  15m |tota|  cpu process   |
read  writ|util:util

  8   1  90   1   0   0| 298   345 |0.38 0.44 0.51| 275|dovecot/imap-0.3|
37k   83k|1.04:0.17

  1   1  98   0   0   0| 291   126 |0.38 0.44 0.51| 275|rcuos/0      1.0|
0     0 |   0:   0

  1   1  97   1   0   0| 288   110 |0.38 0.44 0.51| 275|kworker/0:1  1.0|
0    56k|0.40:   0

22   4  72   2   0   0| 355   603 |0.38 0.44 0.51| 275|apache2       18|   0
320k|2.80:   0

52   5  40   2   1   0| 375  1525 |0.38 0.44 0.51| 276|apache2       45|   0
208k|1.60:   0

91   8   0   0   1   0| 317  4330 |0.43 0.45 0.51| 276|apache2       70|   0
0 |   0:   0

93   6   0   0   1   0| 301  2259 |0.43 0.45 0.51| 276|apache2       55|   0
0 |   0:   0

90   8   0   0   2   0| 338  3839 |0.43 0.45 0.51| 276|apache2       63|   0
320k|   0:   0

93   6   0   0   1   0| 316  2725 |0.43 0.45 0.51| 276|apache2       58|   0
48k|   0:   0

91   8   0   0   1   0| 312  3769 |0.43 0.45 0.51| 276|apache2       71|   0
0 |   0:   0

92   7   0   0   1   0| 310  2968 |0.48 0.46 0.52| 276|apache2       61|   0
16k|0.40:   0

94   5   0   0   1   0| 301  2062 |0.48 0.46 0.52| 276|apache2       57|   0
0 |   0:   0

94   6   0   0   0   0| 332  2237 |0.48 0.46 0.52| 275|apache2       45|   0
56k|1.20:   0

90   8   0   0   2   0| 408  3608 |0.48 0.46 0.52| 275|apache2       51|   0
2464k|3.60:   0

91   8   0   0   1   0| 484  4382 |0.48 0.46 0.52| 275|apache2       30|   0
144k|0.40:   0

39   5  55   0   1   0| 344  1273 |0.52 0.47 0.52| 274|apache2       23|   0
148k|   0:   0

  6   1  92   1   0   0| 322   417 |0.52 0.47 0.52| 274|apache2      5.0|
0   156k|1.60:   0

  1   1  97   1   0   0| 283   116 |0.52 0.47 0.52| 274|                |
0    36k|   0:1.20

  2   1  97   0   0   0| 286   111 |0.52 0.47 0.52| 274|                |
0     0 |   0:   0

  1   2  97   0   0   0| 284   109 |0.52 0.47 0.52| 274|                |
0     0 |   0:   0^C

 

Deleting 1 message from INBOX in OL2013 client:

----total-cpu-usage---- ---system-- ---load-avg--- proc -most-expensive-
-dsk/total- sda--sdb-

usr sys idl wai hiq siq| int   csw | 1m   5m  15m |tota|  cpu process   |
read  writ|util:util

  7   1  90   1   0   0| 298   331 |1.14 0.69 0.56| 278|dovecot/imap-0.3|
39k   82k|1.05:0.17

93   6   0   0   1   0| 323  2731 |1.14 0.69 0.56| 277|apache2       57|   0
0 |   0:   0

91   8   0   0   1   0| 310  3740 |1.13 0.69 0.56| 277|apache2       72|   0
0 |   0:   0

93   6   0   0   1   0| 310  3067 |1.13 0.69 0.56| 277|apache2       62|   0
12k|1.20:   0

93   6   0   0   1   0| 353  2185 |1.13 0.69 0.56| 277|apache2       56|   0
1872k|8.40:   0

93   6   0   0   1   0| 329  2597 |1.13 0.69 0.56| 276|apache2       57|   0
128k|2.40:   0

94   5   0   0   1   0| 298  2472 |1.13 0.69 0.56| 276|apache2       51|   0
0 |   0:   0

56   5  36   2   1   0| 322  1620 |1.28 0.73 0.57| 275|apache2       37|   0
132k|2.40:   0

  1   1  98   0   0   0| 279   104 |1.28 0.73 0.57| 275|monitorix.pid1.0|
0     0 |   0:   0

  2   1  97   0   0   0| 289   126 |1.28 0.73 0.57| 275|                |
0     0 |   0:   0

  1   1  98   0   0   0| 281   108 |1.28 0.73 0.57| 275|                |
0     0 |   0:   0

  2   1  97   0   0   0| 287   122 |1.28 0.73 0.57| 275|                |
0     0 |   0:   0^C

 

Klicking once the refresh button in OL2013:

----total-cpu-usage---- ---system-- ---load-avg--- proc -most-expensive-
-dsk/total- sda--sdb-

usr sys idl wai hiq siq| int   csw | 1m   5m  15m |tota|  cpu process   |
read  writ|util:util

74   6  18   1   1   0| 356  2430 |0.72 0.78 0.62| 277|apache2       61|   0
160k|0.80:   0

88  10   0   0   2   0| 328  4247 |0.74 0.78 0.63| 277|apache2       68|   0
16k|1.20:   0

92   7   0   0   1   0| 318  1926 |0.74 0.78 0.63| 277|apache2       51|   0
0 |   0:   0

91   8   0   0   1   0| 321  3780 |0.74 0.78 0.63| 277|apache2       66|   0
8192B|   0:   0

90   8   0   1   1   0| 375  3019 |0.74 0.78 0.63| 277|apache2       54|   0
1892k|5.60:0.80

90   9   0   0   1   0| 322  3657 |0.74 0.78 0.63| 277|apache2       70|   0
0 |   0:   0

93   6   0   0   1   0| 304  2959 |0.92 0.82 0.64| 277|apache2       60|   0
0 |   0:   0

93   6   0   0   1   0| 314  1974 |0.92 0.82 0.64| 277|apache2       56|   0
0 |   0:   0

92   7   0   0   1   0| 319  2458 |0.92 0.82 0.64| 277|apache2       54|   0
40k|0.40:   0

92   7   0   0   1   0| 311  2627 |0.92 0.82 0.64| 277|apache2       53|   0
0 |   0:   0

64   5  30   1   0   0| 339  1784 |0.92 0.82 0.64| 276|apache2       40|   0
168k|0.40:0.40^C

 

Some hints:

                - no swapping has occured, all used memory fits in RAM

                - could also my MySQL-Server be the bottleneck? I don't know
if it has to work very hard with just some messages coming in and out..

                

Thank you very much!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6229 bytes
Desc: not available
URL: <http://lists.horde.org/archives/horde/attachments/20141204/3db2efcc/attachment.bin>


More information about the horde mailing list