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

    Potential bug in advanced setting not being saved

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 601 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.
    • JeGrJ
      JeGr LAYER 8 Moderator
      last edited by

      Hi,

      just updated a customer system to 23.05 today and checked its advanced options under "System > Advanced". As that customer is pretty active in the WebUI we set the NGINX thread from 2 to 5 on the old system with 22.05. But setting that wouldn't save. Tried multiple times with no result, after saving and "redirecting" even when not changing the HTTPS port etc. the system shows "2" for "Max processes".

      So I checked the config.xml and found the entry under <webgui> for max_procs to be empty instead of showing 2 or 5. I assume somehow the value saved from the UI isn't correctly saved into that XML value so simply pops back to the default which is 2.

      So I checked another system that was upgraded from 23.01 and it's the same behavior the other way round: the system now has "5" which it has read from the config.xml correctly (from before) and trying to change it to 2 or 10 (just as an example) results in it hopping back to the 5 from the config, so it definetly seems as the value won't get written into the config.xml correctly.

      Cheers
      \jens

      Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

      M 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @JeGr
        last edited by

        @JeGr Confirmed. I set it to 10 but when I go back into the setting its set to my original pre 23.05 value of 4.

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        1 Reply Last reply Reply Quote 0
        • bmeeksB
          bmeeks
          last edited by bmeeks

          @jimp has already created a patch for this here: https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/073a6baceffc4a363eac9369cc036fc7b19b919e. The original Redmine ticket is here: https://redmine.pfsense.org/issues/14425#change-67694.

          I suspect you can apply the patch using the System Patches package.

          M JeGrJ 2 Replies Last reply Reply Quote 1
          • M
            michmoor LAYER 8 Rebel Alliance @bmeeks
            last edited by

            @bmeeks Confirmed. Patch fixes the issue.

            Firewall: NetGate,Palo Alto-VM,Juniper SRX
            Routing: Juniper, Arista, Cisco
            Switching: Juniper, Arista, Cisco
            Wireless: Unifi, Aruba IAP
            JNCIP,CCNP Enterprise

            1 Reply Last reply Reply Quote 1
            • JeGrJ
              JeGr LAYER 8 Moderator @bmeeks
              last edited by

              @bmeeks said in Potential bug in advanced setting not being saved:

              @jimp has already created a patch for this here: https://redmine.pfsense.org/projects/pfsense/repository/2/revisions/073a6baceffc4a363eac9369cc036fc7b19b919e. The original Redmine ticket is here: https://redmine.pfsense.org/issues/14425#change-67694.

              I suspect you can apply the patch using the System Patches package.

              Thanks a lot, I missed that one :)

              Don't forget to upvote ๐Ÿ‘ those who kindly offered their time and brainpower to help you!

              If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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