Skip to content

[defect]: Memory leak when reloading configuration using HUP signal #5490

Open
@alexs20

Description

@alexs20

What type of defect/bug is this?

Unexpected behaviour (obvious or verified by project member)

How can the issue be reproduced?

Tested using docker container freeradius/freeradius-server:3.2.6

  1. Run the container
  2. Attach to the container with another shell
  3. run ps -aux and remember the memory value in VSZ and PID
  4. modify and save /etc/freeradius/clients.conf (for example add some spaces)
  5. reload the configuration using kill -HUP <PID>
  6. run ps -aux again and compare the memory value in VSZ
  7. repeat steps 4,5,6 several times.

Result:
Starting from the second reload the VSZ will grow after each and every reload and never go back.

Log output from the FreeRADIUS daemon

not relevant

Relevant log output from client utilities

not relevant

Backtrace from LLDB or GDB

not relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectcategory: a defect or misbehaviourv3.2.xmeta: relates to the v3.2.x branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions