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

    Queues RRD no plot data / Queues multiple times listed in on status page

    Scheduled Pinned Locked Moved Traffic Shaping
    26 Posts 4 Posters 13.3k 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.
    • M
      manzmarcel
      last edited by

      Hello

      I'm running version 1.2-RC4 and have a strange behaviour with RRD queues (had the same already with RC3).

      • On the queues status page some queues are listed multiple times (see attachment)
      • On the RRD graphs page the queues plots are generated, but do not contain any data (see attachment).

      Actions taken:

      • RRD Database files removed for queues and queues drop & reinitialized, but still the same problem

      Q: Could there be a problem with the queues itself? E.g. why are some queues listed multiple times
      on the status page, for which only 1 per queuename (eg. penaltydown) lists traffic? Probably the RRD graph
      is working well, but somehow takes the 'empty data' from the same queue showing no values.

      I must say that the traffic shaper is working fully normally, besides the behaviour of queues listed multiple times
      on status and empty RRD graphs.

      I would appreciate any help in order to resolve this. If I shall provide any files, please contact me.

      Thanks
      Marcel

      PS: The attached image shows only queues drop on the last queue (this due to the fact that the screenshot was taken shortly after the traffic shaper was reset). In any event the result is the same when other queues have also queue-drops.
      queues_status.jpg
      queues_status.jpg_thumb
      queues_drop.jpg
      queues_drop.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • F
        firestar
        last edited by

        @manzmarcel:

        I'm running version 1.2-RC4 and have a strange behaviour with RRD queues.

        I've been using the embedded one.

        • On the queues status page some queues are listed multiple times (see attachment)

        I haven't this issue.

        • On the RRD graphs page the queues plots are generated, but do not contain any data (see attachment).

        Any advice to solve this issue?

        1 Reply Last reply Reply Quote 0
        • E
          eri--
          last edited by

          Have you customized the shaper yourself after running the wizard, especially queue names?!

          1 Reply Last reply Reply Quote 0
          • F
            firestar
            last edited by

            @eri--:

            Have you customized the shaper yourself after running the wizard, especially queue names?!

            I've done some changes in rules and queues, then I rerun the shaper wizard and I wiped the old config. Is this the cause? What can I do now?

            1 Reply Last reply Reply Quote 0
            • E
              eri--
              last edited by

              Do you have any error messages on the log about rrd?!

              1 Reply Last reply Reply Quote 0
              • F
                firestar
                last edited by

                @eri--:

                Do you have any error messages on the log about rrd?!

                I've just taken a look at System logs and there is nothing strange by filtering "rrd":

                Feb 24 16:52:10 	php: /interfaces_opt.php: Creating rrd update script
                Feb 24 13:44:54 	php: : Creating rrd update script
                Feb 24 13:44:36 	php: : Creating rrd update script
                
                1 Reply Last reply Reply Quote 0
                • E
                  eri--
                  last edited by

                  From the picture you have posted about realtime queue watching(aka Status->queues)
                  It seems that you have not the queues created by the wizard!

                  1 Reply Last reply Reply Quote 0
                  • F
                    firestar
                    last edited by

                    eri,
                    firestar !=  manzmarcel ;D

                    Now I've also noticed that in Queue Status there are some items shown multiple times.
                    What can I do? How can I really wipe Shaper configuration?

                    1 Reply Last reply Reply Quote 0
                    • E
                      eri--
                      last edited by

                      The wizard will wipe your config, be sure of it.

                      From the run commands tab issue:
                      rm /var/db/rrd/queue.rrd

                      and then run the wizard of the traffic shaper again.

                      P.S. Didn't notice the different user posting :)

                      1 Reply Last reply Reply Quote 0
                      • M
                        manzmarcel
                        last edited by

                        Eri,

                        @eri--:

                        From the picture you have posted about realtime queue watching(aka Status->queues)
                        It seems that you have not the queues created by the wizard!

                        In my case I could only use the wizard to generate the initial base configuration. The wizard does not provide me with all the necessary options I require in order to shape additional VLANs etc. That's why I had to manually add queues to the traffic shaper.

                        In any event however, manually added queues should not lead to any of the described problems in pfSense.

                        1 Reply Last reply Reply Quote 0
                        • E
                          eri--
                          last edited by

                          The rrd graphs for queues in 1.2 depend on the names of the queues.
                          It is fixed in upcoming versions.

                          The trick is to use the same name for the queue and add to it at the end 'up' and 'down' in them. Up for wan and down for lan.

                          1 Reply Last reply Reply Quote 0
                          • M
                            manzmarcel
                            last edited by

                            @eri--:

                            The trick is to use the same name for the queue and add to it at the end 'up' and 'down' in them. Up for wan and down for lan.

                            In my configuration I have named the queues already exactly like that (based on the qVOIPUp/qVOIPDown example as generated by the wizard):

                            qVOIPUp   
                            qVOIPDown 
                            qSCINETUp 
                            qSCINETDown 
                            qCLIENTSUp 
                            qCLIENTSDown 
                            qSNUp 
                            qSNDown 
                            qPenaltyUp 
                            qPenaltyDown

                            All the queue names appear in the plot-legend of the RRD graph, but the graph itself doesn't plot any values - unfortunately ;-(

                            1 Reply Last reply Reply Quote 0
                            • E
                              eri--
                              last edited by

                              Then i think you need to remove the rrd queue database:
                              rm /var/db/rrd/queue.rrd

                              1 Reply Last reply Reply Quote 0
                              • M
                                manzmarcel
                                last edited by

                                That doesn't help neither. I've done this already multiple times.

                                I erased the files wan-queues.rrd, wan-queuesdrop.rrd and had them recreated.

                                The problem remains the same all the time. As from the log output, no error is reported while the update script regenerates them.

                                1 Reply Last reply Reply Quote 0
                                • E
                                  eri--
                                  last edited by

                                  Do you see any traffic from Status->Queues passing on queues?!

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    manzmarcel
                                    last edited by

                                    Absolutely. See my first two screenshots on the first posting.

                                    For some reason the queues appear on the status page up to 3 times the same (as user firestar is also seeing it).

                                    I assume there must be some kind of error here, as the RRD plot might simply take the null values of a such 'multiple listed' queue, for which only one shows values, whereas the other bars remain on 0.

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      eri--
                                      last edited by

                                      Then you have a corrupted config mostly.

                                      Check it by getting your config.xml and verify it is not corrupted.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        manzmarcel
                                        last edited by

                                        I have just checked the config.xml and it looks fine to me (queues are correctly listed once there, as seen in traffic shaper web gui).

                                        Have no clue why they show multiple times on status page. Are queues / rrd config exported to some other config files, so I could check them as well?

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          firestar
                                          last edited by

                                          @eri--:

                                          The rrd graphs for queues in 1.2 depend on the names of the queues.
                                          It is fixed in upcoming versions.

                                          What do you mean for 'upcoming versions': 1.3 or final 1.2?
                                          Has the final 1.2 version this fix?

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            eri--
                                            last edited by

                                            It is not an issue on pfSense.
                                            It is just your issue. For upcoming i say that the rrd building does not depend on names that's all.

                                            Please post an output of pfctl -vsq a screen shot from Status->queue and an output from running /var/db/rrd/update.sh or updatedb.sh

                                            Thx.

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