Skip to content

Usage of TCP connections grows without bound #5

Description

@dmuth

So I started getting EADDRNOTAVAIL errors while testing our node_riak today.

I did some investigation, and it seems that that after inserting about 14,000 keys at a rate of about 300 keys/sec, I get the EADDRNOTAVAIL errors, and it looks like I have an insane number of open TCP connections:

dmuth@localhost:~/cliq (production) $ netstat -nt |grep :8098 |wc -l
25965

So it would seem like the same TCP connections are not being reused, but instead are just hanging in the TIME_WAIT state. Given the high rate at which I am inserting keys, my usage of Riak overtakes the ability of the those TCP connections to end.

Is this an actual bug, or am I doing something wrong on my end?

Thanks,

-- Doug

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions