Starting vtysh in a system with ulimit unlimited, results in a memory allocation error.
This case is different from #15280 because vtysh does not recognize --limit-fds
Hello, this is FRRouting (version 9.1).
Copyright 1996-2005 Kunihiro Ishiguro, et al.
2024/02/06 20:42:47 out of memory: failed to allocate 8589934528 bytes for Thread Poll Info object
2024/02/06 20:42:47 No backtrace available on this platform.
log: showing active allocations in memory group vtysh
log: showing active allocations in memory group libfrr
log: memstats: Buffer : 2 * 24
log: memstats: Host config : 5 * (variably sized)
log: memstats: Command Tokens : 6250 * 72
log: memstats: Command Token Text : 4126 * (variably sized)
log: memstats: Command Token Help : 4126 * (variably sized)
log: memstats: Command Argument Name : 1262 * (variably sized)
log: memstats: Graph : 26 * 8
log: memstats: Graph Node : 7173 * 32
log: memstats: Hash : 54 * (variably sized)
log: memstats: Hash Bucket : 1650 * 32
log: memstats: Hash Index : 27 * (variably sized)
log: memstats: Link List : 4 * 40
log: memstats: Link Node : 29 * 24
log: memstats: Temporary memory : 1 * (variably sized)
log: memstats: Thread master : 2 * (variably sized)
log: memstats: Vector : 14400 * 24
log: memstats: Vector index : 14400 * (variably sized)
log: memstats: VTY : 2 * (variably sized)
log: showing active allocations in memory group logging subsystem
Aborted (core dumped)
Versions
OS Version: Alpine Linux v3.19.1 dockerized on Rocky Linux 9.3 (Blue Onyx) / Docker version 24.0.7, build afdd53b
Kernel: 5.14.0-362.13.1.el9_3.x86_64
FRR Version: 9.1 configured with:
Starting
vtysh
in a system with ulimit unlimited, results in a memory allocation error. This case is different from #15280 becausevtysh
does not recognize--limit-fds
Versions OS Version: Alpine Linux v3.19.1 dockerized on Rocky Linux 9.3 (Blue Onyx) / Docker version 24.0.7, build afdd53b Kernel: 5.14.0-362.13.1.el9_3.x86_64 FRR Version: 9.1 configured with: