Hi Chinmaya Aggarwal,
I can see the "vec_resize_allocate_memory" api in the above stack and you
are telling that  after 7k tunnels this issue is seen.
I suspect this issue could be due to memory exhaust in the system.

Can you please increase heapsize and statseg size in startup.conf file and
check once.

Thanks and regards,
Sudhir



On Thu, Dec 8, 2022 at 4:25 AM Chinmaya Aggarwal <chinmaya.agar...@hsc.com>
wrote:

> Hi,
>
> As per our use case, we need to have a large number of ipip tunnels in VPP
> (approx 10000). When we try to configure that many tunnels inside VPP,
> after a certain limit it crashes with below core dump:-
>
> Dec 07 20:01:27 j3norvmstm01 vpp[2053130]: ipipCouldn't create
> /tmp/api_post_mortem.2053130
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: received signal SIGABRT, PC
> 0x7f019f8e537f
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #0  0x00007f01a0b3ef0b
> 0x7f01a0b3ef0b
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #1  0x00007f01a0478c20
> 0x7f01a0478c20
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #2  0x00007f019f8e537f gsignal
> + 0x10f
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #3  0x00007f019f8cfdb5 abort +
> 0x127
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #4  0x000055ca1a5f60e3
> 0x55ca1a5f60e3
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #5  0x00007f01a0006065
> vec_resize_allocate_memory + 0x285
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #6  0x000055ca1a5f6cb0
> 0x55ca1a5f6cb0
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #7  0x000055ca1a5f97f8
> 0x55ca1a5f97f8
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #8  0x000055ca1a5faf09
> 0x55ca1a5faf09
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #9  0x00007f01a10adefa
> 0x7f01a10adefa
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #10 0x00007f01a10b263d
> vnet_register_interface + 0x6ed
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #11 0x00007f01a1415094
> ipip_add_tunnel + 0x2c4
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #12 0x00007f01a141a4f0
> 0x7f01a141a4f0
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #13 0x00007f01a0acdb82
> 0x7f01a0acdb82
> Dec 07 20:01:27 j3norvmstm01 vnet[2053130]: #14 0x00007f01a0acdce7
> 0x7f01a0acdce7
> Dec 07 20:01:27 j3norvmstm01 vpp[2053130]: Couldn't create
> /tmp/api_post_mortem.2053130
>
> It is able to create only 7362 tunnels and after that VPP crashes.
>
> What could be the possible reason for this crash? Also, is there any limit
> on the number of ipip tunnels (or interface created corresponding to ipip
> tunnels) in VPP?
>
> Thanks and Regards,
> Chinmaya Agarwal.
>
> 
>
>

-- 
NOTICE TO
RECIPIENT This e-mail message and any attachments are 
confidential and may be
privileged. If you received this e-mail in error, 
any review, use,
dissemination, distribution, or copying of this e-mail is 
strictly
prohibited. Please notify us immediately of the error by return 
e-mail and
please delete this message from your system. For more 
information about Rtbrick, please visit us at www.rtbrick.com 
<http://www.rtbrick.com>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22301): https://lists.fd.io/g/vpp-dev/message/22301
Mute This Topic: https://lists.fd.io/mt/95527187/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to