View Single Post
Old 02-11-2011, 08:15 PM  
Loki
Confirmed User
 
Loki's Avatar
 
Industry Role:
Join Date: Feb 2004
Location: Michigan
Posts: 4,420
Quote:
Originally Posted by Ron Bennett View Post
Just a few concurrent scripts running will often put on over CPU limit on HostGator basic plan. Upgrade to their business plan, and the limits are a bit better, but still relatively low compared to most VPS services.

As for why a flash app and script would put one over limit at seemingly random times, I suspect part of it may be the overall server load plays a significant role as to when their CPU limiter kicks in for individual accounts. So if server load was already high, that may partly explain it.

Some other things to consider:

Does the script / flash app utilize any ports other than 80? If so, such usage is likely to be more heavily scrutinized / easily spotted.

The size of the flash app itself that's downloaded by the user's browser - doubt that would be an issue unless it's being dynamically created and/or is many megs in size.

There's the statistical possibility that even with only a handful of chat users, their requests are all arriving at nearly the same time. That shouldn't happen often, but it's potentially possible, and with HostGator usage limits, a bunch of concurrent requests to the chat script may set off alarms.

With all that said, it's possible HostGator is running some kind of keyword filter against script / flash app names ... try renaming the flash app and the script to something nonsensical and remove the word "chat" from the chat webpage. Not sure if that would matter, but something to try.

Ron
You make some valid points, however I'm NOT looking to fix or keep a chatroom on a shared server with hostgator, I was just pointing out that HG is quite random with what they consider to be high usage....

The chatscript I had running as a demo ONLY makes 1 call per 4 seconds per user, no matter what the user is doing, typing, or idol it's still ONLY 1 request per 4 secs per user in the room.

this is why I find it funny as hell that "larger" nights there is no issues with server load, but smaller nights they literally lockdown the getxml file and start banning ip's

as I've said prior THEIR 2nd level and security techs went through the script PRIOR to me launching the demos to our clients, and they (HG) found NOTHING that would cause a high load UNLESS we were sending THOUSANDS of requests per min.

again, I'm NOT looking to make the script work with HG, nor am I looking for hosting lol.

-Loki-
__________________
MAKE MONEY WITH 3D TOONS!
Need hosting? LokiCa$h Uses Amerinoc and love them!
Skype: LokiPorn Or Email 3dloki|at|gmail.com
Loki is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote