Skip to content

high receive queue buffer and udp drop issue #122

@Seylul

Description

@Seylul

"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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions