jedi95 / Phoenix-Miner

Modular, fast, efficient Bitcoin miner
72 stars 27 forks source link

Connections left open indefinitely #2

Open luke-jr opened 12 years ago

luke-jr commented 12 years ago

PhoenixMiner doesn't seem to ever close some of its HTTP connections after using them once. I had them piling up pretty fast on Eloipool until I implemented a timeout...

luke-jr commented 12 years ago

... and now that I'm closing them on a 15 second timeout of inactivity, it seems Phoenix is showing miners "disconnect" every time. -.-

CFSworks commented 12 years ago

Sorry for the delay in responding, we were pretty busy working on Phoenix 2 and didn't have time to attend to our own Github.

How reproducible is this problem? Does it happen every time you've tried? Does Phoenix do this with other servers? Does disabling keep-alive fix it? Which connections are these, long-poll or normal RPC?

The more information we can get on this, the better. Thanks!