Skip to content

Many CLOSE_WAIT connections #2676

Open
Open
@cuihtlauac

Description

@cuihtlauac

Recently, the server seems to become slower and slower until it becomes unresponsive. This only affects package documentation pages.

Connecting to the server and docker container shows there is an apparently always increasing number of TCP connections in CLOSE_WAIT status.

/ # netstat -tn | grep CLOSE_WAIT | wc
     3611     21666    292491
/ # netstat -tn | grep CLOSE_WAIT | wc
     3622     21732    293382
/ # netstat -tn | grep CLOSE_WAIT | wc
     3623     21738    293463
/ # netstat -tn | grep CLOSE_WAIT | wc
     3628     21768    293868
/ # netstat -tn | grep CLOSE_WAIT | wc
     3621     21726    293301
/ # netstat -tn | grep CLOSE_WAIT | wc
     3872     23232    313632

As a workaround, rebooting the machine will put the server in a working state. But daily reboots are needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions