PoC-Consortium / Nogrod

The all-new PoCC pool software; "Fortunes are mined here"
Other
47 stars 33 forks source link

Multiple IPs from China exceeding rate limit and causing server performance issues. #26

Closed cybermancerr closed 6 years ago

cybermancerr commented 6 years ago

{"level":"info","ts":1531894521.497703,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"03393ed9-c97d-450d-948b-9ca99110b5e9","ip":"183.240.196.53","uri":"/burst?requestType=getMiningInfo","user-agent":""} {"level":"info","ts":1531894521.701579,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"7d6da57f-cb79-4c2b-844e-22eb83985315","ip":"183.240.196.53","uri":"/burst?requestType=getMiningInfo","user-agent":""} {"level":"info","ts":1531894521.773634,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"2e65c153-f736-496f-be9d-04ecc39bdb9a","ip":"183.240.196.53","uri":"/burst?requestType=getMiningInfo","user-agent":""} {"level":"info","ts":1531894521.857405,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"51d66c2f-0e84-4750-af83-f7f742ca50a9","ip":"183.240.196.53","uri":"/burst?requestType=getMiningInfo","user-agent":""} {"level":"info","ts":1531894522.1446123,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"c07974b3-e060-41fd-ba3c-b4e074869aae","ip":"183.240.196.150","uri":"/burst?requestType=getMiningInfo","user-agent":""} {"level":"info","ts":1531894522.967498,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"4873a3de-ec37-4d79-9716-b66f2f316fe0","ip":"183.240.196.53","uri":"/burst?requestType=getMiningInfo","user-agent":""} {"level":"info","ts":1531894523.01998,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"c11e375f-d780-495e-b449-f5debfd56711","ip":"183.240.196.148","uri":"/burst?requestType=getMiningInfo","user-agent":""} {"level":"info","ts":1531894523.2016115,"caller":"pool/pool.go:278","msg":"rate limit exceeded","requestId":"bacc26cb-35d5-4487-9edb-f584b79cd3a4","ip":"183.240.196.53","uri":"/burst?requestType=getMiningInfo","user-agent":""}

I have my limit set to allowRequestsPerSecond: 3

and ulimit -Sn 1048576

once I blocked the IPs at the firewall pool performance increased dramatically.

I'm not sure what this client is trying to do.

spebern commented 6 years ago

Thanks for reporting.

I don't think this is an issue with the pool software, so I will close this.