high system resources?

Status
Not open for further replies.

xblaz3x

New Member
Messages
11
Reaction score
0
Points
0
You have been suspended for high system resource usage. Accounts are suspended for usage when they are detected to have consistently high cpu usage, memory usage, or process amounts. This is an automatic suspension, you're able to unsuspend yourself immediately. Warning 1 of 3

that's the warning i got for the resource usage. I wrote an ajax chat that takes information from a mysql database with php. what could be causing the high usage? to refresh the chat, i have a function that checks the database every 1 second. would that cause the high usage?
 

Twinkie

Banned
Messages
1,389
Reaction score
12
Points
0
That is very hard to tell without access to your site. From what I heard, that should be just fine. What people have problems with are large scripts with lots of plugins like wordpress or Joomla. If you have a very simply script, try looking for bugs in it. I am sure there are many infinite loops and endless calculations made by mistake that can land you suspended.
 
Last edited:

vishal

-::-X10 Guru-::-
Community Support
Messages
5,255
Reaction score
192
Points
63
You have been suspended for high system resource usage. Accounts are suspended for usage when they are detected to have consistently high cpu usage, memory usage, or process amounts. This is an automatic suspension, you're able to unsuspend yourself immediately. Warning 1 of 3

that's the warning i got for the resource usage. I wrote an ajax chat that takes information from a mysql database with php. what could be causing the high usage? to refresh the chat, i have a function that checks the database every 1 second. would that cause the high usage?

Pls check do u had left infinite loops also avoid the function that checks databasse every one second,could u increase the time limit
 

xblaz3x

New Member
Messages
11
Reaction score
0
Points
0
i'm trying to mimic the facebook chat. i'm not sure if there's a way to raise a function when something's updated, i'll have to research ajax more. i'm new to ajax. but the function uses javascript to refresh every one second. i could raise the repeat, but it wouldn't be a live chat anymore :tongue: i'll play around with it some more and see. don't know how much good this would do but here's the script (it's messy but i'm experimenting ;))

http://www.meettheworld.co.cc/ajax.phps

edit: how can i test this without getting my account suspended again? i'd really hate to loose this service. i LOVE this service.
 
Last edited:

vishal

-::-X10 Guru-::-
Community Support
Messages
5,255
Reaction score
192
Points
63
I am not sure this is the problem , wait for a admin to reply
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
i'm trying to mimic the facebook chat. i'm not sure if there's a way to raise a function when something's updated, i'll have to research ajax more. i'm new to ajax. but the function uses javascript to refresh every one second. i could raise the repeat, but it wouldn't be a live chat anymore :tongue: i'll play around with it some more and see. don't know how much good this would do but here's the script (it's messy but i'm experimenting ;))

http://www.meettheworld.co.cc/ajax.phps

edit: how can i test this without getting my account suspended again? i'd really hate to loose this service. i LOVE this service.

Well, hate to say it, but first and foremost:
x10 Terms of Service (Free) said:
Shoutbox\Chat Scripts Use of these scripts is strictly forbidden due to the amount of MySQL queries they take. Accounts found with chat scripts or shoutboxes will be suspended.

Your next best option is finding a chat/shoutbox script that doesn't rely on x10's servers (externally hosted); if it's on x10 it's either going to trip HRU or get manually suspended.
 
Status
Not open for further replies.
Top