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

    Mbuf RRD graphs

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 1.4k 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.
    • W
      wallabybob
      last edited by

      I'm running

      2.1-RC0 (i386)
      built on Sun Jul 21 09:48:24 EDT 2013
      FreeBSD 8.3-RELEASE-p8

      The system log reports

      Aug  1 19:34:09 pfsense2 php: rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-mbuf.rrd N:U:U:U:U:U' returned exit code '1', the output was 'ERROR: expected 4 data source readings (got 5) from N:U:U:U:U:U'

      Looking through /etc/inc/rrd.inc, perhaps```
                              mwexec("$rrdtool update $rrddbpath$ifname$mbuf N:U:U:U:U:U");

      
      In file /var/db/rrd/updaterrd.sh I notice the mbuf RRD file holds mbuf cluster data. The corresponding graph is selected by "Mbuf". This is misleading because mbufs are not the same as mbuf clusters. Both are important for networking.
      
      I think the optimum solution is probably to record data for BOTH mbufs and mbuf clusters and use the correct label for selection of the appropriate graph. Having opened up the discussion about the mbuf graphs, I think it would also be useful to record the corresponding allocation denials but since this number can increase indefinitely its not immediately clear to me what form of it to use to avoid distorting the graphs. Even "denials in the last minute" could be a large number.
      
      At the least, the existing mbuf graphs should be selected by "Mbuf clusters" rather than "Mbufs".
      
      In the interest of ease of ongoing software maintenance the name of the file holding mbuf clusters data should be changed o reflect the fact it holds mbuf clusters data rather than mbufs data, for example from system-mbuf.rrd to system-mbuf-cl.rrd.
      1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance
        last edited by

        You are late  ;D  (at least about the "error" message part)

        http://forum.pfsense.org/index.php/topic,64558.msg352036.html#new

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