Looking for some expert advice here. I'm a first time sys admin on my own server and I can't figure the bottle neck in my server.
Linux CentOS 6 Apache 2.4 PHP 5.5
I've been receiving tons of high 5 min load average alert ranging between 8 - 80 from CSF
So I went ahead and installed sqltuner on my server and let it run for 3 days
The results don't show anything out of the ordinary but I'm still getting high 5 min load average daily
I'm trying to find the bottle neck (CPU, load caused by out of memory issues or I/O-bound load)
Would be stoked if someone can share any insights...
(I've included sqltuner's report and the high load email output below)
-------- Security Recommendations -------------------------------------------
[OK] There are no anonymous accounts for any database users
[OK] All database users have passwords assigned
[!!] There is no basic password file list!
-------- Performance Metrics -------------------------------------------------
[--] Up for: 120d 18h 27m 20s (227M q [21.795 qps], 51M conn, TX: 907B, RX: 26B)
[--] Reads / Writes: 38% / 62%
[--] Binary logging is disabled
[--] Total buffers: 15.4G global + 4.1M per thread (600 max threads)
[OK] Maximum reached memory usage: 16.2G (51.75% of installed RAM)
[OK] Maximum possible memory usage: 17.8G (56.91% of installed RAM)
[OK] Slow queries: 0% (11/227M)
[OK] Highest usage of available connections: 33% (199/600)
[OK] Aborted connections: 0.56% (284327/51183230)
[OK] Query cache efficiency: 83.0% (78M cached / 94M selects)
[!!] Query cache prunes per day: 10288
[OK] Sorts requiring temporary tables: 0% (392 temp sorts / 1M sorts)
[OK] Temporary tables created on disk: 4% (65K on disk / 1M total)
[OK] Thread cache hit rate: 99% (199 created / 51M connections)
[OK] Table cache hit rate: 22% (425 open / 1K opened)
[OK] Open file limit used: 0% (433/50K)
[OK] Table locks acquired immediately: 99% (41M immediate / 41M locks)
-------- MyISAM Metrics -----------------------------------------------------
[!!] Key buffer used: 20.2% (108M used / 536M cache)
[OK] Key buffer size / total MyISAM indexes: 512.0M/14.7M
[OK] Read Key buffer hit rate: 99.8% (51M cached / 121K reads)
[!!] Write Key buffer hit rate: 40.8% (4M cached / 2M writes)
-------- InnoDB Metrics -----------------------------------------------------
[--] InnoDB is enabled.
[OK] InnoDB buffer pool / data size: 14.6G/140.9M
[!!] InnoDB buffer pool instances: 1
[!!] InnoDB Used buffer: 3.39% (32546 used/ 959999 total)
[OK] InnoDB Read buffer efficiency: 100.00% (5437258684 hits/ 5437259670 total)
[!!] InnoDB Write buffer efficiency: 0.00% (0 hits/ 1 total)
[OK] InnoDB log waits: 0.00% (0 waits / 24069213 writes)
-------- AriaDB Metrics -----------------------------------------------------
[--] AriaDB is disabled.
-------- Replication Metrics -------------------------------------------------
[--] No replication slave(s) for this server.
[--] This is a standalone server..
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
Increasing the query_cache size over 128M may reduce performance
Variables to adjust:
query_cache_size (> 128M) [see warning above]
innodb_buffer_pool_instances(=14)
----------------------
(The only change I've made is to reduce InnoDB size and add multiple pool instances)
The high daily load email:
Time: Sun Dec 6 05:43:53 2015 -0500
1 Min Load Avg: 80.26
5 Min Load Avg: 21.19
15 Min Load Avg: 7.46
Running/Total Processes: 221/875
ps.txt
O
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-1424 16243 0/149/2713129 W 1.28 14 0 0.0 2.34 65107.59 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
1-1424 17057 0/18/2701770 W 2.15 4 0 0.0 0.30 62402.50 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
2-1424 17064 0/24/2685073 W 2.11 13 0 0.0 0.32 62668.14 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
3-1424 15319 0/215/2657841 W 3.50 4 0 0.0 3.88 61950.21 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
4-1424 11567 0/204/2651294 W 7.10 7 0 0.0 3.00 63562.61 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
5-1424 16512 0/37/2640191 W 2.19 5 0 0.0 0.60 63637.48 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
6-1424 17735 0/8/2630311 W 0.62 19 0 0.0 0.06 65036.68 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
7-1424 16521 0/31/2613938 W 2.20 19 0 0.0 0.36 62385.07 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
8-1424 16081 0/33/2611913 W 2.46 5 0 0.0 0.42 60535.12 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
9-1424 14711 0/120/2603042 W 1.89 18 0 0.0 2.11 59868.26 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
10-1424 16838 0/21/2592501 W 1.77 15 0 0.0 0.24 62195.33 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
11-1424 16531 0/42/2584776 W 2.45 11 0 0.0 0.39 62253.11 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
12-1424 17065 0/20/2570161 W 1.29 12 0 0.0 0.18 60474.65 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
13-1424 17770 0/13/2564128 W 1.27 2 0 0.0 0.63 59748.24 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
14-1424 17771 0/14/2542936 W 1.30 2 0 0.0 0.17 60513.73 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
15-1424 15736 0/64/2536855 W 2.91 7 0 0.0 1.16 61453.61 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
16-1424 17077 0/19/2522131 W 2.76 15 0 0.0 0.35 59307.60 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
17-1424 14723 0/93/2521068 W 3.38 6 0 0.0 1.77 60437.40 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
18-1424 16279 0/62/2509938 W 1.81 15 0 0.0 1.07 61401.24 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
19-1424 15333 0/116/2498356 W 3.24 19 0 0.0 1.69 57911.45 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
20-1424 16297 1/35/2494463 W 0.98 53 62 16.1 0.47 59474.66 58.174.24.65 suspensionrevolution.com:80 GET /new/wp-content/themes/optimizePressTheme/lib/assets/defaul
21-1424 16298 0/40/2473943 W 3.83 3 0 0.0 0.54 57987.71 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
22-1424 18054 0/6/2469193 W 1.23 1 0 0.0 0.05 59122.65 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
23-1424 12894 0/162/2458774 W 5.90 17 0 0.0 2.42 56404.92 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
24-1424 18088 0/4/2452422 W 0.90 11 0 0.0 0.00 58405.08 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
25-1424 18089 0/6/2446570 W 1.22 1 0 0.0 0.03 57036.34 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
26-1424 17079 0/30/2439491 W 1.88 0 0 0.0 0.43 54697.67 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
27-1424 16101 0/64/2416961 W 1.53 18 0 0.0 1.69 57160.43 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
28-1424 18140 0/9/2403931 W 0.62 18 0 0.0 0.02 55901.03 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
29-982 1505 1/18/1548355 G 0.14 2914733 450294 2.8 0.29 34947.04 96.47.70.4 suspensionrevolution.com:80 POST /dap/dap-clickbank-6.0.php HTTP/1.1
30-1424 15338 0/100/2384316 W 2.20 7 0 0.0 1.24 53919.77 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
31-1424 16300 2/56/2379897 K 3.47 3 1365 2.4 1.01 55195.75 89.166.18.35 appcoiner.com:80 GET /favicon.ico HTTP/1.1
32-1424 15749 0/108/2369131 W 3.26 17 0 0.0 2.09 55452.02 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
33-1424 17100 0/17/2359616 W 1.70 11 0 0.0 0.16 52564.23 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
34-1424 16310 0/162/2356424 W 3.95 15 0 0.0 2.68 55800.32 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
35-1424 16543 0/63/2326471 W 1.29 4 0 0.0 0.75 55028.80 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
36-1424 17101 0/18/2331624 W 2.05 14 0 0.0 0.21 53656.66 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
37-1424 17102 0/20/2314444 W 1.51 19 0 0.0 0.29 55684.29 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
38-1424 19665 0/1/2295814 W 0.00 3 0 0.0 0.00 52187.61 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
39-984 8727 1/69/1464486 G 0.68 2906097 450284 2.8 0.83 33844.50 74.63.153.4 suspensionrevolution.com:80 POST /dap/dap-clickbank-6.0.php HTTP/1.1
40-1424 19720 0/1/2277467 W 0.00 2 0 0.0 0.00 55864.93 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
41-1424 18141 0/6/2270838 W 0.62 14 0 0.0 0.02 54059.95 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
42-983 18177 1/49/1440183 G 0.63 2910665 450302 2.8 0.57 31224.74 74.63.153.4 suspensionrevolution.com:80 POST /dap/dap-clickbank-6.0.php HTTP/1.1
43-1424 16104 2/57/2242969 W 2.62 5 0 8.8 0.83 56170.39 54.202.7.147 appcoiner.com:80 GET /start-2/?utm_expid=111102625-1.-ThtNpCTSByWcbkMGdBOow.1&ho
44-1424 16547 0/28/2247277 W 3.84 5 0 0.0 0.31 53028.08 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
45-1424 15797 0/80/2225028 W 3.24 5 0 0.0 1.63 51333.94 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
46-1424 19721 0/1/2205346 W 0.00 2 0 0.0 0.00 52025.79 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
47-1424 18142 0/11/2207016 W 0.94 1 0 0.0 0.07 51355.07 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
48-1424 17104 0/137/2172322 W 1.28 7 0 0.0 2.32 49665.11 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
49-1424 16314 0/63/2168481 W 4.14 5 0 0.0 1.16 49191.04 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
50-1424 19763 0/0/2141243 W 2.41 12 0 0.0 0.00 49538.97 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
51-1424 17106 0/20/2137681 W 1.24 7 0 0.0 0.29 49973.70 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
52-1424 16549 0/34/2125106 W 1.99 7 0 0.0 0.50 50442.63 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
53-1424 17107 0/20/2109740 W 2.18 2 0 0.0 0.31 48074.92 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
54-1424 18143 0/4/2087977 W 1.21 8 0 0.0 0.00 49243.64 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
55-1424 17114 0/30/2062106 W 0.34 17 0 0.0 0.46 48605.36 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
56-1424 17115 0/19/2064562 W 2.07 0 0 0.0 0.30 47600.46 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
57-1424 16569 0/41/2051051 W 3.50 8 0 0.0 0.54 47547.57 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
58-1424 17116 0/28/2023150 W 1.28 4 0 0.0 0.42 49170.14 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
59-1424 17117 0/30/2010767 W 1.41 1 0 0.0 0.51 47681.03 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
60-1424 17118 0/17/1999913 R 0.05 53 5 0.0 0.26 46914.84 65.30.135.196
61-1424 16572 0/35/1978028 W 2.73 16 0 0.0 0.45 45848.82 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
62-1424 16573 0/27/1957566 W 1.60 0 0 0.0 0.45 46768.01 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
63-1424 16574 0/43/1936669 W 2.37 3 0 0.0 0.54 43520.07 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
64-1424 16575 0/28/1922381 W 1.54 1 0 0.0 0.33 45007.49 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
65-1424 16576 0/32/1903916 W 2.15 13 0 0.0 0.73 45117.83 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
66-1424 17119 0/28/1878566 W 1.18 6 0 0.0 0.45 44448.25 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
67-1424 16578 1/39/1869043 K 2.01 0 0 1.2 0.53 44966.25 114.79.47.51 suspensionrevolution.com:80 GET /favicon.ico HTTP/1.1
68-1424 16579 0/37/1841958 W 2.59 5 0 0.0 0.48 44262.26 72.5.231.11 appcoiner.com:80 GET /?hopc2s=nakt123 HTTP/1.1
This is my TOP output:
root#ns513521 [~]# top
top - 08:21:31 up 153 days, 3:51, 1 user, load average: 0.15, 0.27, 0.51
Tasks: 230 total, 2 running, 227 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.4%us, 0.3%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32855908k total, 25102984k used, 7752924k free, 886004k buffers
Swap: 1569780k total, 63984k used, 1505796k free, 21254784k cached
This is my ioStat output:
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 21.99 1476.57 549.50 19540299168 7271856568
sdb 19.53 982.85 549.49 13006647390 7271718616
sdc 19.46 978.26 549.49 12945853934 7271718616
md2 9.78 492.22 399.94 6513868322 5292584264
md1 20.05 27.80 140.15 367920858 1854711136
I think you can just use sar, e.g. something like this :
sar -q -s 00:00:00 -e 11:59:59 -f /var/log/sa/sa`date +%d | awk '{printf "%02d", $1 - 1}'`
Related
I don't want to use --no-sandbox for security reasons, but without it, I can't use --no-zygote which is the only solution I could find to prevent zombie process from being created. How can I achieve the same goal of cleaning up zombie processes without --no-sandbox? I know about dumb-init, but I want to know if there is a way to keep the processet from becoming zombies in the first place.
The zombie processes left behind are like this
$ ps aux | grep chrome | head -n 10
app 60 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome_crashpad] <defunct>
app 65 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
app 66 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
app 82 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
app 163 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
app 179 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome_crashpad] <defunct>
app 184 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
app 185 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
app 202 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
app 285 0.0 0.0 0 0 ? Z Mar24 0:00 [chrome] <defunct>
I have designed a multi-task network where the first layers are shared between two output layers. Through investigating multi-task learning principles, I got to know that there should be a weight scalar parameter such as alpha that dampens the two losses outputted from two output layers. My question is about this parameter itself. Does it have effect on the model's final performance? probably yes.
This is the part of my code snippet for computation of losses:
...
mtl_loss = (alpha) * loss_1 + (1-alpha) * loss_2
mtl_loss.backward()
...
Above, loss_1 is MSELoss, and loss_2 is CrossEntropyLoss. As such, picking alpha=0.9, I'm getting the following loss values during training steps:
[2020-05-03 04:46:55,398 INFO] Step 50/150000; loss_1: 0.90 + loss_2: 1.48 = mtl_loss: 2.43 (RMSE: 2.03, F1score: 0.07); lr: 0.0000001; 29 docs/s; 28 sec
[2020-05-03 04:47:23,238 INFO] Step 100/150000; loss_1: 0.40 + loss_2: 1.27 = mtl_loss: 1.72 (RMSE: 1.38, F1score: 0.07); lr: 0.0000002; 29 docs/s; 56 sec
[2020-05-03 04:47:51,117 INFO] Step 150/150000; loss_1: 0.12 + loss_2: 1.19 = mtl_loss: 1.37 (RMSE: 0.81, F1score: 0.08); lr: 0.0000003; 29 docs/s; 84 sec
[2020-05-03 04:48:19,034 INFO] Step 200/150000; loss_1: 0.04 + loss_2: 1.10 = mtl_loss: 1.20 (RMSE: 0.55, F1score: 0.07); lr: 0.0000004; 29 docs/s; 112 sec
[2020-05-03 04:48:46,927 INFO] Step 250/150000; loss_1: 0.02 + loss_2: 0.96 = mtl_loss: 1.03 (RMSE: 0.46, F1score: 0.08); lr: 0.0000005; 29 docs/s; 140 sec
[2020-05-03 04:49:14,851 INFO] Step 300/150000; loss_1: 0.02 + loss_2: 0.99 = mtl_loss: 1.05 (RMSE: 0.43, F1score: 0.08); lr: 0.0000006; 29 docs/s; 167 sec
[2020-05-03 04:49:42,793 INFO] Step 350/150000; loss_1: 0.02 + loss_2: 0.97 = mtl_loss: 1.04 (RMSE: 0.43, F1score: 0.08); lr: 0.0000007; 29 docs/s; 195 sec
[2020-05-03 04:50:10,821 INFO] Step 400/150000; loss_1: 0.01 + loss_2: 0.94 = mtl_loss: 1.00 (RMSE: 0.41, F1score: 0.08); lr: 0.0000008; 29 docs/s; 223 sec
[2020-05-03 04:50:38,943 INFO] Step 450/150000; loss_1: 0.01 + loss_2: 0.86 = mtl_loss: 0.92 (RMSE: 0.40, F1score: 0.08); lr: 0.0000009; 29 docs/s; 252 sec
As training loss shows, it seems that my first network that uses MSELoss converges super fast, while the second network has not been converged yet. RMSE, and F1score are two metrics that I'm using to track the progress of first, and second network, respectively.
I know that picking the optimal alpha is somewhat experimental, but are there hints to make the process of picking it easier? Specifically, I want the networks being trained in line with each other, not like above that the first network converges super duper fast. Can alpha parameter help controlling this?
With that alpha, loss_1 is contributing more to the result and due backpropagation updates weights proportionally to error it improves faster. Try using more equilibrated alpha to balance the performance in both tasks.
You also can try change alpha during training.
I'm struggeling to position an element using clip-path: url(#clipdiv).
Essentially I want to create two overlapping images, one with a clip-path overlapping the background element without one. On :hover I then want to show the background image, filling the viewport.
I don't have any problem positioning the two elements. However, the clip-path always starts on the very left of the page and is not responsive. Adjusting viewBox doesn't change anything.
Here a visual representation:
Of course I could move and scale the clip-path using css, but then the two elements won't be overlapping anymore.
This is my clip-path svg:
// It does exactly the same thing without the generated things in the svg tag.
// It seems like clip-path doesn't care about those.
<svg id="svg-clip" enable-background="new 0 0 1274.57 1034.27" version="1.1" viewBox="0 0 1274.57 1034.27" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<clippath id="logoclip">
<path d="m432.81 1034.2c-3.27 0-5.8-0.26-8.25 0.07-2.7 0.37-4.98-1.22-7.59-1.1-2.55 0.12-4.84-1.27-7.27-1.68-7.01-1.17-13.1-4.59-19.37-7.55-2.8-1.32-5.6-2.92-7.91-4.96-4.24-3.75-9.22-6.57-13.04-10.86-5.97-6.69-11.63-13.56-16.43-21.18-3.75-5.96-6.6-12.22-8.99-18.79-1-2.75-2.13-5.44-3.05-8.24-1.16-3.56-1.92-7.2-2.84-10.8-1.06-4.14-2.34-8.28-2.04-12.66-2.2-3.09-0.54-6.81-1.77-10.25-1.1-3.11 0.17-6.97-0.3-10.41-1.9-13.67-0.64-27.4-0.87-41.09-0.24-13.83-0.05-27.66-0.05-41.49v-41.5-40.99-41.49-41.49s-0.76-27.71 0.19-41.48c1.25-18.05 0.54-36.06 0.76-54.09 0.22-18.16 0.05-36.33 0.05-54.49v-54.99-54.49s0-36.33 0-54.49c2.01-13.15 0.74-26.39 0.95-39.58 0.22-13.49 0.05-26.99 0.05-40.49v-39.99s0-26.66 0-39.99 0-26.66 0-39.99v-40.49c0-13.33 0.07-26.66-0.05-39.99-0.03-3.62 1.01-6.79 2.51-9.98 2.62-5.57 5.02-11.25 7.54-16.87 1.64-3.65 3.55-7.21 4.93-10.95 1.49-4.03 3.97-7.49 6.42-10.79 3.63-4.89 8.99-7.99 14.61-10.34 3.26-1.37 6.66-2.42 10.03-3.53 2.35-0.78 4.7-1.6 7.12-2.09 2.46-0.49 4.81-1.46 7.42-1.5 1.81-0.03 3.6-0.88 5.39-1.37 0.6-0.16 1.17-0.46 1.78-0.52 3.52-0.37 7.08-0.52 10.56-1.08 2.03-0.33 3.95-1.05 6.09-1.01 1.85 0.03 3.71-0.74 5.58-0.89 2.15-0.17 4.44 0.41 6.47-0.12 9.46-2.47 19.08-1.88 28.67-1.91 9.82-0.04 19.65-0.05 29.47 0.04 1.53 0.01 3.05 0.64 4.58 0.95 1.38 0.28 2.94-0.57 4.19 0.83 0.31 0.35 1.25 0.18 1.89 0.17 5-0.13 9.87 0.5 14.68 1.95 1.37 0.41 2.99-0.06 4.47 0.1 1.22 0.14 2.37 0.74 3.59 0.94 9.75 1.59 19 4.63 27.27 10.1 1.59 1.05 2.97 3.08 3.48 4.93 0.47 1.69 2.59 3.74 0.15 5.63 0.04 6.39-3.62 11.48-6 17.01-2.62 6.08-5.14 12.22-8.05 18.15-2.01 4.1-3.05 8.13-3.03 12.79 0.16 36.66 0.09 73.32 0.09 109.98-2.03 15.66-0.73 31.38-0.95 47.08-0.22 15.99-0.05 31.99-0.05 47.99v47.49 47.49 47.99c0 15.83 0.82 31.72-0.23 47.48-1.06 15.89-0.47 31.73-0.72 47.59-0.25 15.83-0.05 31.66-0.05 47.49v47.99 47.99 47.49c0 16 0.78 32.04-0.22 47.98-0.96 15.22-0.52 30.4-0.73 45.59-0.21 15.16-0.05 30.33-0.05 45.49v45.99c-1.5 6.47-0.42 13.1-1.19 19.56-0.42 3.55-0.62 7.06-0.84 10.6-0.11 1.71-0.61 3.4-0.96 5.09-0.38 1.85 0.5 3.71-0.84 5.69-0.85 1.26 0.31 3.72-0.24 5.36-2.05 6.06-1.9 12.65-4.8 18.51-0.87 1.76-0.33 4.23-1.22 5.98-3.21 6.33-5.08 13.27-8.88 19.33-3.35 5.35-6.82 10.59-10.72 15.58-3.47 4.44-7.35 8.44-11.47 12.16-5.17 4.67-10.61 9.05-16.76 12.5-5.29 2.97-10.72 5.4-16.55 7.14-2.06 0.62-4.18 1.16-6.25 1.74-2.11 0.59-4.49 0.7-6.51 1.26-4.9 1.3-9.77 0.33-13.85 0.77zm66.89-1011.1c0.1-0.27 0.19-0.53 0.29-0.8-1.96-1.35-3.76-3.15-5.92-3.98-5.87-2.25-12.14-2.96-18.3-4.01-2.75-0.47-5.65-0.08-8.48-0.08h-8.49c-3 0-6.01-0.16-8.99 0.05-2.72 0.19-5.42-0.57-8.21 0.66-2.41 1.07-5.47-0.34-7.96 1.29-4.69-0.22-8.96 1.52-13.23 3.04-6.29 2.24-11.6 5.72-14.45 12.18-1.49 3.39-3.74 6.49-4.85 9.98-1.18 3.72-3.37 6.91-4.61 10.61-1.62 4.78-4.33 9.19-6.47 13.8-0.73 1.57-1.08 3.23-1.08 5.07 0.08 18.33 0.05 36.66 0.05 54.99s0 36.66 0 54.99c0 18.5 0.18 37-0.05 55.49-0.23 18.19 0.43 36.37-0.75 54.59-0.99 15.27-0.2 30.65-0.2 45.98v46.49 45.99 46.49c0 15.33 0.19 30.66-0.05 45.99-0.24 15.36 0.18 30.7-0.7 46.09-1.05 18.44-0.25 36.98-0.25 55.48v55.99 55.49c0 18.66 0.18 37.33-0.05 55.99-0.23 18.36 0.32 36.71-0.71 55.09-0.85 15.13-0.99 30.39 0.69 45.57 0.47 4.28 0.07 8.66 0.07 12.99 0 2.5-0.52 5.15 0.15 7.45 0.61 2.08 1.1 4.1 0.77 6.12-0.37 2.25 1.09 4.02 1.07 6.1-0.04 3.69 1.04 7.19 2.06 10.65 1.52 5.17 3.11 10.26 5.78 15.11 3.69 6.7 8.71 11.88 14.74 16.26 3.15 2.29 6.74 3.96 10.46 4.83 4.07 0.95 8.31 1.09 12.55 1.22 8.51 0.24 15.8-3.04 22.26-7.77 5.15-3.77 9.19-8.96 12.16-14.85 3.32-6.59 4.67-11.73 6.07-18.01 1.17-5.24 1.52-10.58 2.7-15.82 0.87-3.87 0.41-8.01 1-12.07 0.82-5.61 0.09-11.35 0.98-17.09 0.81-5.21 0.17-10.64 0.17-15.97s0-10.66 0-16 0.23-10.68-0.07-15.99c-0.3-5.27 0.99-10.39 1.03-15.59 0.1-14 0.03-27.99 0.03-41.99v-41.49-41.99s0-27.99 0-41.99c0-13.83-0.18-27.66 0.05-41.49 0.24-13.86-1.11-27.76 0.95-41.58v-66.49-66.49c0-22.33-0.16-44.66 0.05-66.99 0.2-22.03-1.02-44.07 0.95-66.07v-187.96-50.81c2.05-4.17 4.48-8.03 5.84-12.25 0.97-3.01 2.54-5.63 3.75-8.46 1.27-2.97 2.56-5.94 3.89-8.89 1.14-2.53 2.43-4.99 3.46-7.56 0.46-1.14-0.09-2.43 0.62-3.76 0.5-0.87-0.45-2.52-0.77-3.82z"/>
<path d="m54.27 118.23v156.74h-53.5c-0.77-4.33-1.11-251.68-0.32-271.82h26.32 26.34c1.12 2.2 2.36 4.52 3.52 6.89 6.21 12.75 12.59 25.43 18.54 38.31 4.08 8.83 8.96 17.29 12.75 26.21 4.05 9.54 9.08 18.55 13.36 27.95 4.03 8.84 9.07 17.24 12.77 26.2 2.89 7 6.63 13.53 9.63 20.69 1.98-4.15 3.84-8.05 5.71-11.94 4.35-9.03 8.89-17.97 13.01-27.1 3.3-7.33 7.46-14.25 10.5-21.64 3.42-8.3 7.84-16.07 11.51-24.22 3.61-8.01 8.16-15.62 11.47-23.74 3.39-8.31 7.94-16.02 11.45-24.25 1.87-4.39 3.98-8.68 6.07-13.19h53.47v271.83h-26.26-26.31v-156.7c-0.23-0.06-0.46-0.12-0.69-0.18-2.82 5.64-5.64 11.29-8.45 16.94-3.43 6.91-6.56 13.99-10.34 20.7-11.38 20.2-20.64 41.48-31.63 61.88-0.37 0.68-0.67 1.39-1.05 2.19h-35.92c-1.22-2.43-2.56-5.23-4.02-7.96-12.68-23.69-24.24-47.94-36.56-71.81-3.61-7.01-7.23-14.02-11.37-21.98z"/>
<path d="m2.45 374.24h52.66c2.03 3.8 4.34 7.51 6.07 11.48 4.96 11.31 10.75 22.21 15.93 33.39 4.15 8.97 9.08 17.58 12.93 26.63 4 9.39 9.14 18.19 13.13 27.55 3.82 8.96 8.82 17.34 12.7 26.23 3.02 6.94 6.62 13.58 9.78 20.74 4.89-10.07 9.73-19.97 14.52-29.89 5.02-10.41 10.17-20.77 14.94-31.3 3.44-7.6 7.66-14.84 10.87-22.49 3.66-8.7 8.43-16.83 12.13-25.47 3.29-7.68 7.44-14.92 10.84-22.51 2.14-4.77 4.53-9.44 6.56-14.37h53.44v271.43c-3.91 0.69-40.08 0.91-52.83 0.28v-157.59c-17.65 34.83-34.86 68.78-52.06 102.71h-35.73c-2.03-3.81-4.15-7.6-6.1-11.47-11.46-22.74-22.67-45.61-34.43-68.2-3.67-7.05-7.29-14.16-11.52-22.11v156.77h-53.82c-0.01-90.49-0.01-180.93-0.01-271.81z"/>
<path d="m5.44 747.24h52.72c2.35 4.51 4.99 8.91 7.02 13.59 4.6 10.63 10.16 20.78 14.95 31.3 4.1 9 9.05 17.59 12.92 26.64 4.01 9.39 9.13 18.2 13.13 27.55 3.83 8.95 8.83 17.34 12.71 26.23 3.03 6.94 6.63 13.57 9.73 20.62 2.13-4.15 4.6-8.06 6.23-12.29 3.51-9.1 8.51-17.46 12.49-26.32 3.29-7.31 7.38-14.27 10.45-21.67 3.5-8.43 8.19-16.26 11.69-24.65 3.28-7.85 7.47-15.23 11.03-22.92 3.89-8.39 8.01-16.67 11.97-25.03 2.04-4.32 3.94-8.7 5.91-13.05h53.57v271.66h-52.87v-157.52c-17.63 34.79-34.84 68.75-52.03 102.66h-35.79c-2.27-4.38-4.58-8.76-6.82-13.17-10.96-21.62-21.87-43.26-32.87-64.86-3.88-7.63-7.96-15.16-12.16-23.14v155.72c-4.25 0.76-40.73 0.99-53.98 0.36v-271.71z"/>
<path d="m915.81 112.82c0.53 0.53 0.88 0.88 1.4 1.41h106.22v46.72h-106.21c-0.51 0.62-0.92 1.13-1.49 1.83v64.23h125.58v48h-178.42v-271.73h178.43v46.79h-124.11l-1.4 1.4v61.35z"/>
<path d="m865.17 374.15h177.84c0.75 4.04 0.98 33.12 0.35 46.84h-124.07l-1.66 1.66v58.88c0 1.32-0.31 2.76 2.52 3.62h105.24v46.86h-106.63c-0.44 1.1-1.03 1.94-1.08 2.81-0.14 2.32-0.05 4.66-0.05 7v56.29h125.81v47.87h-178.27c-0.69-3.73-0.72-267.55 0-271.83z"/>
<path d="m920.8 856.82c0.52 0.52 0.87 0.88 1.32 1.32h53.32 52.98v47h-4.29c-32.8 0-65.61-0.01-98.41 0.02-1.72 0-3.73-0.75-5 1.45v64.39h125.58v48.01h-178.41v-271.72h178.42v46.78h-124.1l-1.4 1.4c-0.01 20.27-0.01 40.72-0.01 61.35z"/>
<path d="m1068.8 241.38c5.73-5.74 10.89-10.9 16.05-16.07 5.53-5.54 11.08-11.07 16.6-16.63 0.95-0.96 1.81-1.97 2.98-1.62 3.13 2.61 5.89 5.13 8.88 7.34 3.75 2.76 7.67 5.2 12.14 6.87 3.9 1.46 7.75 3.03 11.78 4.13 2.09 0.57 4.17 1.21 6.28 1.73 1.67 0.41 3.37 0.76 5.08 0.99 1.56 0.21 3.16-0.26 4.64 0.94 0.6 0.49 1.93 0.08 2.93 0.08 7.33 0 14.66-0.03 21.98 0.01 6.42 0.04 12.43-1.73 18.49-3.62 5.33-1.66 9.9-4.39 13.4-8.6 3.53-4.25 6.43-8.93 6.44-14.83 0-1.2 0.74-2.37 0.92-3.59 0.17-1.14 0.24-2.37 0-3.49-0.98-4.43-0.95-9.05-2.85-13.31-3.49-7.84-9-11.94-16.74-14.51-4.75-1.58-9.57-2.95-14.71-3.24-2.48-0.14-5.22-0.28-7.53-1.02-2.45-0.78-5-0.07-7.08-0.96-2.44-1.05-5.01-0.09-7.08-1-2.44-1.07-4.8-0.45-7.14-0.9-4.04-0.78-8.04-1.75-12.17-1.96-1.46-2.2-3.94-0.37-5.89-1.54-1.59-0.95-3.7-1.85-5.86-1.46-5.87-3.09-12.24-4.96-18.04-8.4-6.87-4.07-12.5-9.34-17.61-15.14-4.08-4.64-6.87-10.28-9.28-16.1-1.61-3.9-2.03-8.12-3.89-11.89 0.66-3.14-1.02-6-1.05-9.09-0.03-3.2 0.48-6.41-0.8-9.64-0.53-1.35-0.8-3.45 0.61-5.16 0.58-0.71 0.22-2.22 0.24-3.36 0.15-11.54 3.21-22.3 8.69-32.4 2.81-5.18 5.9-10.17 10.23-14.27 2.06-1.95 4.02-3.99 6.01-6 3.83-3.89 8.45-6.66 13-9.61 5.92-3.84 12.38-6.34 19.04-8.35 3.57-1.08 7.16-2.22 10.92-2.62 1.55-0.16 3.05-0.72 4.59-0.95 1.4-0.21 2.91 0.35 4.13-0.97 0.31-0.33 1.28-0.01 1.94-0.06 5.02-0.36 10.15 0.9 15.09-0.96 0.58-0.22 1.43-0.26 1.97 0.01 3.59 1.76 7.4 0.7 11.1 0.95 2.3 0.15 4.88-0.48 6.84 0.37 2.35 1.03 5.01-0.42 6.61 0.8 2.05 1.56 4.74-0.4 6.29 1.84 6.75 0 12.71 3 18.89 5.07 5.41 1.81 10.55 4.25 15.51 7.22 4.58 2.74 8.84 5.91 13.36 8.72 0.27 0.17 0.52 0.38 0.76 0.59 2.29 2.03 4.57 4.07 6.91 6.16 0 0.05 0.01 0.22 0 0.39-0.02 0.15-0.01 0.36-0.1 0.45-11.06 11.09-22.13 22.16-33.24 33.28-7.84-7.17-17.04-11.87-27.16-14.87-3.32-0.99-6.86-1.34-10.09-2.27-3.53-1.01-6.99-0.25-10.45-1.16-3.25-0.85-6.84-0.6-10.28-0.52-2.37 0.05-4.72 0.6-7.08 0.95-2.2 0.32-4.42 0.52-6.57 1.04-2.24 0.54-4.47 1.25-6.58 2.18-1.56 0.68-2.86 1.91-4.35 2.77-7.23 4.17-10.98 10.95-13.86 18.38 0.08 4.54-2.82 9.05-0.13 13.62 0.11 6.15 3.5 10.84 7.5 14.83 3.99 3.98 9.07 6.66 14.57 8.11 3.64 0.96 7.27 1.93 11.14 2.21 4.89 0.35 9.75 1.42 14.65 2.04 2.17 0.28 4.52 0.27 6.57 0.93 2.23 0.72 4.49 0.42 6.6 0.97 4.41 1.14 8.93 1.81 13.35 2.59 6.52 1.15 12.71 3.06 18.81 5.37 6.4 2.42 12.62 5.28 17.97 9.69 2.12 1.75 4.31 3.42 6.28 5.32 5.42 5.23 9.26 11.55 12.51 18.3 1.29 2.68 1.97 5.52 2.93 8.29 0.92 2.65 1.59 5.38 2.26 8.1 0.66 2.71-0.04 5.57 1.12 7.99 1.26 2.61 0.39 5.18 0.59 7.75 0.22 2.82 0.05 5.66 0.05 8.5 0 2.67 0.49 5.45-0.1 7.98-1.43 6.2-2.19 12.48-4.6 18.57-2.56 6.43-6.04 12.21-9.48 18.06-0.98 1.67-2.63 3.05-4.21 4.23-1.37 1.02-1.74 2.67-3.35 3.67-2.71 1.68-4.78 4.3-7.37 6.32-8.84 6.88-18.72 11.56-29.2 15.24-4.39 1.54-8.95 2.48-13.39 3.82-3.48 1.05-7.4 0.51-11.02 1.2-10.66 2.01-21.39 0.47-32.08 0.88-2.34 0.09-4.72-0.58-7.08-0.94-2.19-0.34-4.34 0.17-6.67-0.79-2.02-0.83-4.65-0.75-7.01-1.11-7.26-1.11-18.16-4.28-26.38-7.54-4.18-1.65-8.22-3.58-12.14-5.66-5.97-3.17-11.74-6.77-16.79-11.38-3.02-2.72-6.19-5.26-9.74-8.28z"/>
<path d="m1071.5 612.56c11.52-11.53 22.78-22.8 34.38-34.41h0.65c2.85 2.34 5.55 4.65 8.35 6.84 3.94 3.09 8.18 5.5 12.96 7.32 5.07 1.93 10.1 3.78 15.35 5.21 2.26 0.61 4.59 0.72 6.85 1.48 2.82 0.95 6 0.94 9.03 1.11 2.99 0.17 5.99 0.04 8.99 0.04 4.83 0 9.69 0.35 14.48-0.08 7.48-0.67 14.71-2.41 21.54-5.86 7.47-3.76 11.37-10.17 14.3-17.5-0.49-3.93 2.01-7.68 0.99-11.54-1.12-4.23-0.89-8.72-2.88-12.8-3.69-7.57-8.94-11.55-16.56-14.14-4.73-1.61-9.58-2.86-14.71-3.22-4.89-0.34-9.69-1.88-14.67-1.86-2.19-1.57-4.94-0.28-7.02-1.15-2.44-1.03-4.86-0.3-7.12-0.92-4.39-1.21-9.08-0.93-13.31-2.82-3.63 0.55-6.73-1.5-10.09-2.23-3.41-0.74-6.61-2.49-9.9-3.78-10.71-4.19-19.43-11.22-26.66-19.9-3.93-4.72-6.78-10.3-9.1-16.18-1.49-3.78-2.22-7.72-3.59-11.5-1.07-2.93-0.87-6.32-1.2-9.51-0.32-3.03 0.44-6.08-0.84-9.15-0.55-1.31-0.9-3.51 0.55-5.17 0.43-0.49 0.38-1.58 0.27-2.35-0.63-4.45 0.25-8.89 1.2-13.05 1.85-8.11 4.71-15.9 9.03-23.25 4.56-7.77 10.89-13.75 17.2-19.79 3.02-2.9 6.96-4.82 10.43-7.26 3.58-2.51 7.55-4.25 11.56-5.88 4.3-1.76 8.82-2.87 13.28-4.13 4.69-1.32 9.55-1.73 14.29-2.83 3.32-0.77 6.96-0.07 10.46-0.18 1.72-0.06 3.5 0.61 5.17-0.87 0.65-0.58 2.52-0.53 3.36-0.01 2.48 1.54 5.13 1.04 7.62 0.83 5.45-0.46 10.85 0.32 16.05 1.26 10.05 1.81 19.91 4.45 29.49 8.32 7.58 3.06 14.23 7.55 21.18 11.58 2.62 1.52 4.7 3.93 7.07 5.9 1.55 1.29 3.17 2.5 4.52 3.56-11.41 11.42-22.56 22.58-33.94 33.96-4.52-5.12-11.24-8.19-17.77-11.39-3.98-1.95-8.37-3.16-12.77-4.16-4.85-1.09-9.73-1.6-14.65-2.14-3.2-0.35-6.39-0.9-9.6-0.76-3.87 0.16-7.77 0.36-11.57 1.04-3.65 0.65-7.24 1.76-10.74 2.99-1.72 0.6-3.19 1.94-4.78 2.93-8.15 5.07-10.83 10.57-13.9 18.29-0.01 4.53-2.92 9.01-0.21 13.58-0.23 5.48 2.96 9.63 6.03 13.45 3.37 4.2 8.21 6.86 13.33 8.64 4.6 1.6 9.2 3.41 14.24 3.03 2.21 1.39 4.84 0.43 7.04 1.13 2.4 0.78 4.9 0.28 7.08 1.01 2.41 0.8 4.91 0.27 7.08 1 2.25 0.76 4.54 0.32 6.6 0.95 4.37 1.33 9.11 0.81 13.28 2.9 6.89 0.03 13.17 2.85 19.33 5.22 6.14 2.36 12.3 5.23 17.49 9.71 2.07 1.79 4.28 3.43 6.24 5.37 4.78 4.74 8.3 10.34 11.3 16.32 2.48 4.95 4.71 13.19 5.95 18.05 2.76 10.82 2.01 21.79 1.73 32.69-0.12 4.57-1.48 9.24-2.8 13.77-1.3 4.48-3.37 8.62-5.43 12.75-2.57 5.13-5.56 10-9.87 13.91-1.46 1.33-2.32 3.14-4.12 4.27-1.79 1.12-3.02 3.09-4.68 4.47-1.56 1.3-3.37 2.3-5.04 3.47-1.68 1.18-3.2 2.69-5.02 3.58-6.92 3.37-13.65 7.15-21.07 9.47-4.43 1.39-8.96 2.44-13.4 3.8-3.47 1.06-7.41 0.48-11.02 1.21-9.33 1.87-18.72 0.58-28.08 0.86-3.01 0.09-6.02 0.52-9.14-0.77-2.71-1.12-6.16 0.75-9.01-1.16-4.72 0.46-9.1-1.43-13.64-2.15-4.84-0.77-9.55-2.57-14.21-4.21-6.55-2.3-12.86-5.2-18.91-8.63-5.5-3.12-10.69-6.64-15.6-10.68-3.15-2.58-6.09-5.26-8.7-7.9z"/>
<path d="m1267.6 775.8c-11.57 11.58-22.74 22.75-33.93 33.96-7.35-6.91-16.51-11.45-26.41-14.55-3.43-1.08-6.89-2.48-10.64-2.06-3.18-2.18-6.91-0.5-10.37-1.45-3.24-0.89-6.85-0.57-10.29-0.49-2.37 0.06-4.72 0.6-7.08 0.95-2.2 0.32-4.43 0.51-6.57 1.04-2.24 0.55-4.41 1.38-6.58 2.2-0.86 0.32-1.7 0.82-2.41 1.41-3.48 2.92-7.67 4.91-10.22 9.06-2.64 4.31-4.85 8.57-5.79 13.65-0.54 2.89-1.34 5.84-0.68 8.57 0.45 1.89 0.73 3.72 0.83 5.43 1.97 2.65 3.13 5.6 4.8 8.24 2.2 3.47 5.32 5.42 8.51 7.34 6.1 3.67 12.75 5.66 19.95 6.23 2.49 0.2 5.21 0.25 7.54 0.99 2.43 0.77 4.96 0.17 7.07 0.99 2.27 0.88 4.57 0.27 6.6 0.97 2.23 0.77 4.5 0.41 6.6 0.97 4.4 1.18 9.1 0.86 13.3 2.84 6.69 0.22 12.76 2.86 18.86 5.14 6.4 2.39 12.61 5.3 17.96 9.71 1.99 1.64 4.04 3.21 5.93 4.97 5.19 4.82 8.82 10.77 12.02 17.01 2.13 4.16 4.48 13.29 5.93 18.06 0.83 2.73-0.01 5.54 1.19 7.98 1.28 2.58 0.38 5.18 0.57 7.75 0.21 2.82 0.05 5.66 0.05 8.5 0 2.67 0.5 5.45-0.1 7.98-1.46 6.19-2.16 12.48-4.64 18.56-2.61 6.4-5.89 12.3-9.52 18.04-1.76 2.78-4.21 5.33-6.86 7.28-2.61 1.92-4.05 5.21-7.41 6.16-5.78 5.49-12.9 8.71-19.98 12.08-5.49 2.62-11.31 4.09-17.02 5.98-4.05 1.34-8.36 1.25-12.29 2.87-0.28 0.12-0.66-0.01-0.99 0.02-3.86 0.33-7.71 0.8-11.58 0.96-3.99 0.17-7.99 0.04-11.99 0.04-2.33 0-4.69-0.21-6.99 0.04-5.77 0.64-11.41-0.76-17.06-1.29-4.39-0.41-8.91-1.44-13.33-2.53-3.61-0.89-7.38-1.5-10.95-2.62-8.39-2.64-16.58-5.84-24.25-10.2-5.77-3.28-11.43-6.7-16.33-11.28-2.83-2.65-5.91-5.03-8.84-7.49 1.38-2.02 32.06-33.51 33.67-34.51 0.49-0.3 1.28-0.12 1.63-0.14 3.28 2.79 6.15 5.76 9.53 7.96 3.6 2.34 7.18 4.74 11.41 6.21 3.92 1.36 7.76 2.98 11.77 4.14 1.93 0.56 3.83 1.44 5.79 1.64 5.08 0.51 9.97 2.24 15.16 2.09 5.33-0.15 10.66-0.03 15.99-0.03 1.33 0 2.67-0.07 4 0.01 4.76 0.29 11.33-1.56 18.47-3.67 5.03-1.49 9.3-4.03 12.71-7.87 3.92-4.42 6.99-9.28 7.11-15.56 0.04-2.18 1.3-4.27 0.94-6.59-0.7-4.51-0.96-9.15-2.67-13.4-3.13-7.75-9.25-12.41-17.02-14.87-4.78-1.51-9.58-2.92-14.72-3.24-2.3-0.14-4.85-0.27-7.05-0.95-2.41-0.75-4.89-0.28-7.08-0.99-2.57-0.84-5.31-0.17-7.56-1.04-2.46-0.95-4.89-0.21-7.12-0.91-4.36-1.37-9.13-0.73-13.27-2.92-3.68 0.81-6.88-1.22-10.11-2.18-6.01-1.8-11.95-4.11-17.41-7.38-5.84-3.5-11.05-7.75-15.74-12.7-5.51-5.81-9.45-12.42-12.29-19.93-1.9-5.04-2.99-10.13-4.06-15.35-0.74-3.59-0.59-7.08-0.83-10.62-0.07-1.09-0.18-2.1-0.66-3.22-0.64-1.51-0.74-3.81 0.01-5.2 0.81-1.52 0.59-2.85 0.63-4.25 0.29-11.68 3.28-22.59 9.01-32.78 2.81-5.01 5.8-9.85 9.98-13.87 4.02-3.86 7.78-7.98 12.28-11.35 3.23-2.41 12.6-7.53 16.67-9.25 2.99-1.26 5.98-2.58 9.09-3.35 3.63-0.91 7.15-2.3 10.94-2.6 1.54-0.12 3.04-0.74 4.59-0.93 1.41-0.18 2.89 0.22 4.13-0.98 0.34-0.33 1.29-0.02 1.95-0.06 5.03-0.3 10.14 0.8 15.08-0.97 0.44-0.16 1.04-0.16 1.48 0 5.11 1.83 10.39 0.59 15.58 1.01 1.88 0.15 3.72 0.65 5.58 0.97 1.7 0.29 3.36-0.26 5.18 0.83 1.41 0.84 3.67 0.78 5.5 1.01 4.25 0.54 8.22 1.85 12.23 3.16 6.61 2.15 13.17 4.37 19.19 7.98 4.84 2.9 9.85 5.5 14.18 9.22 3.03 2.55 6.26 4.88 9.52 7.42z"/>
<path d="m610.85 3.18h54.81c0.66 1.48 1.94 3.12 2.04 4.83 0.26 4.35 2.74 7.95 3.53 12.07 1.05 5.5 3.73 10.52 4.66 16.09 0.48 2.84 2.1 5.47 2.87 8.28 1.79 6.57 3.97 13.02 6.03 19.5 2.3 7.21 4.57 14.45 6.7 21.69 2.05 6.98 4.49 13.85 6.37 20.89 1.87 7.01 4.67 13.77 6.47 20.79 1.59 6.17 3.8 12.12 5.51 18.23 1.95 6.99 4.59 13.78 6.5 20.78 1.1 4.02 2.29 7.97 3.87 12.18 1.41-4.36 2.97-8.26 3.92-12.3 1.28-5.45 3.78-10.5 4.72-16.07 0.48-2.84 2.15-5.46 2.86-8.28 1.97-7.82 4.88-15.33 7.09-23.07 1.99-6.98 4.67-13.77 6.49-20.78 1.6-6.16 3.81-12.11 5.52-18.23 1.95-6.99 4.68-13.76 6.48-20.78 1.59-6.17 3.8-12.12 5.51-18.23 1.95-6.99 4.59-13.78 6.51-20.78 1.28-4.64 2.64-9.21 4.37-13.69 0.32-0.84 0.05-1.91 0.05-3h55.98c-0.35 1.82-0.38 3.73-1.07 5.36-4.14 9.69-6.36 20-9.87 29.9-4.03 11.35-7.47 22.89-11.28 34.32-3.85 11.56-7.9 23.05-11.75 34.62-4.15 12.45-8.13 24.95-12.25 37.41-4.55 13.77-9.04 27.57-13.78 41.28-5.45 15.75-10.26 31.71-15.71 47.46-4.28 12.39-8.54 24.83-12.25 37.42-0.39 1.33-0.9 2.62-1.38 4.02h-40.5c-1.36-4.45-2.67-8.89-4.09-13.3-3.71-11.46-7.42-22.91-11.23-34.34-3.51-10.53-7.32-20.97-10.7-31.55-3.01-9.42-6.46-18.69-9.19-28.2-0.84-2.93-1.55-5.96-2.79-8.83-1.28-2.96-2.04-6.15-3.07-9.23-0.97-2.93-2.01-5.83-2.99-8.76-4.2-12.59-8.36-25.19-12.57-37.78-4.07-12.14-7.74-24.41-12.35-36.37-0.6-6.44-3.73-12.14-5.38-18.28-1.64-6.1-3.89-12.04-5.93-18.03-2.88-8.47-5.83-16.91-8.72-25.38-0.14-0.45-0.01-0.98-0.01-1.86z"/>
<path d="m612.41 374.25h55.33c0.69 1.56 1.91 3.09 1.97 4.66 0.16 4.2 2.31 7.78 3.32 11.69 0.71 2.74 1.58 5.63 2.58 8.39 0.98 2.7 1.93 5.57 2.43 8.56 0.46 2.74 1.94 5.49 2.74 8.3 1.9 6.7 3.99 13.35 6.14 19.96 2.24 6.9 4.25 13.87 6.54 20.76 1.75 5.26 3.61 10.55 5.02 15.91 1.19 4.52 3.03 8.82 4.13 13.27 1.08 4.41 3 8.52 3.95 12.86 0.98 4.45 2.96 8.53 3.93 12.88 0.98 4.43 2.94 8.52 3.93 12.88 1.41 6.22 3.9 12.1 5.4 18.28 0.54 2.23 1.5 4.37 2.32 6.71 3.44-8.54 4.93-17.46 8.59-25.66 0.67-6.25 3.45-11.91 5.12-17.88 2.25-8.03 5.34-15.82 7.49-23.86 1.64-6.15 3.76-12.13 5.48-18.25 1.96-6.98 4.71-13.75 6.53-20.77 1.6-6.16 3.75-12.14 5.47-18.25 1.96-6.98 4.73-13.75 6.54-20.76 1.59-6.17 3.94-12.08 5.41-18.27 0.57-2.41 1.38-4.76 2.1-7.12 0.41-1.33 0.86-2.65 1.37-4.22h55.45c-0.32 1.72-0.33 3.63-1.04 5.22-1.77 3.98-2.95 8.12-4.14 12.29-1.15 4.01-2.51 7.95-3.79 11.92-1.33 4.12-2.64 8.23-4 12.34-3.74 11.28-7.47 22.56-11.25 33.83-3.54 10.53-7.21 21.01-10.71 31.55-4.14 12.45-8.12 24.96-12.24 37.42-3.87 11.72-7.83 23.41-11.76 35.11-1.47 4.39-3.19 8.7-4.43 13.15-2.77 9.98-6.39 19.69-9.58 29.53-3.43 10.57-7.07 21.06-10.58 31.6-1.95 5.86-3.83 11.75-5.79 17.77h-40.48c-1.35-4.34-2.67-8.78-4.1-13.18-4.05-12.48-8.1-24.97-12.22-37.43-3.87-11.72-7.82-23.42-11.76-35.12-2.42-7.17-5.21-14.22-6.99-21.6-2.04-1.19-0.33-3.63-1.88-5.29-1.13-1.2-1.09-3.48-1.61-5.27-0.48-1.63-0.96-3.27-1.52-4.87-0.61-1.74-1.4-3.42-1.97-5.18-3.1-9.55-6.07-19.14-9.23-28.67-3.5-10.54-7.2-21.01-10.75-31.53-2.23-6.58-4.64-13.11-6.46-19.81-2.47-9.12-5.86-17.92-8.61-26.94-2.88-9.44-6.3-18.71-9.46-28.06-0.97-2.78-1.86-5.58-2.93-8.85z"/>
<path d="m615.75 747.26h54.92c0.68 1.44 1.98 2.96 2.03 4.52 0.11 4.22 2.21 7.83 3.32 11.69 0.79 2.74 1.46 5.66 2.54 8.41 1.03 2.62 2.13 5.48 2.4 8.56 0.24 2.82 1.93 5.49 2.82 8.27 2.06 6.48 4.02 13 6.01 19.5 2.14 6.95 4.31 13.88 6.39 20.84 1.68 5.62 3.17 11.31 5.6 16.68-0.38 3.3 1.66 6 2.26 9.08 0.56 2.85 1.83 5.56 2.73 8.35 2.27 7.06 4.44 14.16 6.59 21.25 2.16 7.1 4.39 14.2 6.44 21.34 1.57 5.49 3.39 10.9 5.21 16.68 3.68-8.59 5.01-17.5 8.61-25.66 0.25-5.24 3.06-9.75 4.23-14.76 1.12-4.79 3.11-9.37 4.57-14.08 0.92-2.97 1.47-6.05 2.36-9.03 0.88-2.95 2.02-5.83 2.96-8.77 2.28-7.06 4.07-14.26 6.66-21.23 1.08-2.9 1.48-6.04 2.37-9.02 0.88-2.95 2.02-5.83 2.96-8.77 2.28-7.06 4.45-14.16 6.58-21.25 1.82-6.08 3.78-12.12 5.49-18.24 1.95-6.98 4.45-13.81 6.63-20.73 0.33-1.05 0.28-2.22 0.43-3.55h56.14c-14.46 45.66-29.9 90.74-44.92 135.96-14.99 45.12-29.74 90.32-44.66 135.67h-40.54c-1.32-4.18-2.69-8.61-4.11-13.01-4.38-13.51-8.74-27.03-13.19-40.52-4.54-13.77-9.17-27.52-13.79-41.27-1.47-4.38-3.29-8.67-4.5-13.12-2.4-8.81-5.57-17.35-8.46-25.99-3.18-9.52-6.1-19.13-9.27-28.65-3.5-10.54-7.27-20.99-10.68-31.56-1.43-4.41-3-8.77-4.23-13.26-1.25-4.6-2.8-9.14-4.46-13.63-1.6-4.34-2.91-8.79-4.37-13.19-3.84-11.57-7.71-23.13-11.54-34.7-0.27-0.86-0.34-1.79-0.53-2.81z"/>
</clippath>
</svg>
And this is the layout:
<img id="logoVideo" src="https://images.vice.com/motherboard/content-images/article/20449/1427798070375676.jpg">
<div class="logo-box">
<svg id="svg-clip" enable-background="new 0 0 1274.57 1034.27" version="1.1" viewBox="0 0 1274.57 1034.27" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<clippath id="logoclip">
// The whole SVG is above
</clippath>
</svg>
<div>
In a css file I style #logoVideo with clip-path: url(#logoclip).
I hope someone here is smart enough. Thank you very much in advance.
I have a REST api with DRF and start to see already a performance hit with 100 objects and 1 user requesting (me - testing).
When requesting the more complex query, I get these results for CPU, always 5 - 10s:
Resource Value
>User CPU time 5987.089 msec
System CPU time 463.929 msec
Total CPU time 6451.018 msec
Elapsed time 6800.938 msec
Context switches 9 voluntary, 773 involuntary
but the SQL query stays below 100 ms
The more simple queries show similar behaviour, with CPU times around 1s and query time around 20 ms
So far, what I have tried out:
I am doing select_related() and prefetch_related(), which did improve the query time but not CPU time
I am using Imagekit to generate pictures, on a S3 instance. I removed the whole specification to test and this had minor impact
I run a method field to fetch user-specific data. Removing this had only minor impact
I have checked logs files on the backend and nothing specific shows up here...
Backend is Nginx - supervisord - gunicorn - postgresql - django 1.8.1
Here are the serializer and view:
class ParticipationOrganizationSerializer(ModelSerializer):
organization = OrganizationSerializer(required=False, read_only=True, )
bookmark = SerializerMethodField(
required=False,
read_only=True,
)
location_map = LocationMapSerializer(
required=False,
read_only=True,
)
class Meta:
model = Participation
fields = (
'id',
'slug',
'organization',
'location_map',
'map_code',
'partner',
'looking_for',
'complex_profile',
'bookmark',
'confirmed',
)
read_only_fields = (
'id',
'slug',
'organization',
'location_map',
'map_code',
'partner',
'bookmark',
'confirmed',
)
def get_bookmark(self, obj):
request = self.context.get('request', None)
if request is not None:
if(request.user.is_authenticated()):
# print(obj.bookmarks.filter(author=request.user).count())
try:
bookmark = obj.bookmarks.get(author=request.user)
# bookmark = Bookmark.objects.get(
# author=request.user,
# participation=obj,
# )
return BookmarkSerializer(bookmark).data
except Bookmark.DoesNotExist:
# We have nothing yet
return None
except Bookmark.MultipleObjectsReturned:
# This should not happen, but in case it does, delete all
# the bookmarks for safety reasons.
Bookmark.objects.filter(
author=request.user,
participation=obj,
).delete()
return None
return None
class ParticipationOrganizationViewSet(ReadOnlyModelViewSet):
"""
A readonly ViewSet for viewing participations of a certain event.
"""
serializer_class = ParticipationOrganizationSerializer
queryset = Participation.objects.all().select_related(
'location_map',
'organization',
'organization__logo_image',
).prefetch_related(
'bookmarks',
)
lookup_field = 'slug'
def get_queryset(self):
event_slug = self.kwargs['event_slug']
# Filter for the current event
# Filter to show only the confirmed participations
participations = Participation.objects.filter(
event__slug=event_slug,
confirmed=True
).select_related(
'location_map',
'organization',
'organization__logo_image',
).prefetch_related(
'bookmarks',
)
# Filter on partners? This is a parameter passed on in the url
partners = self.request.query_params.get('partners', None)
if(partners == "true"):
participations = participations.filter(partner=True)
return participations
# http://stackoverflow.com/questions/22616973/django-rest-framework-use-different-serializers-in-the-same-modelviewset
def get_serializer_class(self):
if self.action == 'list':
return ParticipationOrganizationListSerializer
if self.action == 'retrieve':
return ParticipationOrganizationSerializer
return ParticipationOrganizationListSerializer
Any help is very much appreciated!
update
I dumped the data to my local machine and I am observing similar times. I guess this rules out the whole production setup (nginx, gunicorn)?
update 2
Here are the results of the profiler.
Also I made some progress in improving the speeds by
Simplifying my serializers
Doing the tests with curl and having Debug Toolbar off
ncalls tottime percall cumtime percall filename:lineno(function)
0 0 0 profile:0(profiler)
1 0 0 3.441 3.441 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/views.py:442(dispatch)
1 0 0 3.441 3.441 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/viewsets.py:69(view)
1 0 0 3.441 3.441 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/django/views/decorators/csrf.py:57(wrapped_view)
1 0 0 3.44 3.44 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/mixins.py:39(list)
1 0 0 3.438 3.438 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/serializers.py:605(to_representation)
1 0 0 3.438 3.438 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/serializers.py:225(data)
1 0 0 3.438 3.438 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/serializers.py:672(data)
344/114 0.015 0 3.318 0.029 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/serializers.py:454(to_representation)
805 0.01 0 2.936 0.004 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/fields.py:1368(to_representation)
2767 0.013 0 2.567 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py:166(send)
2070 0.002 0 2.52 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/registry.py:52(existence_required_receiver)
2070 0.005 0 2.518 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/registry.py:55(_receive)
2070 0.004 0 2.513 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/utils.py:147(call_strategy_method)
2070 0.002 0 2.508 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/strategies.py:14(on_existence_required)
2070 0.005 0 2.506 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py:86(generate)
2070 0.002 0 2.501 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/backends.py:109(generate)
2070 0.003 0 2.499 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/backends.py:94(generate_now)
2070 0.01 0 2.496 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/backends.py:65(get_state)
690 0.001 0 2.292 0.003 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py:148(__nonzero__)
690 0.005 0 2.291 0.003 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py:124(__bool__)
2070 0.007 0 2.276 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/backends.py:112(_exists)
2070 0.01 0 2.269 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/storages/backends/s3boto.py:409(exists)
4140 0.004 0 2.14 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/storages/backends/s3boto.py:282(entries)
1633 0.003 0 2.135 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/storages/backends/s3boto.py:288()
1633 0.001 0 2.129 0.001 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/boto/s3/bucketlistresultset.py:24(bucket_lister)
2 0 0 2.128 1.064 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/boto/s3/bucket.py:390(_get_all)
2 0 0 2.128 1.064 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/boto/s3/bucket.py:426(get_all_keys)
1331 0.003 0 1.288 0.001 /usr/lib/python2.7/ssl.py:335(recv)
1331 1.285 0.001 1.285 0.001 /usr/lib/python2.7/ssl.py:254(read)
2 0 0 0.983 0.491 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/boto/connection.py:886(_mexe)
2 0 0 0.983 0.491 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/boto/s3/connection.py:643(make_request)
2 0 0 0.983 0.491 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/boto/connection.py:1062(make_request)
2 0.004 0.002 0.896 0.448 /usr/lib/python2.7/httplib.py:585(_read_chunked)
2 0 0 0.896 0.448 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/boto/connection.py:393(read)
2 0 0 0.896 0.448 /usr/lib/python2.7/httplib.py:540(read)
166 0.002 0 0.777 0.005 /usr/lib/python2.7/httplib.py:643(_safe_read)
166 0.005 0 0.775 0.005 /usr/lib/python2.7/socket.py:336(read)
2 0 0 0.568 0.284 /usr/lib/python2.7/httplib.py:793(send)
2 0 0 0.568 0.284 /usr/lib/python2.7/httplib.py:998(_send_request)
2 0 0 0.568 0.284 /usr/lib/python2.7/httplib.py:820(_send_output)
2 0 0 0.568 0.284 /usr/lib/python2.7/httplib.py:977(request)
2 0 0 0.568 0.284 /usr/lib/python2.7/httplib.py:962(endheaders)
1 0 0 0.567 0.567 /usr/lib/python2.7/httplib.py:1174(connect)
1380 0.001 0 0.547 0 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py:82(url)
1380 0.007 0 0.546 0 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py:72(_storage_attr)
105 0.009 0 0.528 0.005 /usr/lib/python2.7/socket.py:406(readline)
2 0 0 0.413 0.207 /usr/lib/python2.7/httplib.py:408(begin)
2 0 0 0.413 0.207 /usr/lib/python2.7/httplib.py:1015(getresponse)
2 0 0 0.407 0.203 /usr/lib/python2.7/httplib.py:369(_read_status)
2750 0.003 0 0.337 0 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/fields.py:399(get_attribute)
1 0.223 0.223 0.335 0.335 /usr/lib/python2.7/socket.py:537(create_connection)
2865 0.012 0 0.334 0 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/rest_framework/fields.py:65(get_attribute)
1610 0.005 0 0.314 0 /home/my_app/.virtualenvs/my_app/src/django-s3-folder-storage/s3_folder_storage/s3.py:13(url)
1610 0.012 0 0.309 0 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/storages/backends/s3boto.py:457(url)
690 0.005 0 0.292 0 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/models/fields/utils.py:10(__get__)
690 0.007 0 0.251 0 /home/my_app/.virtualenvs/my_app/local/lib/python2.7/site-packages/imagekit/cachefiles/__init__.py:20(__init__)
2 0 0 0.248 0.124
>>>> cutting here, low impact calls
I am running a EC2 small instance as my production server. It has 1.7G memory. I noticed it uses almost all memory. However when I check top output, it looks like that only 30% is actually used. Did I misread the top output?
Here is the top output (sorted by %MEM)
top - 21:33:15 up 141 days, 9:39, 2 users, load average: 0.00, 0.00, 0.00
Tasks: 81 total, 2 running, 79 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1747660k total, 1733580k used, 14080k free, 224144k buffers
Swap: 917496k total, 132k used, 917364k free, 1144808k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11664 mysql 15 0 794m 83m 5020 S 0.0 4.9 0:17.34 mysqld
12845 nobody 25 0 52416 38m 3200 S 0.0 2.3 0:02.10 ruby1.8
12847 nobody 16 0 52704 38m 2068 S 0.0 2.2 0:02.08 ruby1.8
12023 www-data 15 0 37692 10m 4164 S 0.0 0.6 0:01.28 apache2
11979 www-data 15 0 37660 10m 4172 S 0.0 0.6 0:01.24 apache2
12020 www-data 15 0 37708 10m 4120 S 0.0 0.6 0:01.17 apache2
12263 www-data 15 0 37708 10m 4176 S 0.0 0.6 0:00.83 apache2
11989 www-data 15 0 37720 10m 4024 S 0.0 0.6 0:01.28 apache2
12014 www-data 15 0 37468 10m 4172 S 0.0 0.6 0:01.17 apache2
12021 www-data 15 0 37652 10m 3992 S 0.0 0.6 0:01.25 apache2
12054 www-data 15 0 37480 10m 4176 S 0.0 0.6 0:01.33 apache2
11990 www-data 15 0 37448 10m 4188 S 0.0 0.6 0:01.16 apache2
12024 www-data 16 0 37416 10m 4172 S 0.0 0.6 0:01.00 apache2
11991 www-data 15 0 37432 10m 4148 S 0.0 0.6 0:01.24 apache2
11984 www-data 15 0 37444 9.8m 3972 S 0.0 0.6 0:01.33 apache2
11985 www-data 15 0 37444 9.8m 3948 S 0.0 0.6 0:01.18 apache2
11982 www-data 15 0 37408 9.8m 3968 S 0.0 0.6 0:01.12 apache2
12013 www-data 17 0 37432 9.8m 4152 S 0.0 0.6 0:01.19 apache2
12052 www-data 15 0 37176 9.8m 4180 S 0.0 0.6 0:01.29 apache2
11981 www-data 15 0 37172 9.8m 4168 S 0.0 0.6 0:01.40 apache2
12395 www-data 15 0 37420 9988 3972 S 0.0 0.6 0:00.72 apache2
12015 www-data 15 0 37412 9972 3900 S 0.0 0.6 0:01.31 apache2
11987 www-data 15 0 37160 9956 4136 S 0.0 0.6 0:01.22 apache2
12022 www-data 15 0 37140 9900 4140 S 0.0 0.6 0:01.20 apache2
12051 www-data 15 0 37216 9848 3976 S 0.0 0.6 0:01.31 apache2
11978 www-data 18 0 36948 9784 4180 S 0.0 0.6 0:01.08 apache2
11975 www-data 15 0 37140 9772 3972 S 0.0 0.6 0:01.49 apache2
12019 www-data 15 0 37148 9752 3944 S 0.0 0.6 0:01.08 apache2
11970 www-data 15 0 36920 9736 4160 S 0.0 0.6 0:01.25 apache2
11974 www-data 15 0 36848 9656 4148 S 0.0 0.6 0:01.53 apache2
11973 www-data 15 0 36924 9552 3972 S 0.0 0.5 0:01.19 apache2
28622 root 18 0 35232 9232 5592 S 0.0 0.5 0:00.30 apache2
11969 www-data 15 0 36340 9132 4136 S 0.0 0.5 0:01.51 apache2
12018 www-data 19 0 36332 9124 4136 S 0.0 0.5 0:01.32 apache2
11972 www-data 15 0 36320 8968 3988 S 0.0 0.5 0:01.33 apache2
12012 www-data 15 0 35796 8600 4144 S 0.0 0.5 0:01.11 apache2
11965 root 15 0 17356 7552 1644 S 0.0 0.4 0:00.13 ruby1.8
12848 root 15 0 8384 2744 2164 R 0.0 0.2 0:00.12 sshd
12762 root 15 0 8384 2724 2164 S 0.0 0.2 0:00.01 sshd
11302 postfix 18 0 6184 2576 1880 S 0.0 0.1 0:00.02 tlsmgr
11964 root 16 0 8188 2248 1492 S 0.0 0.1 0:00.06 ApplicationPool
23997 postfix 22 0 5856 1852 1488 S 0.0 0.1 0:00.22 qmgr
12850 root 15 0 4408 1848 1436 S 0.0 0.1 0:00.00 bash
12764 root 25 0 4396 1800 1400 S 0.0 0.1 0:00.00 bash
23996 root 15 0 5804 1780 1428 S 0.0 0.1 0:01.01 master
13036 postfix 17 0 5812 1684 1356 S 0.0 0.1 0:00.00 pickup
1051 klog 18 0 2884 1676 436 S 0.0 0.1 0:00.04 klogd
13035 root 15 0 2468 1164 916 R 0.0 0.1 0:00.01 top
5841 nobody 15 0 2652 1120 684 S 0.0 0.1 0:00.50 memcached
11509 root 15 0 5456 1068 676 S 0.0 0.1 0:00.00 sshd
1163 root 18 0 3560 1060 872 S 0.0 0.1 0:01.46 cron
1 root 18 0 2032 840 580 S 0.0 0.0 0:04.20 init
4070 syslog 18 0 2056 732 568 S 0.0 0.0 7:25.48 syslogd
908 root 16 -2 2292 656 528 S 0.0 0.0 0:00.06 dhclient3
The 'used' count includes filesystem cache and kernel buffers. The cached memory can be free'd when an application requires more heap. You are right to say that only about 30% is actually used, since 65% of that is cache, and 12% is buffers.
The kernel will release the cached memory when an application attempts to allocate more memory, this is normal behavior and I see no problem with your memory usage.
When you use significant amounts of swap, and your 'cached' count is very low - then you have a problem.
Some additional helpful information here (applicable to any Linux distro) -
http://forums.gentoo.org/viewtopic.php?t=175419
Mem: 1747660k total, 1733580k used, 14080k free, 224144k buffers
compare the total and used :-)
It is used for file buffering. It is nothing wrong since good memory managment should always use all availble memory in system. I don't remember but I think that 1144808k cached is the memory you can't find.
You can try writing simple application that reserves about 1 GB of memory and release it and quit. Then probably you should have this 1 GB counted as free memory since file buffers was removed.