reduce number of threads; add script to restart site