Skip to content

Memory Leak - traffic_ctl config reload #4562

@alxtv

Description

@alxtv

Hi,

I have noticed that the trafficserver's memory usage is increasing with each config reload. After each config reload it's allocating ~200MB RAM until the system has free memory and then dies (oom killer or trafficserver cannot allocate memory). There are around 7700 remap rules and 1800 SSL certificates on the server if that matters.

Tested on - Apache Traffic Server - traffic_server - 7.1.5 - (build # 110507 on Nov 5 2018 at 07:03:44)
executing - touch /etc/trafficserver/remap.config && touch /etc/trafficserver/ssl_multicert.config && traffic_ctl config reload
But older version 7.1.4 has the same issue.
Edit:
I have noticed that it's allocating more memory while reloading the ssl_multicert.config

Memory Dump
ts-start.txt
ts-after-few-reloads.txt

edit 2:
Even with empty remap.config and no plugins activated, touch /etc/trafficserver/ssl_multicert.config && traffic_ctl config reload is increasing the memory usage.

Edit 3:
Empty ssl_multicert.config and the memory leak is completely gone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions