Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Developer)
  3. How can I increase the rate limits of the firewall rules?

How can I increase the rate limits of the firewall rules?

Scheduled Pinned Locked Moved WordPress (Developer)
firewallnetworkingwp rocketwordpress
13 Posts 3 Posters 2.1k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG girish

    @vova Let me double check but Cloudron has no rate limits for outbound connections. Only for incoming connections. If it's interesting, the full firewall and rate limits are here - https://git.cloudron.io/cloudron/box/-/blob/master/setup/start/cloudron-firewall.sh

    V Offline
    V Offline
    vova
    wrote on last edited by
    #4

    @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.

    girishG 1 Reply Last reply
    0
    • V vova

      @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.

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #5

      @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?

      V 1 Reply Last reply
      0
      • girishG girish

        @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?

        V Offline
        V Offline
        vova
        wrote on last edited by
        #6

        @girish It is a Cloudron app - Wordpress unmanaged. I will check the log message.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          Vladimir
          wrote on last edited by Vladimir
          #7

          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.

          https://gofile.io/d/NLV3Ss

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #8

            @Vladimir Quick question: so if you upload something from the server to your main destination (any random data), is it fast? How about if you upload the same data via the Web Terminal of the app?

            V 1 Reply Last reply
            0
            • girishG girish

              @Vladimir Quick question: so if you upload something from the server to your main destination (any random data), is it fast? How about if you upload the same data via the Web Terminal of the app?

              V Offline
              V Offline
              Vladimir
              wrote on last edited by
              #9

              @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.

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #10

                @Vladimir Can you send me a mail on support@cloudron.io? Let's try to figure where it's failing.

                V 1 Reply Last reply
                0
                • girishG girish

                  @Vladimir Can you send me a mail on support@cloudron.io? Let's try to figure where it's failing.

                  V Offline
                  V Offline
                  Vladimir
                  wrote on last edited by
                  #11

                  @girish I have send an email (v.evtimov.beta). Thanks!

                  girishG 1 Reply Last reply
                  0
                  • V Vladimir

                    @girish I have send an email (v.evtimov.beta). Thanks!

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #12

                    @Vladimir Got the mail, will follow up there. Thanks.

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #13

                      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.

                      1 Reply Last reply
                      4
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search