Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SG1100 - Disk Full - Help

    Scheduled Pinned Locked Moved General pfSense Questions
    16 Posts 3 Posters 1.6k Views 3 Watching
    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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      That's the normal system logging not the logs from the syslog-ng package which I believe was the problem here. There is no gui setting for the log file size there.

      Steve

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Adrianoebm @stephenw10
        last edited by

        @stephenw10 you are right, i didn't find this option under syslog-ng settings and i can't figure out why our files are so huge.
        Answering your question we have 5 ipsecs, one openvpn, zabbix package, syslog-ng and watchdog.

        1 Reply Last reply Reply Quote 0
        • A Offline
          Adrianoebm @Gertjan
          last edited by

          @gertjan nice graphics is it Zabbix?

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG Offline
            Gertjan @Adrianoebm
            last edited by

            @adrianoebm Munin.

            @adrianoebm said in SG1100 - Disk Full - Help:

            i can't figure out why our files are so huge

            Euh .... 😊

            Read the log files ? They are there to be read by you. If not, why logging in the first place ? ( why installing syslog-ng ? ) When you read them, one of the first things you'll know is : who fills them up.
            Processes inform the admin in real time what they are doing. They don't use the screen, but a log file.
            Up to you to decide what gets logged. For every process.
            Up to you to decide when to throw away the logs, or use a tool to deal with them, by sending them to a long storage device (NAS, another syslog server, to rotate them etc).

            Just IMHO : the log files are the most important files on systems like pfSense.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            A 1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              I would guess it's because you're sending all firewall logs to it and logging all blocked traffic on WAN. That can be a lot of logs!

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Adrianoebm @stephenw10
                last edited by

                @stephenw10 These are the settings that our SOC suggests.
                c763150b-8585-4a27-b0f2-89ae2db02de1-image.png
                Last week they disable de vpn events too in order to reduce the file size.
                Instead of racking my brain trying to understand why it fills the disk or not, I configured our zabbix to send us alerts via Telegram when the reamaining space is 20%, apparently it's under control now.
                It wasn't exactly clear to me how to limit the file size in syslog-ng but it´s ok.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Adrianoebm @Gertjan
                  last edited by

                  @gertjan Our SOC says they read the logs but they can´t figure out why sometimes these files reaches 8GB.

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG Offline
                    Gertjan @Adrianoebm
                    last edited by

                    @adrianoebm

                    By looking at the logs, one of the first things you'll find out is : what's in them.

                    Just an example :

                    Check this option :

                    694d9a93-6eba-4170-a75c-dc6dbc5db84f-image.png

                    From now on, every blocked pcket on your WAN will get logged.
                    Don't be surprised to see hundreds of logs lines per second .....

                    I know, this is a silly example. But as any other log line, easy to recognize.

                    If, for any reason, the content of the log files is totally non-comprehensible, you might consider stopping logging al together. That would solve the issue.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    A 1 Reply Last reply Reply Quote 1
                    • A Offline
                      Adrianoebm @Gertjan
                      last edited by

                      @gertjan I definitely agree with you. :)

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator
                        last edited by

                        @gertjan said in SG1100 - Disk Full - Help:

                        By looking at the logs, one of the first things you'll find out is : what's in them.

                        Yeah, if those are the things you're sending then it's almost certainly the firewall logs filling it.

                        Really you should not be storing that data on the eMMC in an 1100. Apart from anything else you are going to be significantly increasing the write wear on the storage. That level of logging should be exported off he firewall to a dedicated log server.
                        It could be that is what's intended and it's storing them locally unintentionally.

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.