ipfixcol2 icon indicating copy to clipboard operation
ipfixcol2 copied to clipboard

high receive queue buffer and udp drop issue

Open Seylul opened this issue 2 months ago • 3 comments

"Hi, When i run this appliation with high traffic , i see udp errors above 14M written line count. I added the ring buffer parameter and run again but nothing change. I don't see interface drop , i dont see high memory usage , i see disj i/o only 200 MBs and its normal for my server. How can i decrease this udp error. I use json plugin for output like this.

<ipfixcol2>
  <!-- Input plugins -->
  <inputPlugins>
    <input>
      <verbosity>debug</verbosity>
      <name>UDP input - 1234</name>
      <plugin>udp</plugin>
      <params>
        <localPort>1234</localPort>
        <localIPAddress></localIPAddress>
        <!-- Optional parameters -->
        <connectionTimeout>600</connectionTimeout>
        <templateLifeTime>600</templateLifeTime>
        <optionsTemplateLifeTime>600</optionsTemplateLifeTime>
      </params>
    </input>
  </inputPlugins>

  <!-- Output plugins -->
  <outputPlugins>
    <output>
      <name>JSON output</name>
      <plugin>json</plugin>
      <params>
        <tcpFlags>formatted</tcpFlags>
        <timestamp>unix</timestamp>
        <protocol>formatted</protocol>
        <ignoreUnknown>false</ignoreUnknown>
        <ignoreOptions>false</ignoreOptions>
        <nonPrintableChar>true</nonPrintableChar>
        <octetArrayAsUint>true</octetArrayAsUint>
        <numericNames>false</numericNames>
        <splitBiflow>false</splitBiflow>
        <detailedInfo>true</detailedInfo>
        <templateInfo>false</templateInfo>

        <outputs>
          <!-- Choose one or more of the following outputs -->
          <file>
            <name>Store to files</name>
            <path>local_path/</path>
            <prefix>path_1234_</prefix>
            <timeWindow>60</timeWindow>
            <timeAlignment>yes</timeAlignment>
            <compression>none</compression>
          </file>
        </outputs>
      </params>
    </output>
  </outputPlugins>
</ipfixcol2>

Seylul avatar Oct 29 '25 09:10 Seylul