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

    pfSense vm is crashing and taking down the host as well.

    Scheduled Pinned Locked Moved Virtualization
    5 Posts 2 Posters 673 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.
    • S
      simfony
      last edited by

      I'm running pfSense in kvm under an ubuntu 20.04 box with a ryzen 1500x. However, it crashes very often, and often brings the host down with the vm as well, and I have to hold down the power button to force my server to restart. I have tried changing the memory, but that didn't help at all.

      Here are the logs: textdump.tar.txt, info.txt

      This is my first post here, so if I put this in the wrong place or didn't give enough information please move it/tell me.

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Would be more like the host is having issues/crashing and taking down the vms.. If a vm crashing would take down the host, then VMs would be utterly useless..

        Are you passing hardware directly to the VM? Like a nic or video card, usb, etc.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • S
          simfony
          last edited by

          I couldn't find any crash logs on the host, so I just assumed it would be the VM. Also, when I wasn't running the pfSense VM, my host wasn't crashing. I am passing 3 out of 4 nic ports on an intel nic directly into pfsense, nothing else. Do I need to post any more logs?

          Thanks

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Well when you pass hardware to a vm, then yeah ok.. something going wrong with the VM could effect the host.

            There really is little point to passing the nic to the VM.. Just let the vm use a virtual nic that is bridged to the physical nic. Your not going to see any sort of performance issues doing it that way.. And allows for much better control and flexibility.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • S
              simfony
              last edited by

              OK I'll try that, thanks. Just because I'm curious, how will using a virtual nic allow for more control+ flexibility?

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