Description | This article describes how to fine-tune the TCP buffer size. |
Scope | FortiWeb. |
Solution |
FortiWeb provides a way to improve TCP transmission performance by adjusting the buffer parameter of TCP connections through the CLI over high-bandwidth, high-latency networks. When dealing with large file transmissions (usually larger than 150MB) or traffic congestion between FortiWeb and backend servers, clients may experience poor TCP performance.
To avoid it, execute the below commands.
config system network-option
To control memory usage, the tcp-buffer option in the system network option defines the TCP_mem variable, which is made up of three values measured in memory pages:
It is possible to change settings from the CLI of FortiWeb with these three values:
Note: Modifying the TCP buffer size may increase device memory utilization, but the memory will be released after the proxy processes the data. Changing the TCP buffer can also optimize device throughput.
Related documents: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.