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

    Jul 9 01:56:43 kernel: 603.390440 [3911] netmap_transmit em1 full hwcur 221 hwtail 95 qlen 125

    Scheduled Pinned Locked Moved IDS/IPS
    2 Posts 1 Posters 125 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.
    • Cool_CoronaC
      Cool_Corona
      last edited by

      I got these randomly but very often seconds apart.

      I scratched my head with this because I only got it on em1 and not em0 as well.

      I have Suricata running inline on both.

      This is my loader.conf

      kern.cam.boot_delay="10000"
      kern.ipc.nmbclusters="2000000"
      kern.ipc.nmbjumbop="524288"
      kern.ipc.nmbjumbo9="524288"
      dev.em.0.fc="0"
      dev.em.1.fc="0"
      dev.netmap.buf_size="16384"
      autoboot_delay="3"
      hw.usb.no_pf="1"
      net.pf.request_maxcount="2000000"

      After I changed this; dev.netmap.buf_size="16384" from "2048" to first "4096" to no avail, I upped it to "8192".

      That made the netmap become less frequent. I upped it once again to "16384" and so far so good.

      No errors in the logs and on the console so far.

      1 Reply Last reply Reply Quote 0
      • Cool_CoronaC
        Cool_Corona
        last edited by

        I was a little to hasty.

        Errors coming again...

        Despite changing the dev.netmap.buf_size="16384"

        Output of sysctl -a | grep netmap still looks the same and no change to any values.

        Its like its hardcoded and cant be changed??

        device netmap
        dev.netmap.ixl_rx_miss_bufs: 0
        dev.netmap.ixl_rx_miss: 0
        dev.netmap.iflib_rx_miss_bufs: 0
        dev.netmap.iflib_rx_miss: 0
        dev.netmap.iflib_crcstrip: 1
        dev.netmap.bridge_batch: 1024
        dev.netmap.default_pipes: 0
        dev.netmap.priv_buf_num: 4098
        dev.netmap.priv_buf_size: 2048
        dev.netmap.buf_curr_num: 163840
        dev.netmap.buf_num: 163840
        dev.netmap.buf_curr_size: 2048
        dev.netmap.buf_size: 2048
        dev.netmap.priv_ring_num: 4
        dev.netmap.priv_ring_size: 20480
        dev.netmap.ring_curr_num: 200
        dev.netmap.ring_num: 200
        dev.netmap.ring_curr_size: 36864
        dev.netmap.ring_size: 36864
        dev.netmap.priv_if_num: 2
        dev.netmap.priv_if_size: 1024
        dev.netmap.if_curr_num: 100
        dev.netmap.if_num: 100
        dev.netmap.if_curr_size: 1024
        dev.netmap.if_size: 1024
        dev.netmap.ptnet_vnet_hdr: 1
        dev.netmap.generic_rings: 1
        dev.netmap.generic_ringsize: 1024
        dev.netmap.generic_mit: 100000
        dev.netmap.generic_hwcsum: 0
        dev.netmap.admode: 0
        dev.netmap.fwd: 0
        dev.netmap.txsync_retry: 2
        dev.netmap.mitigate: 1
        dev.netmap.no_pendintr: 1
        dev.netmap.no_timestamp: 0
        dev.netmap.verbose: 0
        dev.netmap.ix_rx_miss_bufs: 0
        dev.netmap.ix_rx_miss: 0
        dev.netmap.ix_crcstrip: 0

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