Skip to content

conntrackd filling up var #6718

Open
Open

Description

ISSUE TYPE
  • Bug Report
COMPONENT NAME
VR
CLOUDSTACK VERSION
latest
CONFIGURATION
N/A
OS / ENVIRONMENT
KVM
SUMMARY
We have large customers with a lot of VR traffic traversing the VRs.  Logrotate cannot keep up and /var fills up to 100%, causing the VR to exhibit problems when attempting to start/restart instances in the VPC and/or traffic stops flowing.  Conntrackd is logging verbosely to daemon.log.
STEPS TO REPRODUCE

1. Construct a VPC with a redundant VR pair with a private gateway or tunnel
2. Create a large amount of traffic to/from a VPC over gateway or tunnel

EXPECTED RESULTS
/var should not fill up regardless of traffic load
ACTUAL RESULTS
/var fills up

Activity

  1. boring-cyborg commented on Sep 8, 2022

    @boring-cyborg

    Thanks for opening your first issue here! Be sure to follow the issue template!

  2. ghost changed the title [-]conntrackd Syslog on filling up var[/-] [+]conntrackd filling up var[/+] on Sep 10, 2022
  3. 4 remaining items

  4. github-actions commented on May 27, 2026

    @github-actions

    This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.

  5. jmsperu commented on Nov 23, 2026

    @jmsperu
    Collaborator

    Could not reproduce on 4.22.1.1 with plain traffic. On a redundant VR pair (isolated network) I pushed 3000 new tracked connections through the PRIMARY router (conntrackd "connections created" went from 51 to 3053) and conntrackd.log, daemon.log and messages did not grow by a byte.

    Notes:

    • The current conntrackd.conf has no Stats section and no conntrackd-stats.log is written, so the change proposed in Disable logging of conntrack stats traffic #6738 (Stats { LogFile off }) would not change anything today.
    • /etc/logrotate.d/conntrackd only rotates conntrackd-stats.log. /var/log/conntrackd.log itself (General { LogFile on }) is never rotated. It only grows on events, so it is slow, but it is unbounded. PR systemvm: rotate /var/log/conntrackd.log on redundant routers #14817 adds it to the logrotate file.
    • Not tested: VPC with a private gateway or site to site VPN under load, which is the reporter's setup. If anyone still sees this, the lines that fill the log would help.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions