system stats in php & db sync for every 3 sec