Memory on the server is normally ~ 50 %. Sometimes Labs Ruby processes are executed which use ~ 30 % total. I've seen Parabolaweb use ~ 10 %, so if these two, and possibly others, take memory at the same time, the server can go out of memory. Is this acceptable for Labs?
Examples of "sar -r" and "top -o %MEM" with high Labs memory usage on the file attached. -- Esteban Carnevale <alfplayer at mailoo.org>
--- Begin Message ---Linux 4.1.15-gnu-1-lts (parabola.nu) 03/17/2016 _x86_64_ (1 CPU) 12:18:22 PM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:18:23 PM 208096 1845916 89.87 1316 343000 2851284 68.69 827780 343256 468 12:18:24 PM 190896 1863116 90.71 1328 345120 2851284 68.69 842900 344952 628 12:18:25 PM 181748 1872264 91.15 1328 349004 2851284 68.69 848064 348632 1640 Average: 193580 1860432 90.58 1324 345708 2851284 68.69 839581 345613 912 top - 12:18:26 up 9 days, 18:32, 0 users, load average: 7.09, 3.63, 2.27 Tasks: 163 total, 5 running, 158 sleeping, 0 stopped, 0 zombie %Cpu0 : 5.5/5.2 11[|||||| ] GiB Mem : 86.9/1.939 [ ] GiB Swap: 47.9/2.000 [ ] PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND 32659 labs 20 0 654.4m 273.5m 0.0 13.8 60:57.00 S ruby 17463 labs 20 0 428.0m 109.1m 0.0 5.5 0:00.48 S ruby 7613 labs 20 0 296.1m 102.6m 0.0 5.2 0:05.60 S ruby 21048 parabol+ 23 3 543.4m 67.5m 5.6 3.4 0:03.12 R python2 32673 postgres 20 0 248.7m 35.6m 0.0 1.8 11:37.23 S postgres 772 parabol+ 20 0 194.4m 33.7m 0.0 1.7 1:17.24 S python2 1671 parabol+ 20 0 201.6m 32.5m 0.0 1.6 5:04.71 S python2 771 parabol+ 20 0 197.2m 32.0m 0.0 1.6 1:31.46 S python2 11863 wiki 20 0 196.2m 31.9m 0.0 1.6 0:03.28 S php-fpm 21095 postgres 20 0 202.6m 31.4m 0.0 1.6 0:01.72 S postgres 230 mysql 20 0 574.7m 30.4m 0.0 1.5 15:08.81 S mysqld 25048 wiki 20 0 195.4m 30.3m 0.0 1.5 0:01.00 S php-fpm 1740 parabol+ 20 0 195.1m 29.8m 0.0 1.5 3:00.12 S python2 1672 parabol+ 20 0 189.1m 29.3m 0.0 1.5 5:10.71 S python2 21032 wiki 20 0 196.1m 26.0m 0.0 1.3 0:03.21 S php-fpm 31413 postgres 20 0 196.7m 21.0m 0.0 1.1 0:38.10 S postgres 851 http 20 0 115.3m 15.1m 0.0 0.8 145:33.54 S nginx 25396 postgres 20 0 198.0m 12.4m 0.0 0.6 0:00.02 S postgres 24382 root 20 0 149.7m 10.1m 0.0 0.5 2:48.38 S systemd-journal 24609 postfix 20 0 112.3m 9.8m 0.0 0.5 0:00.03 S smtpd 13733 nobody 20 0 34.8m 9.5m 0.0 0.5 3:23.76 S rsync 25105 postfix 20 0 112.1m 8.8m 0.0 0.4 0:00.05 S smtp 21915 postfix 20 0 111.9m 8.0m 0.0 0.4 0:00.06 S smtp 1039 mailman 20 0 110.1m 7.8m 0.0 0.4 1:43.49 S python2 23639 postfix 20 0 111.8m 7.7m 0.0 0.4 0:00.03 S postscreen 24937 postfix 20 0 107.8m 7.6m 0.0 0.4 0:00.02 S cleanup 24999 pur 20 0 191.5m 7.4m 0.0 0.4 0:00.16 S php-fpm 884 prosody 20 0 51.4m 7.4m 0.0 0.4 4:25.89 S lua5.1 15654 postgres 20 0 198.2m 6.8m 0.0 0.3 0:00.07 S postgres 24651 postfix 20 0 107.6m 6.4m 0.0 0.3 0:00.02 S proxymap 5310 nobody 20 0 45.2m 6.4m 5.6 0.3 4:36.14 S rsync 14044 repo 20 0 31.8m 6.3m 0.0 0.3 0:00.27 S chronic 1048 mailman 20 0 113.4m 6.1m 0.0 0.3 1:40.42 S python2
--- End Message ---
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
