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

ChinaUnix.net

  平台 论坛 博客 认证专区 大话IT 视频 徽章 文库 沙龙 自测 下载 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
最近访问板块 发新帖
查看: 2122 | 回复: 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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

SACC2017购票7.8折优惠进行时

2017中国系统架构师大会(SACC2017)将于10月19-21日在北京新云南皇冠假日酒店震撼来袭。今年,大会以“云智未来”为主题,云集国内外顶级专家,围绕云计算、人工智能、大数据、移动互联网、产业应用等热点领域展开技术探讨与交流。本届大会共设置2大主会场,18个技术专场;邀请来自互联网、金融、制造业、电商等多个领域,100余位技术专家及行业领袖来分享他们的经验;并将吸引4000+人次的系统运维、架构师及IT决策人士参会,为他们提供最具价值的交流平台。
----------------------------------------
优惠时间:2017年8月2日前

活动链接>>
  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP