+1
Completed

Update on the situation over the past week

Oliver 7 years ago updated by LuckyNguyen 7 years ago 9

As everyone noticed, last week was quite a bumpy ride to put it politely. It started with an increasing number of dropped shares across all pools. As things progressed the situation worsened. Monitoring resource consumption indicated not only high load on all of the main servers 16 CPU cores but an insanely high memory consumption of the pool processes (up to 22 GB each). 


My initial analysis attributed this to an inefficiency in the pool code producing lots of garbage that need to be collected which means the pools became increasingly busy with themselves in addition to handling shares. Up to a point where the garbage collector halted all threads to keep up with the amount of garbage. This is when the pools started aggressively dropping shares deemed outdated when the pools finally resumed normal operation after sometimes 20 seconds long garbage collection passes. The analysis made sense even though the impact seemed to be way over the top for the amount of regular miners submitting shares. 


Since the servers are running AMD's latest Ryzen CPUs I also looked at the hardware side. Early batches of these CPUs had some issues that might be contributing to the situation. Because of this I've requested the hosting provider to migrate the server SSDs into newer servers equipped with updated batches of these CPUs. Unfortunately this did not have the desired effect. In fact things got even worse after this. Frantically searching for a solution I began to implement many performance improvements to the pool engine over the past week. The was the reason for the many many pool restarts you might have noticed when monitoring your rigs. As these code changes were implemented under stress, new bugs were introduced along the way. The issue with the massively rejected shares on the Ethereum Pool was part of the collateral damage caused by this. 


When the XMR pool finally found a new block in all of this chaos and suddenly the payout processing failed due to the system running out of file descriptors, I realized there must be something else. Pool servers are normally configured with extremely high file descriptor limits with ours being no exceptions at a limit of one million open file descriptors. Upon closer inspection I realized that someone managed to bog down the pools with connection attempts that flew under the radar and that did not get logged. We've been under DDos all the time without realizing it. Those attacks appear to have stopped by now. But is is clear that someone does not want this pool to succeed even though we are quite small. Unless those responsible wanted to ensure that it stays that way. They've partially succeeded as we've lost a lot of miners and I can't blame them for leaving.


- Oliver

Is there a way to protect a pool from DDos?

Completed

Yes, there is: Arbor Networks but at 300$/month out of our league for now.

Alright, anyway, thanks for yet again a very honest explanation. I can imagine the pressure you felt trying to sort things out coming from sw development background myself. Keeping fingers crossed that it will be smoother from here on-wards and good luck with that "noob-mining" tool. :)

Wow!  You had a nice week :)  Thanks again for the explanation, and sorry for the DDos attack... maybe some other pool hires hackers to do this....   You never know.  I really like your pool and I'm willing it will grow.  


Keep up the good work!

It's nice to see you trying keep everything up and improve the pool engine. We can see you want sucess your pool and we are here to talk and help you if you want :)

@Xima Thanks for your incredibly kind words. :-)

+1

I'll be honest. I was CPU mining Monero (285H/s) for a few days and getting frustrated at the long time (over 2 weeks) to find a block. In fact, I was starting to explore alternative mining pools. However, when I returned on Monday, an XMR block had been found and I had a small payout (hurrah !).


I really appreciate your honesty and communication. I tend to always favour the underdog and, as a software developer, I can empathise with your teething problems so I will continue to mine here.


As for publicising the site, would it be worth requesting a listing on http://moneropools.com/ ?


Good luck - Andy

Hey Andy


Like I said I don't blame the miners leaving a pool with bad luck. It has become quite hard these days to get a pool to take off. They only way to do that with so much competition in the mining space is persistence and good support for the miners.


It's funny that you mention moneropools.com. I've been in contact with M5M400 (the guy running the site) about adding our site when poolmining.org was very young. For some unknown reason that never happened. But just this morning I wrote him on reddit about this. 

A  .Hello, I want you to help me some problems. I am a practicing student and am starting to exploit bitcoin with antminer. I would like to be using your pool efficiently with a cost attached. But I do not know where to start. You can teach me just how to buy a hash, or use it for private pools or Do pools. Please help me, I would like to have a plan as well as knowledge to invest some miner with effective pool. I trust this is a general assessment of many customers about your honesty. So I mentioned to you, if you have helped me, this I really appreciate and thank you very much.