忘记密码   免费注册 查看新帖 | 论坛精华区

ChinaUnix.net

  平台 论坛 博客 认证专区 大话IT HPC论坛 徽章 文库 沙龙 自测 下载 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 2227 | 回复: 1

求助iproute2的问题 [复制链接]

论坛徽章:
0
发表于 2012-12-13 05:25 |显示全部楼层
本帖最后由 qiznstar 于 2012-12-13 05:27 编辑

ip route add default scope global   nexthop dev ppp0 weight 1 nexthop dev ppp1 weight 1 nexthop dev ppp2 weight 1

大概100个左右的负载没有问题,但在使用超过百条的时候,就开始报这个错了。
可能是参数过长,但修改内核#define MAX_ARG_PAGES重新编译,以及调整ulimit均无效,而这个命令又不能一条一条的加成负载。
求助高人解决。

addattr_l ERROR: message exceeded bound of 1024
*** stack smashing detected ***: ip terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xb76cf2d0]
/lib/tls/i686/cmov/libc.so.6(+0xe227a)[0xb76cf27a]
ip[0x8051003]
[0x2]
======= Memory map: ========
08048000-0807b000 r-xp 00000000 08:03 130626     /bin/ip
0807b000-0807c000 r--p 00032000 08:03 130626     /bin/ip
0807c000-0807e000 rw-p 00033000 08:03 130626     /bin/ip
0807e000-0807f000 rw-p 00000000 00:00 0
08b09000-08b2a000 rw-p 00000000 00:00 0          [heap]
b75cd000-b75ea000 r-xp 00000000 08:03 130285     /lib/libgcc_s.so.1
b75ea000-b75eb000 r--p 0001c000 08:03 130285     /lib/libgcc_s.so.1
b75eb000-b75ec000 rw-p 0001d000 08:03 130285     /lib/libgcc_s.so.1
b75ec000-b75ed000 rw-p 00000000 00:00 0
b75ed000-b7740000 r-xp 00000000 08:03 260505     /lib/tls/i686/cmov/libc-2.11.1.so
b7740000-b7742000 r--p 00153000 08:03 260505     /lib/tls/i686/cmov/libc-2.11.1.so
b7742000-b7743000 rw-p 00155000 08:03 260505     /lib/tls/i686/cmov/libc-2.11.1.so
b7743000-b7747000 rw-p 00000000 00:00 0
b7747000-b7749000 r-xp 00000000 08:03 260511     /lib/tls/i686/cmov/libdl-2.11.1.so
b7749000-b774a000 r--p 00001000 08:03 260511     /lib/tls/i686/cmov/libdl-2.11.1.so
b774a000-b774b000 rw-p 00002000 08:03 260511     /lib/tls/i686/cmov/libdl-2.11.1.so
b774b000-b775b000 r-xp 00000000 08:03 260533     /lib/tls/i686/cmov/libresolv-2.11.1.so
b775b000-b775c000 r--p 00010000 08:03 260533     /lib/tls/i686/cmov/libresolv-2.11.1.so
b775c000-b775d000 rw-p 00011000 08:03 260533     /lib/tls/i686/cmov/libresolv-2.11.1.so
b775d000-b775f000 rw-p 00000000 00:00 0
b776b000-b776d000 rw-p 00000000 00:00 0
b776d000-b776e000 r-xp 00000000 00:00 0          [vdso]
b776e000-b7789000 r-xp 00000000 08:03 130228     /lib/ld-2.11.1.so
b7789000-b778a000 r--p 0001a000 08:03 130228     /lib/ld-2.11.1.so
b778a000-b778b000 rw-p 0001b000 08:03 130228     /lib/ld-2.11.1.so
bf8d2000-bf8e8000 rw-p 00000000 00:00 0          [stack]
已放弃

论坛徽章:
0
发表于 2012-12-13 05:26 |显示全部楼层
附测试列表
ip route add default scope global nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1 nexthop dev eth0 weight 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP