Skip to content

unit: router does not free the used RAM #861

Open
@glukkkk

Description

@glukkkk

We have exactly the same problem as described here: #168.

Our PHP app is based on the Lumen framework. We have a simple route that returns a JSON string of approximately 10MB in size. The script looks really simple:

header('Content-Type: application/json');
echo $prettyBigJson;

Then, we start testing it using Siege, an HTTP load tester and benchmarking utility with the concurency number of 50. After 10-20 seconds, the unit:router process starts to consume RAM rapidly. Please take a look at the attached picture. Even after the Siege test is over, the unit:router process still does not free the RAM.

image

NGINX Unit version: 1.29.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions