[Xorp-users] BGP and Policy module shutdown

Atanu Ghosh atanu at ICSI.Berkeley.EDU
Thu May 1 10:46:50 PDT 2008


Hi,

Do you have a simple way for us to reproduce this problem?

   Atanu.

>>>>> "Yue" == Yue Li <yueli.m at gmail.com> writes:

    Yue> Hi, All
    Yue> I am testing bgp and policies with 30 XORP instances.
    Yue> I got the following errors from one xorp instance, bgp and policy
    Yue> modules shutdown:
    Yue> [ 2008/04/30 19:07:08  ERROR xorp_rtrmgr:9832 RTRMGR +747
    Yue> module_manager.cc done_cb ] Command "/local/xorp/bgp/xorp_bgp":
    Yue> terminated with signal 11.
    Yue> [ 2008/04/30 19:07:08  ERROR xorp_rtrmgr:9832 RTRMGR +747
    Yue> module_manager.cc done_cb ] Command "/local/xorp/policy/xorp_policy":
    Yue> terminated with signal 6.
    Yue> [ 2008/04/30 19:07:08  ERROR xorp_policy:10139 XRL +635 xrl_pf_stcp.cc
    Yue> die ] XrlPFSTCPSender died: Keepalive timeout
    Yue> [ 2008/04/30 19:07:08  ERROR xorp_policy:10139 LIBXORP +213
    Yue> buffered_asyncio.cc io_event ] read error 104
    Yue> [ 2008/04/30 19:07:08  ERROR xorp_policy:10139 XRL +782 xrl_pf_stcp.cc
    Yue> read_event ] Read failed (error = 104)
    Yue> [ 2008/04/30 19:07:08  ERROR xorp_policy:10139 XRL +635 xrl_pf_stcp.cc
    Yue> die ] XrlPFSTCPSender died: read error
    Yue> [ 2008/04/30 19:07:08 INFO xorp_rib RIB ] Received death event for
    Yue> protocol bgp shutting down -------
    Yue> OriginTable: ebgp
    Yue> EGP
    Yue> next table = Merged:(ebgp)+(ibgp)
    Yue> [ 2008/04/30 19:07:08 INFO xorp_rib RIB ] Received death event for
    Yue> protocol bgp shutting down -------
    Yue> OriginTable: ebgp
    Yue> EGP
    Yue> next table = Merged:(ebgp)+(ibgp)
    Yue> [ 2008/04/30 19:07:08 INFO xorp_rib RIB ] Received death event for
    Yue> protocol bgp shutting down -------
    Yue> OriginTable: ebgp
    Yue> EGP
    Yue> next table = Merged:(ebgp)+(ibgp)
    Yue> [ 2008/04/30 19:07:08 INFO xorp_rib RIB ] Received death event for
    Yue> protocol bgp shutting down -------
    Yue> OriginTable: ebgp
    Yue> EGP
    Yue> next table = Merged:(ebgp)+(ibgp)
    Yue> [ 2008/04/30 19:07:08  FATAL xorp_policy:10139 XifRib +53
    Yue> xorp_policy.cc main ] PolicyException: FMException from line 122 of
    Yue> filter_manager.cc: XRL policy_backend_cb() error: 210 Transport failed

    Yue> I have configured the import and export policies with about 4,000
    Yue> terms on this router, most of them are like :
    Yue> policy-statement bgp_in {
    Yue> term 0 {
    Yue> from {
    Yue> neighbor: 10.0.1.81
    Yue> }
    Yue> then {
    Yue> accept
    Yue> }
    Yue> }
    Yue> term 1 {
    Yue> from {
    Yue> neighbor: 10.0.1.62
    Yue> network4: 199.253.246.0/24
    Yue> }
    Yue> then {
    Yue> accept
    Yue> }
    Yue> ...
    Yue> term import_last {
    Yue> then {
    Yue> reject
    Yue> }
    Yue> }
    Yue> }

    Yue> policy-statement bgp_out {
    Yue> term 0 {
    Yue> from {
    Yue> protocol: "static"
    Yue> network4: 129.142.0.0/16
    Yue> }
    Yue> to {
    Yue> neighbor: 10.0.1.141
    Yue> }
    Yue> then {
    Yue> nexthop4: 10.0.1.142
    Yue> accept
    Yue> }
    Yue> }
    Yue> ...
    Yue> term 209 {
    Yue> from {
    Yue> protocol: "bgp"
    Yue> network4: 146.75.0.0/16
    Yue> }
    Yue> to {
    Yue> neighbor: 10.0.1.141
    Yue> }
    Yue> then {
    Yue> accept
    Yue> }
    Yue> }
    Yue> ...
    Yue> term export_last {
    Yue> then {
    Yue> reject
    Yue> }
    Yue> }
    Yue> }

    Yue> bgp {
    Yue> bgp-id: 10.0.1.142
    Yue> import: "bgp_in"
    Yue> export: "bgp_out"
    Yue> local-as: 1257
    Yue> traceoptions {
    Yue> flag {
    Yue> all {
    Yue> disable: true
    Yue> }
    Yue> }
    Yue> }
    Yue> peer 10.0.1.141 {
    Yue> local-ip: 10.0.1.142
    Yue> as: 286
    Yue> next-hop: 10.0.1.142
    Yue> ipv4-multicast: false
    Yue> ipv6-unicast: false
    Yue> ipv6-multicast: false
    Yue> }
    Yue> ...
    Yue> }

    Yue> Could anyone give some clues? Thanks!

    Yue> _______________________________________________
    Yue> Xorp-users mailing list
    Yue> Xorp-users at xorp.org
    Yue> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-users mailing list