4

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? – Xavier Leprêtre B9lab Aug 31 '16 at 12:33
  • 1
    For this kind of improvement question, an issue on github is more likely to get something done – Tjaden Hess Sep 7 '16 at 12:33
-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? – Afr Oct 7 '16 at 19:36
  • I modify the linux system configure file to increase the maximum open file number. – rong jialei Oct 8 '16 at 2:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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