So my forum got put on a temporary hold on hostgator because of too much cpu usage. It was mainly due to the Ajax refreshing. I noticed it got bad when I allowed unregistered users to see the chatbox. We are on a shared server so we can't use that much cpu. I took it off for guests, but I want to have it for them to see because the activity on the chatbox is a real selling point of the site. How can I reduce server and cpu usage while keeping the chats there? Would making it refresh after an extended time like 20 seconds help? Also how can I terminate previous Ajax process cuz the hostgator people say the Ajax processes are stacking on each other which is causing an increase in server load
|