DjangoとNginxを用いてWEBを作成しています。
起動コマンドは下記で起動していますが、一連の処理を流すと、当然メモリは減るのですが、処理が終わった後もメモリの使用料に変化がありません。
**予想:**画像をサーバ内部で開く処理を動かしているのですが、その画像がうまく閉じれていないのではないかと思っていますが、あくまで予想なので。。。
Bash
1uwsgi --socket :8001 --module config.wsgi --processes 4 --threads 100
bash
1>>> ps aux 2 3root 4398 1.9 10.0 2109904 362724 pts/1 Sl+ 21:12 0:13 uwsgi --socket :8001 --module config.wsgi --processes 4 --threads 100 4root 4402 4.8 13.5 2186204 489080 pts/1 Sl+ 21:12 0:34 uwsgi --socket :8001 --module config.wsgi --processes 4 --threads 100 5root 4403 1.8 9.9 2113216 361564 pts/1 Sl+ 21:12 0:13 uwsgi --socket :8001 --module config.wsgi --processes 4 --threads 100 6root 4404 1.8 9.8 2109904 356832 pts/1 Sl+ 21:12 0:13 uwsgi --socket :8001 --module config.wsgi --processes 4 --threads 100
Bash
1>>> slabtop 2 Active / Total Objects (% used) : 621115 / 622743 (99.7%) 3 Active / Total Slabs (% used) : 10662 / 10662 (100.0%) 4 Active / Total Caches (% used) : 67 / 93 (72.0%) 5 Active / Total Size (% used) : 55440.97K / 55995.11K (99.0%) 6 Minimum / Average / Maximum Object : 0.01K / 0.09K / 8.00K 7 8 OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME 9135490 135490 100% 0.02K 797 170 3188K fsnotify_mark_connector 10127872 126927 99% 0.03K 999 128 3996K kmalloc-32 11 82944 82944 100% 0.01K 162 512 648K kmalloc-8 12 60416 60416 100% 0.02K 236 256 944K kmalloc-16 13 52864 52864 100% 0.06K 826 64 3304K kmalloc-64 14 49728 49728 100% 0.19K 2368 21 9472K dentry 15 22440 22440 100% 0.04K 220 102 880K selinux_inode_security 16 12844 12627 98% 0.58K 988 13 7904K inode_cache 17 12274 12274 100% 0.12K 361 34 1444K kernfs_node_cache 18 12012 12012 100% 0.10K 308 39 1232K buffer_head 19 9486 9486 100% 0.21K 527 18 2108K vm_area_struct 20 6920 6920 100% 0.94K 865 8 6920K xfs_inode 21 4088 4088 100% 0.57K 292 14 2336K radix_tree_node 22 3774 3774 100% 0.08K 74 51 296K anon_vma 23 3570 3570 100% 0.09K 85 42 340K kmalloc-96 24 3568 3480 97% 0.25K 223 16 892K kmalloc-256 25 3312 3312 100% 0.16K 138 24 552K xfs_ili 26 2550 2550 100% 0.05K 30 85 120K shared_policy_node 27 2296 2296 100% 0.07K 41 56 164K avc_node 28 2121 2121 100% 0.19K 101 21 404K kmalloc-192 29 1792 1792 100% 0.12K 56 32 224K kmalloc-128 30 1632 1606 98% 0.64K 136 12 1088K proc_inode_cache
あなたの回答
tips
プレビュー