Fixed bug of 100% cpu load, by ps.