I've already check How to protect a hidden service against DDOS attack? and How to deal with DDOS attacks? and How to mitigate layer 7 attacks on hidden services?. The problem is not DDoS of web server, instead DDoS of Tor daemon. I already looked at http://www.hackerfactor.com/blog/index.php?/archives/777-Stopping-Tor-Attacks.html. I customised his solution to fit my needs. It worked for short time, but then stopped working. I tried change the detector of bots, but not work. The Tor hangs then crash. When pull Tor back online, same attack.
I already deploy OnionBalance servers with a script that load balance instance of Tor on multicore processors.
I still get destroy by a DDoS attack. Anyone have any solutions? Tor Project need fix this soon.