ericmoritz / wsdemo

A Cowboy Websocket demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug in ./runtest

powerman opened this issue · comments

In 2e938ab ./runtest after "Finished, syncing stats" output sometimes hang using a lot of CPU and eating huge amount of memory, which result in out of memory on my linux with 8GB RAM + 4GB swap. This often happens when ./runtest run for 300 sec test, and rarely for 30 and less sec test.

Yes, I'm currently trying to sort this out. I wanted to log all the events so that it is easier to generate and verify the stats. I've migrated the latest code to use disk_log instead of a home grown solution. You may want to try using master and see if that solves your problem.