Перейти к содержимому
Калькуляторы

ASR 1002 ESP5 / ESP10. Реальная / максимальная производительность, плюсы, минусы...

Из-за чего могла закончится память? Вроде везде пишут, что BGP использует память RP.

Для проверки попробую вместо fullview ограничиться дефолтом.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

show platform software memory forwarding-manager fp active brief

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

15 минут назад, Telesis сказал:

show platform software memory forwarding-manager fp active brief

 

asr1002_test#show platform software memory forwarding-manager fp active brief
  module                  allocated     requested     allocs        frees
  ------------------------------------------------------------------------------
  AOM asynchronous co...  36220         36188         4             0
  AOM basic data          40772         40740         5             1
  AOM batch               161           137           3             0
  AOM links array         41804347      41803563      98            0
  AOM object              95004342      95003558      98            0
  AOM tree node           86871137      86842209      3668          52
  AOM tree root           40209         40177         201           197
  AOM update state        280212        280180        17            13
  AOM uplink update node  16218         16186         1428          1424
  ATM LIB Info_st         80            64            2             0
  ATM RX Buffers          344           336           1             0
  BFD Offload             4848          4840          1             0
  BFD Session             64            56            1             0
  CENT RC                 40            32            1             0
  CENT RC vrf             40            32            1             0
  CENT auto tunnel        40            32            1             0
  CENT dc_id site_ip map  40            32            1             0
  CENT local channel db   40            32            1             0
  CENT multi nexthop map  40            32            1             0
  CENT neighbor chann...  40            32            1             0
  CENT site prefix        40            32            1             0
  CPP ACL                 116           108           1             0
  CPP ACL                 0             0             1             1
  CPP ACL                 14092         14084         1             0
  CPP AEM DEFERRED EX...  179           155           3             0
  CPP AEM SUB-TASK CHUNK  37082         37050         504           500
  CPP AEM TASK CHUNK      24790         24758         502           498
  CPP BQS RM              12312         12288         3             0
  CPP CEF MPLS Gtrie      26928940      23081924      1011855       530978
  CPP CEF MPLS Infras...  0             0             14            14
  CPP CEF MPLS Load B...  187           139           83            77
  CPP CEF MPLS MPLS       161           105           7             0
  CPP CEF MPLS Unicas...  88            64            3             0
  CPP Datapath Servic...  4104          4096          1             0
  CPP Debug Log           88            80            1             0
  CPP Debug Log           88            80            1             0
  CPP ERSPAN              0             0             80663         80663
  CPP ESS IPSUB           160           144           2             0
  CPP EVC Static          1032          1024          1             0
  CPP Ethernet Static     1144          1128          2             0
  CPP Exmem Manager       7640287       7634783       694           6
  CPP Features            4558088       4545720       6910          5364
  CPP Frame Relay Static  188           164           3             0
  CPP GIC Initialization  49640         49560         10            0
  CPP GIC MSG CNTX CHUNK  65754         65722         4             0
  CPP HA                  1122          1034          11            0
  CPP HASH CHUNK          98514         98482         17            13
  CPP I/F DB              64            24            5             0
  CPP ICMP                32840         32824         2             0
  CPP IPMC CHUNK NAME     738           594           18            0
  CPP IPMC GLOBAL         360           352           1             0
  CPP IPMC GTRIE NODE     64            56            1             0
  CPP Internal I/F        128           120           1             0
  CPP L2MC CHUNK NAME     738           594           18            0
  CPP L2MC Unknown        1376          1368          1             0
  CPP L2MC Unknown        64            56            1             0
  CPP LSM CHUNK NAME      720           576           18            0
  CPP LSM Unknown         1344          1336          1             0
  CPP List Hdr Chunk      114902        114870        4             0
  CPP Metadata            4104          4096          1             0
  CPP OTV Static          572           564           1             0
  CPP PBR                 4104          4096          1             0
  CPP Platform            12            4             1             0
  CPP QOS                 28            12            2             0
  CPP QOS                 1060          1036          3             0
  CPP RR Manager          1220          1180          5             0
  CPP RRM Client CTX ...  16604         16572         5649          5645
  CPP SBC                 32            24            1             0
  CPP SBS async CTX C...  1627          1595          4             0
  CPP SIA                 184           160           3             0
  CPP SLM 1024            164           140           3             0
  CPP SLM 128             40151         40111         5             0
  CPP SLM 256             72919         72879         5             0
  CPP SLM 32              15574         15534         5             0
  CPP SLM 512             138455        138415        5             0
  CPP SLM 64              23766         23726         5             0
  CPP SMI                 4108          4084          3             0
  CPP SMI Client CTX ...  7388          7356          4             0
  CPP SPA MARMOT          65616         65600         2             0
  CPP Stats Block         9920          9600          40            0
  CPP Stile               8344          8320          3             0
  CPP UIDB REMOTE API...  175           151           3             0
  CPP XC Static           568           560           1             0
  CPP uIDB Config         112           96            2             0
  CPP uIDB RM Initial...  1032          1024          1             0
  Cloud Web Security ...  4104          4096          1             0
  Common Identity Dat...  4104          4096          1             0
  Connected Enterprise    4104          4096          1             0
  Crypto-device           32            16            2             0
  DEVOBJ                  76268         76140         16            0
  DPSS feature object     52            36            2             0
  EPBR FIA                40            32            1             0
  EPBR feature object     40            32            1             0
  Embedded Packet Cap...  4104          4096          1             0
  Enhanced Policy Bas...  4104          4096          1             0
  Ethernet CFM            1032          1024          1             0
  FCID                    376           280           17            5
  FHS SG Filter           52            36            2             0
  FHS Temp                4104          4096          1             0
  Flow Metadata           4104          4096          1             0
  Flow Metric Engine      4104          4096          1             0
  IPHC LIB Info_st        52            44            1             0
  IPHC RX Buffers         200           192           1             0
  Identity Infrastruc...  4104          4096          1             0
  L2 forwarding table     100           84            2             0
  L2 mcast fwd olist      100           84            2             0
  LISP Source Filter ...  64            56            1             0
  LSM replicate list      88            72            2             0
  MPLS Interface          88            72            2             0
  Metric Mediation Agent  4104          4096          1             0
  OSLib DEbug Flags O...  14120         11720         300           0
  OSLib EVM Objects       2204          2100          22            9
  OSLib Hash Lib Objects  131168        131160        1             0
  OSLib IdMgr Objects     1065016       1065008       1             0
  OSLib Misc Objects      528           264           33            0
  OSLib Mutex Objects     16920         12408         564           0
  OSLib R/W Lock Objects  3120          2080          130           0
  OSLib SMC Objects       48            32            36043         36041
  One Firewall            5136          5120          2             0
  PLU CFG                 6218180       3355036       2938121       2580228
  QFP PfR Static Memory   1168          1152          2             0
  SMC CHANNEL CHUNK       34477         34429         6             0
  SMC MESSAGE CHUNK       450773        450741        4             0
  SSLVPN                  536           520           2             0
  SSLVPN Connection       232           200           4             0
  SSLVPN Gateway          84            68            2             0
  Summary                 372377383     361716447     8526407       7193790
  Tunnel Flow             328           280           10            4
  Virtual Private LAN...  1032          1024          1             0
  acl                     8795          8259          104           37
  acl-bind                320           280           5             0
  acl-ref                 64            56            1             0
  adj                     63752         60600         408           14
  alg sip blacklist       64            56            1             0
  alg sip processor       64            56            1             0
  alg sip timer           64            56            1             0
  alg vtcp service        64            56            1             0
  atom-disp               224           192           4             0
  atom-imp                112           96            2             0
  atom-xconnect           224           192           4             0
  bridge-domain           64            56            1             0
  bundle                  88            72            2             0
  cc-config               200           160           7             2
  cdllib                  1668          1660          4             3
  cgm-lib                 1464          1112          72            28
  chunk                   52724700      52702132      3348          527
  cidb-dir                64            56            1             0
  cidb-session            64            56            1             0
  cond_dbg feature in...  76            60            2             0
  cws-tun-radius-attrib   64            56            1             0
  cws-ubit                64            56            1             0
  cxsc-avc                64            56            1             0
  cxsc-avc-complete       64            56            1             0
  cxsc-avc-group          64            56            1             0
  cxsc-avc-group-comp...  64            56            1             0
  cxsc-domain-cfg         64            56            1             0
  cxsc-init               64            56            1             0
  cxsc-intf-table         64            56            1             0
  cxsc-intf-table-domain  64            56            1             0
  cxsc-pcap-cfg           64            56            1             0
  cxsc-pcap-drop-capt...  64            56            1             0
  cxsc-policy-complete    64            56            1             0
  cxsc-proposition        64            56            1             0
  cxsc-proposition-su...  64            56            1             0
  cxsc-row                64            56            1             0
  cxsc-syslog-cfg         64            56            1             0
  cxsc-table              64            56            1             0
  dpidb-config            44768         44008         184           89
  dsp-resource            48            40            1             0
  dsp-session_leg         48            40            1             0
  ecfm lemp               76            60            2             0
  eoam-cfm-efp            64            56            1             0
  eoam-cfm-mp-cfg         64            56            1             0
  eoam-cfm-port-cfg       64            56            1             0
  eos-choice              128           104           3             0
  ess-accounting          92            76            2             0
  ess-cgm                 92            76            2             0
  ess-drl                 92            76            2             0
  ess-ffr                 92            76            2             0
  ess-ipv6-accounting     92            76            2             0
  ess-l4r                 92            76            2             0
  ess-pbhk                92            76            2             0
  ess-segment             64            56            1             0
  ether-dplb-info         64            56            1             0
  ether-dplb-tbl          12            4             1             0
  eventutil               117395        117075        56            16
  fman-infra              491604        491588        2             0
  fman-infra-avl          15808         13832         247           0
  fman-infra-cce          4136          4120          2             0
  fman-infra-dpidb        1071          799           34            0
  fman-infra-ipc          20374         14286         761           0
  fman-infra-qos          5876          5668          26            0
  fman-ipsec              80            64            2             0
  fmd-filter-binding      64            56            1             0
  frr                     112           96            2             0
  frr primary path        112           96            2             0
  fw-param-map            621           605           2             0
  fw-zone                 25            17            1             0
  gal-check-choice        56            48            1             0
  hash-alg                200           152           16            10
  imgr-avl                300           292           1             0
  imgr-cfg-util           43264         43256         9             8
  imgr-hapi-lib           0             0             5040          5040
  imgr-ipsecmgr           1111048       1111040       1             0
  imgr-n2                 112           104           10065         10064
  imgr-policy             8204          8196          1             0
  imgr-static             1460          1220          30            0
  intf-list               88            72            2             0
  iphc-profile            64            56            1             0
  l2 control protocol     64            56            1             0
  label                   112           96            2             0
  li_md                   64            56            1             0
  link-oam                64            56            1             0
  lisp                    88            72            2             0
  lmep table              76            60            2             0
  loadbalance             1528          1432          1927071       1927059
  loadbalance-map         88            72            2             0
  lookup                  472           360           20            6
  ma table                76            60            2             0
  mfr-bundle              76            60            2             0
  mlp-bundle              76            60            2             0
  mma-action              64            56            1             0
  mma-attr-class-group    64            56            1             0
  mma-fdef                64            56            1             0
  mma-fmp-rtp-param       64            56            1             0
  mma-interface-feature   64            56            1             0
  mma-monitor             64            56            1             0
  mp prefix info          92            76            2             0
  n2mcp-async             40            32            5030          5029
  nat-maxent              0             0             22286         22286
  nat-pap-settings        300           284           2             0
  nat64 CGM class         64            56            1             0
  nat64 adjacency         64            56            1             0
  nat64 alias             64            56            1             0
  nat64 dynamic mapping   64            56            1             0
  nat64 dynamic mappi...  64            56            1             0
  nat64 intf              64            56            1             0
  nat64 limit             64            56            1             0
  nat64 logging           64            56            1             0
  nat64 map-t bmr         64            56            1             0
  nat64 map-t dmr         64            56            1             0
  nat64 pool              64            56            1             0
  nat64 pool ID           64            56            1             0
  nat64 pool range        64            56            1             0
  nat64 replication       64            56            1             0
  nat64 service           64            56            1             0
  nat64 static mapping    64            56            1             0
  nat64 static mappin...  64            56            1             0
  nat64 timeout           64            56            1             0
  onefw identity- dir     64            56            1             0
  onefw identity- ses...  64            56            1             0
  otv-decap               112           96            2             0
  otv-encap               112           96            2             0
  otv-site-isis           64            56            1             0
  pbr_if_cfg              64            56            1             0
  pbr_routemap            128           112           2             0
  pbr_routemap_seq        64            56            1             0
  pfr if bind             92            76            2             0
  pfr nbar appl           92            76            2             0
  plugin-config           80            64            4             2
  punt-interface          0             0             3             3
  push-counter            88            72            2             0
  qos-choice              48            40            1             0
  rl2gp-cfg               76            60            2             0
  rmep table              76            60            2             0
  route-pfx               44240172      40393188      2459777       1978904
  route-subblock          46            30            2             0
  route-tbl               624           528           12            0
  sbc-call                131084        131076        1             0
  sbc-global              196           140           7             0
  sbc-media-fork-sess     65548         65540         1             0
  sbc-media-pool          64            56            1             0
  sbc-pinhole             65548         65540         1             0
  sbc-sbl-adjacency       65548         65540         1             0
  sbc-sbl-pfilter         524300        524292        1             0
  sbc-sfx_register        262156        262148        1             0
  sbc-tdm                 131084        131076        1             0
  spa-config              40            24            2             0
  sslinfra_aaa            800           680           15            0
  sslinfra_config         179           147           4             0
  sslinfra_context        1032          1024          1             0
  sslinfra_session        24            8             2             0
  static appl sig         92            76            2             0
  stile-fia               64            56            1             0
  stile-interface         64            56            1             0
  stile_xdr_config        64            56            1             0
  trccfg                  256           248           5             4
  uipeer                  9288          9264          9             6
  unknown                 16            8             1             0
  urpf-config             64            56            1             0
  urpf-list               15472         10392         3555          2920
  vasi-pair               8012          8004          1             0
  vc-config               4032          3808          28            0
  vrf vrf                 224           184           5             0
  vxlan-decap             112           96            2             0
  vxlan-encap             112           96            2             0
  wccp-acl                64            56            1             0
  wccp-ce                 64            56            1             0
  wccp-exl-in-intf        64            56            1             0
  wccp-hash               64            56            1             0
  wccp-intf               64            56            1             0
  wccp-svc                64            56            1             0

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

8 минут назад, zhenya` сказал:

в драм QFP явно fib таблица лежит.

А можно поподробнее для простых смертных? Что делать то? 

Убрал один fullview с циски, но ей от этого стало только хуже, пришлось ребутить. После ребута уже с одним fullview все равно память загружена под завязку. Сегодня постараюсь убрать второй fullview.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

ну число best path то не убавилось особо. попробуйте отфильтровать /24 ) 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

2 минуты назад, zhenya` сказал:

ну число best path то не убавилось особо. попробуйте отфильтровать /24 ) 

Сейчас уже отфильтровано /16, боюсь представить что будет, если фильтр отключу.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

34 минуты назад, sanoka сказал:

Сейчас уже отфильтровано /16, боюсь представить что будет, если фильтр отключу.

show ip cef summ

show ip route summ

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

show platform software status control-processor brief

monitor platform software process f0

show log

 

P/S выкладывайте в spoiler


 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Скрытый текст

asr1002_test#sh ip cef summary
IPv4 CEF is enabled for distributed and running
VRF Default
 212553 prefixes (212553/0 fwd/non-fwd)
 Table id 0x0
 Database epoch:        2 (212553 entries at this epoch)
 

 

asr1002_test#sh ip route summary
IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Replicates  Overhead    Memory (bytes)
connected       0           20          0           1440        3600
static          7           71          0           5616        14040
application     0           0           0           0           0
bgp xxxxx       47          212325      0           15290784    38226960
  External: 212372 Internal: 0 Local: 0
internal        3800                                            9186680
Total           3854        212416      0           15297840    47431280
 

 

asr1002_test#show platform software status control-processor brief
Load Average
 Slot  Status  1-Min  5-Min 15-Min
  RP0 Healthy   0.21   0.16   0.25
 ESP0 Healthy   0.00   0.00   0.02
 SIP0 Healthy   0.00   0.00   0.00

Memory (kB)
 Slot  Status    Total     Used (Pct)     Free (Pct) Committed (Pct)
  RP0 Healthy  3874484  3228648 (83%)   645836 (17%)   2990740 (77%)
 ESP0 Healthy   969068   954192 (98%)    14876 ( 2%)    871412 (90%)
 SIP0 Healthy   471812   335640 (71%)   136172 (29%)    302808 (64%)

CPU Utilization
 Slot  CPU   User System   Nice   Idle    IRQ   SIRQ IOwait
  RP0    0   2.59   2.19   0.00  94.90   0.09   0.19   0.00
 ESP0    0   3.69  19.08   0.00  77.12   0.00   0.09   0.00
 SIP0    0   2.90   1.30   0.00  95.80   0.00   0.00   0.00
 

 

top - 04:44:07 up 23:16,  0 users,  load average: 0.30, 0.07, 0.03
Tasks: 103 total,   1 running, 102 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.6%us, 20.2%sy,  0.0%ni, 76.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    969068k total,   962284k used,     6784k free,     4032k buffers
Swap:        0k total,        0k used,        0k free,   175600k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9391 root      20   0 1019m 481m  38m S 19.5 50.9 278:06.91 fman_fp_image
 9623 root      20   0 47812 7644 3400 S  2.0  0.8  17:57.52 hman
 7499 root      20   0  386m 9.8m 4332 S  1.0  1.0  11:29.89 cman_fp
 8033 root      20   0  594m  70m  22m S  0.7  7.5   6:42.79 cpp_cp_svr
    4 root     -50   0     0    0    0 S  0.3  0.0   5:36.80 sirq-timer/0
   12 root     -50   0     0    0    0 S  0.3  0.0   4:56.62 sirq-rcu/0
27364 binos     20   0  2652 1260 1004 R  0.3  0.1   0:00.03 top
    1 root      20   0  2152  636  548 S  0.0  0.1   0:08.45 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root     -50   0     0    0    0 S  0.0  0.0   0:00.00 sirq-high/0
    5 root     -50   0     0    0    0 S  0.0  0.0   0:00.38 sirq-net-tx/0
    6 root     -50   0     0    0    0 S  0.0  0.0   0:44.90 sirq-net-rx/0
    7 root     -50   0     0    0    0 S  0.0  0.0   0:00.00 sirq-block/0
    8 root     -50   0     0    0    0 S  0.0  0.0   0:00.00 sirq-block-iopo
    9 root     -50   0     0    0    0 S  0.0  0.0   0:01.98 sirq-tasklet/0
   10 root     -50   0     0    0    0 S  0.0  0.0   0:00.00 sirq-sched/0
   11 root     -50   0     0    0    0 S  0.0  0.0   0:00.01 sirq-hrtimer/0
 

 

Log Buffer (4096 bytes):
NG: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 25 23:17:02.049: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 25 23:27:12.058: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 25 23:37:22.074: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 25 23:47:32.116: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 25 23:57:42.135: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 26 00:07:52.162: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 26 00:18:02.182: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 26 00:28:12.186: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 26 00:38:22.210: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 26 00:48:32.223: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 26 00:58:42.231: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
*Feb 26 01:08:52.253: %PLATFORM-4-ELEMENT_WARNING: R0/0: smand:  ESP/0: Committed Memory value 91% exceeds warning level 90%
 

 

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

версия софта какая? (возможно у вас bug CSCtj47922 или CSCuq31464)

 

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9391 root      20   0 1019m 481m  38m S 19.5 50.9 278:06.91 fman_fp_image

При том, что у вас сейчас не FullView, память задействована на 50% 

Изменено пользователем Telesis

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

37 минут назад, Telesis сказал:

версия софта какая?

Cisco IOS XE Software, Version 03.16.05.S - Extended Support Release
Cisco IOS Software, ASR1000 Software (PPC_LINUX_IOSD-ADVENTERPRISEK9-M),

Version 15.5(3)S5, RELEASE SOFTWARE (fc2)
Compiled Thu 19-Jan-17 09:41 by mcpre
 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

On 2/26/2019 at 10:46 AM, sanoka said:

Сейчас уже отфильтровано /16, боюсь представить что будет, если фильтр отключу.

Reboot после настройки делали? Если не делали то есть вероятность, что память просто не высвободилась.

1) Сделайте reboot

2) Ждем загрузки BGP (с фильтрами)

3) show platform software process list F0 (cman_fp смотрите за процессом сколько памяти)

4) Повторяйте (каждый день, несколько дней) пункт 3, и наблюдаем не будет расти размер памяти процесса.

5) Если идет каждодневный рост, тогда стоит подумать и сменить софт.

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Был один роутер, который мог раз в полгода "зависнуть". Ребут восстанавливал работоспособность. Оказалось, враги постоянно долбятся на него по ssh и из-за этого память медленно но верно "утекала". Решили проблему навесив ACL для ssh.

 

Capture.JPG

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Как ни странно, но после ребута память частично освободилась. До отключения одного fullview ребут не помогал.

Скрытый текст

asr1002_test#show platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource                 Usage                 Max             Warning         Critical        State
----------------------------------------------------------------------------------------------------
RP0 (ok, active)                                                                               H
 Control Processor       10.18%                100%            90%             95%             H
  DRAM                   2221MB(58%)           3783MB          90%             95%             H
ESP0(ok, active)                                                                               H
 Control Processor       21.80%                100%            90%             95%             H
  DRAM                   751MB(79%)            946MB           90%             95%             H
 QFP                                                                                           H
  TCAM                   8cells(0%)            65536cells      45%             55%             H
  DRAM                   127367KB(48%)         262144KB        80%             90%             H
  IRAM                   10453KB(7%)           131072KB        80%             90%             H
SIP0                                                                                           H
 Control Processor       4.30%                 100%            90%             95%             H
  DRAM                   328MB(71%)            460MB           90%             95%             H


asr1002_test#show ip cef summary
IPv4 CEF is enabled for distributed and running
VRF Default
 216356 prefixes (216356/0 fwd/non-fwd)
 Table id 0x0
 Database epoch:        2 (216356 entries at this epoch)



asr1002_test#show ip route summary
IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Replicates  Overhead    Memory (bytes)
connected       0           18          0           1296        3240
static          7           71          0           5616        14040
application     0           0           0           0           0
bgp xxxxx       47          216138      0           15565320    38913300
  External: 216185 Internal: 0 Local: 0
internal        3828                                            9344180
Total           3882        216227      0           15572232    48274760

 

Но все равно кажется, что слишком много памяти занято. Сейчас на циске только один частично зафильтрованный fullview. Получается, что она не тянет даже 1 fullview.

Если у кого-нибудь есть аналогичная циска, выложите пожалуйста статистику использования памяти.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Скрытый текст

show platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource                 Usage                 Max             Warning         Critical        State
----------------------------------------------------------------------------------------------------
RP0 (ok, active)                                                                               H
 Control Processor       9.99%                 100%            90%             95%             H
  DRAM                   2653MB(70%)           3783MB          90%             95%             H
ESP0(ok, active)                                                                               W
 Control Processor       23.23%                100%            90%             95%             H
  DRAM                   847MB(89%)            946MB           90%             95%             H
 QFP                                                                                           W
  TCAM                   190cells(0%)          65536cells      45%             55%             H
  DRAM                   209824KB(80%)         262144KB        80%             90%             W
  IRAM                   92817KB(70%)          131072KB        80%             90%             H
SIP0                                                                                           H
 Control Processor       2.80%                 100%            90%             95%             H
  DRAM                   319MB(69%)            460MB           90%             95%             H

show ip cef summary
IPv4 CEF is enabled for distributed and running
VRF Default
 29738 prefixes (29738/0 fwd/non-fwd)
 Table id 0x0
 Database epoch:        2 (29738 entries at this epoch)

show ip route summary
IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Replicates  Overhead    Memory (bytes)
connected       0           18          0           1296        3240
static          0           9           0           648         1620
application     0           0           0           0           0
bgp *****       3200        26398       0           2131056     5327640
  External: 29598 Internal: 0 Local: 0
internal        987                                             1366140
Total           4187        26425       0           2133000     6698640

 

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

On 2/25/2019 at 1:28 PM, sanoka said:

ASR1002/ESP5

совсем упустили, с ESP5 про full view стоит забыть.

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

До недавнего времени на ASR1002 было 2 FullView+IX, все работало стабильно:

 

#sh platform
Chassis type: ASR1002

Slot      Type                State                 Insert time (ago)
--------- ------------------- --------------------- -----------------
0         ASR1002-SIP10       ok                    2w3d
 0/0      4XGE-BUILT-IN       ok                    2w3d
R0        ASR1002-RP1         ok, active            2w3d
F0        ASR1000-ESP5        ok, active            2w3d
P0        ASR1002-PWR-AC      ok                    2w3d
P1        ASR1002-PWR-AC      ok                    2w3d

Slot      CPLD Version        Firmware Version
--------- ------------------- ---------------------------------------
0         07120202            12.2(33r)XNC
R0        08011017            12.2(33r)XNC
F0        07091401            12.2(33r)XNC
 

#sh ver
Cisco IOS XE Software, Version 03.13.06.S - Extended Support Release
Cisco IOS Software, ASR1000 Software (PPC_LINUX_IOSD-ADVENTERPRISE-M), Version 15.4(3)S6, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Thu 04-Aug-16 05:12 by mcpre

...

System image file is "bootflash:asr1000rp1-adventerprise.03.13.06.S.154-3.S6-ext.bin"

...

cisco ASR1002 (2RU) processor (revision 2RU) with 1661134K/6147K bytes of memory.
Processor board ID FOX1449G28F
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
7798783K bytes of eUSB flash at bootflash:.

 

 

 


#sh platform software status control-processor brief
Load Average
 Slot  Status  1-Min  5-Min 15-Min
  RP0 Healthy   0.09   0.13   0.10
 ESP0 Healthy   0.25   0.25   0.28
 SIP0 Healthy   0.00   0.00   0.00

Memory (kB)
 Slot  Status    Total     Used (Pct)     Free (Pct) Committed (Pct)
  RP0 Healthy  3874476  3599488 (93%)   274988 ( 7%)   2964020 (77%)
 ESP0 Healthy   969060   924360 (95%)    44700 ( 5%)    875560 (90%)
 SIP0 Healthy   471804   288640 (61%)   183164 (39%)    194444 (41%)

CPU Utilization
 Slot  CPU   User System   Nice   Idle    IRQ   SIRQ IOwait
  RP0    0   9.89   3.89   0.00  85.81   0.19   0.19   0.00
 ESP0    0   5.59  16.68   0.00  68.03   0.00   0.19   9.49
 SIP0    0   1.60   0.90   0.00  97.49   0.00   0.00   0.00
 

 

#sh ip bgp sum
BGP table version is 783548831, main routing table version 783548831
751213 network entries using 108174672 bytes of memory
3206114 path entries using 256489120 bytes of memory
506091/117364 BGP path/bestpath attribute entries using 80974560 bytes of memory
217753 BGP AS-PATH entries using 8569260 bytes of memory
1 BGP ATTR_SET entries using 40 bytes of memory
8999 BGP community entries using 550600 bytes of memory
293 BGP extended community entries using 10250 bytes of memory
600 BGP route-map cache entries using 21600 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 454790062 total bytes of memory
1603116 received paths for inbound soft reconfiguration
BGP activity 5555003/4803790 prefixes, 57673971/54467857 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
BGP IX                4        ASN1   151234   24875 783548637    0    0 1w0d       108583
BGP FullView-1    4        ASN2  1455358   24866 783548637    0    0 1w0d       750890
BGP FullView-2    4        ASN3  3217965   12548 783548708    0    0 1w0d       743514
 

#sh ip route summary
IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Replicates  Overhead    Memory (bytes)
connected       0           815         0           58720       146700
static          0           11          0           792         1980
application     0           0           0           0           0
ospf 100        14          131         0           10440       26680
  Intra-area: 0 Inter-area: 5 External-1: 0 External-2: 140
  NSSA External-1: 0 NSSA External-2: 0
bgp ASN       197548      553626      0           54084568    135211320
  External: 751174 Internal: 0 Local: 0
internal        7326                                            29936220
Total           204888      554583      0           54154520    165322900
 
 

 

 

Недавно потребовалось принять ещё 250К маршрутов, вот тут то память и закончилась.

%COMMON_FIB-3-NOMEM: Memory allocation failure for validating prefix in IPv4 CEF [0x10C3A2B4] (fatal) (8308 subsequent failures).
%COMMON_FIB-4-DISABLING: IPv4 CEF is being disabled due to a fatal error.

 

Временно зафильтровал префиксы /24.

После фильтрации до подключения нового bgp получилось вот так:

 

 

 


#sh platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource                 Usage                 Max             Warning         Critical        State
----------------------------------------------------------------------------------------------------
RP0 (ok, active)                                                                               W
 Control Processor       12.00%                100%            90%             95%             H
  DRAM                   3515MB(92%)           3783MB          90%             95%             W
ESP0(ok, active)                                                                               W
 Control Processor       21.18%                100%            90%             95%             H
  DRAM                   896MB(94%)            946MB           90%             95%             W
 QFP                                                                                           H
  TCAM                   488cells(0%)          65536cells      45%             55%             H
  DRAM                   179743KB(68%)         262144KB        80%             90%             H
  IRAM                   58656KB(44%)          131072KB        80%             90%             H
SIP0                                                                                           H
 Control Processor       2.61%                 100%            90%             95%             H
  DRAM                   281MB(61%)            460MB           90%             95%             H

 

#sh ip route sum
IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Replicates  Overhead    Memory (bytes)
connected       0           770         0           55480       138600
static          0           11          0           792         1980
application     0           0           0           0           0
ospf 100        14          133         0           10584       27048
  Intra-area: 0 Inter-area: 5 External-1: 0 External-2: 142
  NSSA External-1: 0 NSSA External-2: 0
bgp ASN      92489       295236      0           27916200    69790500
  External: 387725 Internal: 0 Local: 0
internal        6400                                            16197060
Total           98903       296150      0           27983056    86155188

 

#show ip cef summary
IPv4 CEF is enabled for distributed and running
VRF Default
 389180 prefixes (389179/1 fwd/non-fwd)
 Table id 0x0
 Database epoch:        3
  Epoch statistics:
   Epoch 2: 235 entries
   Epoch 3: 389180 entries

 

#sh ip bgp sum
BGP table version is 1211191, main routing table version 1211191
751490 network entries using 108214560 bytes of memory
2354999 path entries using 188399920 bytes of memory
386102/69620 BGP path/bestpath attribute entries using 61776320 bytes of memory
217459 BGP AS-PATH entries using 8553734 bytes of memory
1 BGP ATTR_SET entries using 40 bytes of memory
9029 BGP community entries using 556964 bytes of memory
297 BGP extended community entries using 10362 bytes of memory
640 BGP route-map cache entries using 23040 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 367534900 total bytes of memory
1604904 received paths for inbound soft reconfiguration
BGP activity 6332438/5580939 prefixes, 61837613/59482614 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
BGP IX              4        ASN1     34618    2708  1211021    0    0 20:36:19   109781
BGP FullView-1  4        ASN2    252566    2703  1211021    0    0 20:36:18   321753
BGP FullView-2  4        ASN3    601660    1363  1211021    0    0 20:36:20   318550
 

 

 

После принятия 250К доп. маршрутов

 

 

 


#sh platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource                 Usage                 Max             Warning         Critical        State
----------------------------------------------------------------------------------------------------
RP0 (ok, active)                                                                               H
 Control Processor       28.24%                100%            90%             95%             H
  DRAM                   3212MB(84%)           3783MB          90%             95%             H
ESP0(ok, active)                                                                               C
 Control Processor       24.00%                100%            90%             95%             H
  DRAM                   902MB(95%)            946MB           90%             95%             C
 QFP                                                                                           H
  TCAM                   484cells(0%)          65536cells      45%             55%             H
  DRAM                   189727KB(72%)         262144KB        80%             90%             H
  IRAM                   59889KB(45%)          131072KB        80%             90%             H
SIP0                                                                                           H
 Control Processor       2.80%                 100%            90%             95%             H
  DRAM                   280MB(60%)            460MB           90%             95%             H
 

#sh ip route sum
IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source    Networks    Subnets     Replicates  Overhead    Memory (bytes)
connected       0           763         0           55048       137340
static          0           11          0           792         1980
application     0           0           0           0           0
ospf 100        14          132         0           10512       26864
  Intra-area: 0 Inter-area: 5 External-1: 0 External-2: 141
  NSSA External-1: 0 NSSA External-2: 0
bgp ASN        92436       581528      0           48525408    121313520
  External: 673964 Internal: 0 Local: 0
internal        9626                                            28106780
Total           102076      582434      0           48591760    149586484

 

#sh ip cef sum
IPv4 CEF is enabled for distributed and running
VRF Default
 675432 prefixes (675431/1 fwd/non-fwd)
 Table id 0x0
 Database epoch:        2 (675432 entries at this epoch)
 

#sh ip bgp sum
BGP table version is 132243828, main routing table version 132243828
1039328 network entries using 149663232 bytes of memory
2932006 path entries using 234560480 bytes of memory
387399/70950 BGP path/bestpath attribute entries using 61983840 bytes of memory
217564 BGP AS-PATH entries using 8571476 bytes of memory
1 BGP ATTR_SET entries using 40 bytes of memory
9261 BGP community entries using 597808 bytes of memory
433 BGP extended community entries using 21990 bytes of memory
255 BGP route-map cache entries using 9180 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 455408006 total bytes of memory
1609096 received paths for inbound soft reconfiguration
BGP activity 1611084/571754 prefixes, 7807047/4875041 paths, scan interval 60 secs

Neighbor           V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
BGP IX           4        ASN1   272597   53122 132243722    0    0 2w2d       109846
BGP FullView-1     4        ASN2  3129045   53099 132243722    0    0 2w2d       322163
BGP IX NEW-Main       4        ASN4   142942    5735 132243722    0    0 3d14h      285958
BGP IX NEW Backup  4        ASN4   186915    3692 132243722    0    0 2d07h      285987
BGP FullView-2     4        ASN3  9447900   28418 132243722    0    0 2w3d       318945
 

 

 

Пока ищу варианты, чтобы убрать фильтрацию префиксов /24 и уменьшить потребление памяти DRAM в ESP.

Изменено пользователем melmaxnvk

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

В 28.02.2019 в 10:33, Telesis сказал:

совсем упустили, с ESP5 про full view стоит забыть.

 

Если fw обрабатывается через rp, то какая разница Esp5 там или Esp10, если и там и там Rp1?

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Fib лежит в dram на esp. На разных есп разный объём dram.

Собственно ошибка про cef это про esp.

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Здравствуйте!

Возникла такая же проблема с памятью ESP0 DRAM

#show platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource                 Usage                 Max             Warning         Critical        State
----------------------------------------------------------------------------------------------------
RP0 (ok, active)                                                                               H
 Control Processor       10.02%                100%            90%             95%             H
  DRAM                   3281MB(86%)           3783MB          90%             95%             H
ESP0(ok, active)                                                                               C
 Control Processor       24.16%                100%            90%             95%             H
  DRAM                   939MB(99%)            946MB           90%             95%             C
 QFP                                                                                           H
  TCAM                   20cells(0%)           65536cells      45%             55%             H
  DRAM                   191949KB(73%)         262144KB        80%             90%             H
  IRAM                   62677KB(47%)          131072KB        80%             90%             H
SIP0                                                                                           H
 Control Processor       3.30%                 100%            90%             95%             H
  DRAM                   319MB(69%)            460MB           90%             95%             H

 

В связи с отвалом одного оператора, пришлось временно поднять фильтрацию до /24, обычно /23 использую, у юзеров банки отвалились

После восстановления вернул обратно настройки на /23, но DRAM не освободилась

Есть возможность без перезагрузки освободить её? 
 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.