Skip to content

Too many open files error #561

@defus

Description

@defus

Tinyproxy version

1.11.1

Issue

We are not able to increase our number of calls due to this error (100TPS using Apache benchmark) :

Accept returned an error (Too many open files) ... retrying

How can we configure our TinyProxy in order to bypass the limitations.
We changes sommes Linux configurations and it doesn't help.

It look like it is due to this configuration MAXLISTEN = 1024 in the common.h file.

Can you help us on this please ? Do we have to :

  • change MAXLISTEN in code ?
  • do horizontal scaling ?
  • or other configurations ?

How can we use the stats endpoint to monitor this issue ?

Thank's

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-informationMore information is required to properly assess and address the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions