# Suricata packet loss

**URL:** <https://forum.suricata.io/t/suricata-packet-loss/1289>\
**Category:** Help\
**Tags:** community\
**Created:** [April 14, 2021, 9:11am UTC](https://forum.suricata.io/t/suricata-packet-loss/1289 "2021-04-14T09:11:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![headfish](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/headfish/32/275_2.png) [@headfish](https://forum.suricata.io/u/headfish)\
**Post date:** [April 14, 2021, 9:11am UTC](https://forum.suricata.io/t/suricata-packet-loss/1289/1 "2021-04-14T09:11:27Z")

</div>

I installed suricata on my server and activated about 2000 rules.

 ![image 11](https://canada1.discourse-cdn.com/flex030/uploads/suricata/original/1X/87e5e2689f3d843fd4d459e4ac06ecf6040ec1d8.png)  
When checking htop, CPU and RAM are free, but packet loss is still occurring.

Server Model: PowerEdge R740xd  
CPU: Intel(R) Xeon(R) Gold 6238 CPU @ 2.10GHz(44 core)  
RAM: 64 GB  
NIC: NetXtreme BCM5720  
AFPacet …

CPU and RAM are also available. What is the reason for packet loss and where should I fix it?

Moloch is also installed on the server, but packet loss does not occur in Moloch.

---

<div class="post-metadata">

**Author:** ![suricatalfon](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/suricatalfon/32/385_2.png) [@suricatalfon](https://forum.suricata.io/u/suricatalfon)\
**Post date:** [April 14, 2021, 10:47am UTC](https://forum.suricata.io/t/suricata-packet-loss/1289/2 "2021-04-14T10:47:28Z")

</div>

Hello,

See if this discussion can help you:

> [@Suricata 6.0.1 high packet loss](https://forum.suricata.io/t/suricata-6-0-1-high-packet-loss/982/17):
>
> Glad to hear the new release has a positive impact. Thank you for your feedback!

---

<div class="post-metadata">

**Author:** ![headfish](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/headfish/32/275_2.png) [@headfish](https://forum.suricata.io/u/headfish)\
**Post date:** [April 15, 2021, 4:36am UTC](https://forum.suricata.io/t/suricata-packet-loss/1289/3 "2021-04-15T04:36:59Z")

</div>

I updated to suricata version 6.0.2, and modified the settings by referring to the link.  
Packet loss was reduced.

However, tcp.segment\_memcap\_drop in stats.log continues to occur, but I want to know what tcp.segment\_memcap\_drop means.

---

<div class="post-metadata">

**Author:** ![Andreas\_Herz](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/andreas_herz/32/52_2.png) [@Andreas\_Herz](https://forum.suricata.io/u/Andreas_Herz)\
**Post date:** [April 20, 2021, 8:35pm UTC](https://forum.suricata.io/t/suricata-packet-loss/1289/4 "2021-04-20T20:35:21Z")

</div>

You seem to hit the memcap which could result in drops. If you have some memory left you can increase the memcap value in the config and try again.
