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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    High CPU usage & service abuse

    AdGuard Home
    6
    13
    97
    Loading More Posts
    • 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.
    • doodlemania2
      doodlemania2 App Dev @robi last edited by

      @robi yikes! good luck sir

      1 Reply Last reply Reply Quote 0
      • robi
        robi last edited by robi

        036faf05-9a38-4cbe-8ddc-ba441fa524f5-image.png
        impressive. no wonder backup failed.

        -rw-r--r-- 1 root root 237376357024 Jan  1 22:23 querylog.json
        

        human readable:

        -rw-r--r-- 1 root root 222G Jan  1 22:23 querylog.json
        
        imc67 girish 2 Replies Last reply Reply Quote 0
        • imc67
          imc67 @robi last edited by imc67

          @robi it's a serious issue you have (think of IP reputation!) but it was also mentioned before:

          https://forum.cloudron.io/topic/3840/adguard-on-upcoming-cloudron-v6-ddos-reflection-amplification

          And it's in the docs:

          https://docs.cloudron.io/apps/adguard-home/#securing-installation

          I think DDNS doesn't work because you have to add an IP in AdGuard, I have the same issue with my home connection, that's why I don't use AdGuard in my personal Cloudron. I run Pi-Hole in my home network on a Raspberry Pi.

          1 Reply Last reply Reply Quote 2
          • girish
            girish Staff @robi last edited by

            @robi Can you check what is taking so much space? Is this log files?

            doodlemania2 1 Reply Last reply Reply Quote 0
            • doodlemania2
              doodlemania2 App Dev @girish last edited by

              @girish yeah, the querylog was 222gigs eeeeek!

              girish robi 2 Replies Last reply Reply Quote 0
              • atrilahiji
                atrilahiji App Dev @robi last edited by

                @robi Does your VPS provider not let you block port 53? Or do you need it to be accessible externally?

                T 1 Reply Last reply Reply Quote 0
                • T
                  thpuffin @atrilahiji last edited by

                  @atrilahiji I might be wrong about this but I think port 53 needs to be used to resolve DNS, and since @robi mentioned that he installed it on a business VPS it has to be publicly accessible for it to function. If it were a homelab would this be less of an issue?

                  robi 1 Reply Last reply Reply Quote 0
                  • robi
                    robi @thpuffin last edited by

                    @thpuffin @atrilahiji it would not be an issue because of NAT at home.

                    1 Reply Last reply Reply Quote 0
                    • girish
                      girish Staff @doodlemania2 last edited by

                      @doodlemania2 I decreased the query log retention from 90 days to 7 days as the default. But depending on the use case, it can be disabled altogether in the settings file.

                      1 Reply Last reply Reply Quote 0
                      • robi
                        robi @doodlemania2 last edited by

                        @doodlemania2
                        Thanks to rclone I uploaded all 222GB to my Google Drive in less then a couple hours. (didn't time it, but expected it to be much longer.)

                        VPS is on a 200mbit line last time I checked, so could be under an hour.
                        If only we had network graph stats.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post