moved do_stats to db server as may be crashing web server?