mem_tracking_flow
— the amount of memory allocated for processing IPv4 flow when SSG starts./var/log/dpi/fastdpi_stat.log
(as described here). If the pool is exhausted, SSG will no longer be able to process new flows.mem_preset
— the method of memory initialization in DPI.mem_preset=1
in the /etc/dpi/fastdpi.conf
file allows DPI to initialize almost all allocated memory at the start of the process. This prevents the growth of resident memory (RES) during operation, as the memory is fully initialized immediately. However, this mode slows down the system start and requires a sufficient amount of physical RAM. It is recommended to take this factor into account and monitor the consumption of virtual (VIRT) and resident (RES) memory.mem_ssl_parsers
— the amount of memory allocated for SSL processing when SSG starts./var/log/dpi/fastdpi_slave_*.log
such as: [ERROR ][000000118902699100][042E5F001EF5C480] Can't allocate record ssl_state : IP : <IP:port> --> <IP:port> [ERROR ][000000118902954180][042E5F001EF5C50B] Can't allocate record ssl_state_sni : IP : <IP:port> --> <IP:port>
A lack of SSL parsers can lead to problems in processing HTTPS traffic (which may affect filtering by RKN lists).
If such errors occur, it is recommended to increase the mem_ssl_parsers
value by 1.5 - 2 times (considering the amount of free RAM).