pfSense Gold Subscription

Author Topic: Snort in 2.4 - High CPU utilization  (Read 195 times)

0 Members and 1 Guest are viewing this topic.

Offline mindframe

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Snort in 2.4 - High CPU utilization
« on: October 24, 2017, 11:34:10 am »
Snort is utilizing increasingly high CPU% since upgrading to 2.4

Current utilization w/ <2 mbps traffic and 2 days of uptime:
The WAN Snort interface is utilizing 50-80% CPU
LAN is utilizing 40-50%
VPN snort interface is using very low amount(low traffic)

After restarting the Snort service the CPU utilization becomes:
WAN: 1-10-%
LAN: 10-20%
However, the utilization steadily increases over time.

Admittedly I never monitored Snort resource utilization before the upgrade so I don't know if this is normal.

It seems like the CPU utilization would correlate with the amount of traffic traversing the interface, but this is not the case.

Is anyone else having this issue?
« Last Edit: October 24, 2017, 12:35:10 pm by mindframe »

Offline belt9

  • Full Member
  • ***
  • Posts: 233
  • Karma: +24/-6
    • View Profile
Re: Snort in 2.4 - High CPU utilization
« Reply #1 on: October 24, 2017, 05:27:20 pm »
No one can tell you if that's normal without knowing bandwidth, CPU, and ruleset.

You've got 1 of 3, let us know the other 2 pieces and we can help more.

It also depends on what kind of traffic traverses the network.

If you're running 2mbps of traffic through a long list of complex rules then you could significantly tax even a powerful CPU.

Conversely, if you're using an old atom even a very light ruleset would bring it to its knees.