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

Packet Capture Causes GUI Error?

Scheduled Pinned Locked Moved General pfSense Questions
6 Posts 2 Posters 701 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.
  • G
    guardian Rebel Alliance
    last edited by Dec 28, 2018, 2:28 PM

    I decided to leave a packet capture running for a few days, and when I hit stop I got the following:

    Crash report begins.  Anonymous machine information:
    
    amd64
    11.2-RELEASE-p4
    FreeBSD 11.2-RELEASE-p4 #2 b00c407ba5d(RELENG_2_4_4): Mon Nov 26 11:41:48 EST 2018     root@buildbot2.nyi.netgate.com:/build/ce-crossbuild-244/obj/amd64/ZfGpH5cd/build/ce-crossbuild-244/pfSense/tmp/FreeBSD-src/sys/pfSense
    
    Crash report details:
    
    PHP Errors:
    [27-Dec-2018 19:35:43 America/Toronto] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 532692992 bytes) in /usr/local/www/diag_packet_capture.php on line 541
    [27-Dec-2018 19:35:43 America/Toronto] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 532676888 bytes) in Unknown on line 0
    
    
    
    No FreeBSD crash data found.
    

    I was able to download the packet capture by clicking download, but I would think this initial error condition should be handled a bit more gracefully??

    I thought I should post this for what it is worth.

    If you find my post useful, please give it a thumbs up!
    pfSense 2.7.2-RELEASE

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Dec 30, 2018, 8:36 PM

      What size was the actual capture file?

      Steve

      G 1 Reply Last reply Dec 31, 2018, 6:26 AM Reply Quote 0
      • G
        guardian Rebel Alliance @stephenw10
        last edited by Dec 31, 2018, 6:26 AM

        @stephenw10 said in Packet Capture Causes GUI Error?:

        What size was the actual capture file?

        Steve
        Hi @stephenw10 - 6.1 GB (6,056,675,573 bytes). After the error, I was able to click the download button and download the file.

        If you find my post useful, please give it a thumbs up!
        pfSense 2.7.2-RELEASE

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Dec 31, 2018, 11:31 AM

          Hmm, yeah that would do it!

          I guess there could be some checking to prevent it trying to display large pcaps. Maybe default the detail level to 'None' or something similar.

          Have you opened that as a feature request or bug report on redmine? I don't see anything at a quick look.

          Steve

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by Dec 31, 2018, 5:19 PM

            I created a bug to track it: https://redmine.pfsense.org/issues/9239

            G 1 Reply Last reply Jan 2, 2019, 7:34 PM Reply Quote 1
            • G
              guardian Rebel Alliance @stephenw10
              last edited by guardian Jan 2, 2019, 7:35 PM Jan 2, 2019, 7:34 PM

              @stephenw10 said in Packet Capture Causes GUI Error?:

              I created a bug to track it: https://redmine.pfsense.org/issues/9239

              Thanks for doing that-Great job of writing up!
              (Not sure if its worth suggesting, but another possible solution might be to cut the output at some predefined number rather than none. Might also be easier to code as it wouldn't be necessary to create a "None" option. If you think the idea has merit please add to you report.)

              Thanks again for creating the report!

              If you find my post useful, please give it a thumbs up!
              pfSense 2.7.2-RELEASE

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received