Hi all,
I knocked into below cmd, and then vpp crashed cause there is out of mem.
Am i missed some para or is it a bug?
vppctl snat deterministic add in 192.168.60.0/16 out 10.10.55.1/32
Thread 1 "vpp_main" received signal SIGABRT, Aborted.
0x00007ffff5485428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff5485428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff548702a in __GI_abort () at abort.c:89
#2 0x0000000000406d9e in os_panic () at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vpp/vnet/main.c:261
#3 0x00007ffff5c9b1c5 in clib_mem_alloc_aligned_at_offset
(os_out_of_memory_on_failure=1, align_offset=4, align=4, size=1572864004) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vppinfra/mem.h:102
#4 vec_resize_allocate_memory (v=v@entry=0x0,
length_increment=length_increment@entry=65536000, data_bytes=1572864004,
data_bytes@entry=1572864000, header_bytes=<optimized out>,
header_bytes@entry=0,
data_align=data_align@entry=4) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vppinfra/vec.c:59
#5 0x00007fffb2a08f60 in _vec_resize (data_align=0, header_bytes=0,
data_bytes=1572864000, length_increment=65536000, v=0x0) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vppinfra/vec.h:142
#6 snat_det_add_map (sm=sm@entry=0x7fffb2c10000 <snat_main>,
in_addr=in_addr@entry=0x7fffb532cbd0, in_plen=<optimized out>,
out_addr=out_addr@entry=0x7fffb532cbe0, out_plen=<optimized out>,
is_add=is_add@entry=1) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/plugins/snat/snat_det.c:83
#7 0x00007fffb29e0cb5 in snat_det_map_command_fn (vm=<optimized out>,
input=<optimized out>, cmd=<optimized out>) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/plugins/snat/snat.c:3194
#8 0x00007ffff774adf6 in vlib_cli_dispatch_sub_commands
(vm=vm@entry=0x7ffff79aa2a0 <vlib_global_main>, cm=cm@entry=0x7ffff79aa508
<vlib_global_main+616>, input=input@entry=0x7fffb532ce40,
parent_command_index=<optimized out>) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/cli.c:485
#9 0x00007ffff774b254 in vlib_cli_dispatch_sub_commands
(vm=vm@entry=0x7ffff79aa2a0 <vlib_global_main>, cm=cm@entry=0x7ffff79aa508
<vlib_global_main+616>, input=input@entry=0x7fffb532ce40,
parent_command_index=<optimized out>) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/cli.c:463
#10 0x00007ffff774b254 in vlib_cli_dispatch_sub_commands
(vm=vm@entry=0x7ffff79aa2a0 <vlib_global_main>, cm=cm@entry=0x7ffff79aa508
<vlib_global_main+616>, input=input@entry=0x7fffb532ce40,
parent_command_index=parent_command_index@entry=0) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/cli.c:463
#11 0x00007ffff774b5e0 in vlib_cli_input (vm=vm@entry=0x7ffff79aa2a0
<vlib_global_main>, input=input@entry=0x7fffb532ce40,
function=function@entry=0x41fef0 <shmem_cli_output>,
function_arg=function_arg@entry=140736233393720) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/cli.c:559
#12 0x0000000000420a24 in vl_api_cli_request_t_handler (mp=<optimized out>) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vpp/api/api.c:1127
#13 0x00007ffff7bce2c3 in vl_msg_api_handler_with_vm_node
(am=am@entry=0x7ffff7dd6160 <api_main>, the_msg=the_msg@entry=0x304e43c4,
vm=vm@entry=0x7ffff79aa2a0 <vlib_global_main>, node=node@entry=0x7fffb5324000)
at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlibapi/api_shared.c:502
#14 0x00007ffff79b616f in memclnt_process (vm=<optimized out>,
node=0x7fffb5324000, f=<optimized out>) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlibmemory/memory_vlib.c:543
#15 0x00007ffff7755f46 in vlib_process_bootstrap (_a=<optimized out>) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/main.c:1226
#16 0x00007ffff5c63c60 in clib_calljmp () at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vppinfra/longjmp.S:110
#17 0x00007fffb4cfbe20 in ?? ()
#18 0x00007ffff7756e29 in vlib_process_startup (f=0x0, p=0x7fffb5324000,
vm=0x7ffff79aa2a0 <vlib_global_main>) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/main.c:1248
#19 dispatch_process (vm=0x7ffff79aa2a0 <vlib_global_main>, p=0x7fffb5324000,
last_time_stamp=652099886127260, f=0x0) at
/usr/src/1704/VBRASV100R001/vpp1704/build-data/../src/vlib/main.c:1291
#20 0x0000000000000000 in ?? ()
(gdb)
Regards,
Ewan
[email protected]
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev