Thank you very much for your help. I remake my server. Code : https://gist.github.com/782566 Now it's not CPU 100%. But i'm new in erlang and i want to ask, maybe i can improve this code or server design, or maybe i don't see hide errors? Thank you.