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

    syslog-ng cpu 100%

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 1 Posters 654 Views
    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.
    • vallumV
      vallum
      last edited by

      Hi All,
      Storing last 6 months syslog-ng logs in compressed form , once i navigate to services and click on syslog-ng , it tries to sort log files and consumes all RAM and only option is to kill "sort" process using shell or reboot in most of the cases if server stops responding. there should be settings page on first click of syslog-ng service or disable log view through GUI option given to user. please suggest

      Manu

      vallumV 1 Reply Last reply Reply Quote 0
      • vallumV
        vallum @vallum
        last edited by

        @rootvallum said in syslog-ng cpu 100%:

        Storing last 6 months syslog-ng logs in compressed form , once i navigate to services and click on syslog-ng , it tries to sort log files and consumes all RAM and only option is to kill "sort" process using shell or reboot in most of the cases if server stops responding. there should be settings page on first click of syslog-ng service or disable log view through GUI option given to user. please suggest

        Even after removing all Compressed files, same issue.
        default.log is approx 12 Gb on daily basis .
        @jimp can you guide please.

        Manu

        1 Reply Last reply Reply Quote 0
        • vallumV
          vallum
          last edited by

          Able to fix this by changing syslog-ng.inc
          $conf .= "{\n";
          $conf .= "\tmaxsize 1024M\n";
          $conf .= "\trotate $max_archives\n";
          $conf .= "\t$archive_frequency\n";

          Manu

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