How can i send rpc request in long connection. Since the default rpc request using the short connection. When i send many requests together, the geth will break down with to many open file error, which means the number of connection exceed the limit.

So is there any way i can send request in long connection?

  • Do you want to find a way to retry failed connections? Or do you want to have the connections spaced out? Commented Aug 31, 2016 at 12:33
  • 1
    For this kind of improvement question, an issue on github is more likely to get something done Commented Sep 7, 2016 at 12:33

1 Answer 1


There is a way to figure this problem out temporarily.

We can increase the Limit of open file name by modifying the sys configuration file. But i hope the ethereum can add the long connection socket rpc method

  • How did you solve this exactly? How did you increase the limit?
    – q9f
    Commented Oct 7, 2016 at 19:36
  • I modify the linux system configure file to increase the maximum open file number. Commented Oct 8, 2016 at 2:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.