How can I increase the rate limits of the firewall rules?
-
@girish said in How can I increase the rate limits of the firewall rules?:
Only for incoming connections
Thank you. The connections are incoming, I think. We send packets from server 1 to server 2 (server 2 is where Cloudron is). The packets are product data like updated prices, discounts, quantities (100 products per packet), and the packet is 40-50kb, the total number of products is ~4100.
-
@vova So, it's coming to a Cloudron app (if so which app is this?) or some program you have installed external to Cloudron? If it's related to cloudron firewall, you will see a log message in
dmesg
(https://git.cloudron.io/cloudron/box/-/blob/master/setup/start/cloudron-firewall.sh#L55). There will be a "IPTables RateLimit" log message. Do you see something like that? -
Hello, I had to replay from this profile (in my office) as I forgot which email I have used for the other profile at home
Anyway, please find the log below - I can't exactly see IPTables RateLimit, but I see some drops which maybe are some limits also? This log is when we try to send 100 product data per batch - it gives an error at 100-200. When we send 50 products data per batch it is okay but kinda slow.
-
@girish Since yesterday we can't even send 50 products per batch (which is 30-40kb) without an error - it is super slow and there is a timeout error. We have tried to send very small data (the data for only 1 product, which is under 0,7kb) and there was an error again.
-
Follow up from the customer: "The issue here turned out to be that in Wordpress, WP Rocket caching plugin was used. This plugin automatically starts to preload the cache of each page once something in the site has been updated. The preload itself causes some stress on the CPU and maybe some other processes. Turning off the plugin, the products were sent for less than 2 mins."
They are working with the WP Rocket team to find a workaround.