On 2006-07-19 12:42:20 +0300, Neculai Macarie wrote: > Salut! > > Am un server cu 1G RAM care foloseste swap-ul, desi are peste 500M de > memorie disponibila. Pare ca prefera sa faca swap sau sa-si goleasca > cache-ul in loc sa foloseasca memoria libera... Aveti vreo idee ce ar putea > fi sau unde pot sa ma uit ?
sw=$(cat /proc/sys/vm/swappiness); [ $sw -gt 50 ] && echo "that may be it" > > vmstat 5: > > procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu-- > -- > r b swpd free buff cache si so bi bo in cs us sy id > wa > 0 0 98020 600268 2668 136304 17 1 224 66 78 204 9 7 74 > 9 > 0 0 98020 631128 1968 113224 224 0 634 588 1248 627 23 5 51 > 21 > 0 1 98020 650100 2144 92044 43 0 321 480 1179 554 24 8 49 > 19 > 0 1 98020 661552 2312 77404 0 0 44 390 1141 586 23 6 32 > 39 > 0 1 98020 671916 2492 74788 19 0 142 326 1076 341 20 4 60 > 16 > 1 0 98020 679916 2740 71160 0 0 118 484 1146 472 21 5 61 > 13 > 0 0 98020 689924 3048 66784 6 0 58 790 1229 561 23 6 58 > 12 > 1 1 98020 679052 3204 65944 5 0 33 330 1088 356 14 5 76 > 4 > 1 1 98020 683788 3868 63388 0 0 83 1001 1253 776 25 13 50 > 12 > 1 1 98004 697668 4364 55268 25 0 550 715 1259 846 20 7 45 > 28 > 0 1 98004 683484 4776 70652 10 0 4013 548 1296 799 27 7 40 > 27 > 0 2 98004 650852 2028 97440 400 0 14438 490 1557 1161 24 5 26 > 45 > 0 4 98004 654824 2412 74080 2218 0 4030 572 1334 847 24 5 14 > 56 > 0 0 98004 687164 2812 76376 1749 0 2422 726 1336 738 7 5 40 > 48 > 1 0 98004 683060 3108 79128 14 0 550 108 1159 1200 7 4 78 > 11 > > -- > Mack > > > _______________________________________________ > RLUG mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/rlug -- perl -MLWP::Simple -e'print$_[rand(split(q.%%\n., get(q{http://cpan.org/misc/japh})))]' _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
