carleone Posted September 3, 2010 Posted September 3, 2010 (edited) Добрый день. Уперся в лимиты mbufs и mbufs cluster: # netstat -m 18283/5357/23640 mbufs in use (current/cache/total) 18281/7319/25600/25600 mbuf clusters in use (current/cache/total/max) 18281/1396 mbuf+clusters out of packet secondary zone in use (current/cache) 0/524/524/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 41474K/18073K/59547K bytes allocated to network (current/cache/total) 0/13799898/6885605 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/7/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines Ну и: # vmstat -z ITEM SIZE LIMIT USED FREE REQUESTS FAILURES mbuf_packet: 256, 0, 18354, 1195, 109045224486, 6885605 mbuf: 256, 0, 3, 4088, 2283210027, 0 mbuf_cluster: 2048, 25600, 19549, 6051, 54017294441, 13799898 # sysctl kern.ipc.nmbclusters kern.ipc.nmbclusters: 25600 Выставил при загрузке kern.ipc.nmbclusters=32768, словил глюк по неправильной работе dummynet'а (http://forum.nag.ru/forum/index.php?showtopic=57863). Шейпинг действительно был хаотичный. Выставил обратно kern.ipc.nmbclusters - проблема ушла. Может быть мне так не повезло, но я ребутал много раз, и один и тот же адрес резался не правильно. При откате на 25600 все начинает работать корректно. Может быть этот параметр нужно увеличивать в группе с другими? В других темах параметр ставят чем больше тем лучше. Посоветуйте, пожалуйста. Edited September 3, 2010 by carleone Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.