Help suspended for high system resource usage. I want to know what I did?

Status
Not open for further replies.

a10566a

New Member
Messages
7
Reaction score
0
Points
0
Hi,

I use my account for hosting a wordpress with some plug-ins enabled and today I get this message:

"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"

How can I know what are wrong in my site?

Thank you in advance!
Fernando.
 

adamparkzer

On Extended Leave
Messages
3,745
Reaction score
81
Points
0
Hi,

I use my account for hosting a wordpress with some plug-ins enabled and today I get this message:

"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"

How can I know what are wrong in my site?

Thank you in advance!
Fernando.

Some of your plugins may be using a high amount of system resources. Please check to make sure that all your plugins stay under the permitted amount of resource usage.

Also, check your cron jobs, as crons running more frequently than one every five minutes could also get you suspended for high system resource usage.
 

kkenny

Active Member
Messages
1,950
Reaction score
0
Points
36
How does he do that?

You can search for PHP Scripts (WP-Plugins, or an actual script from scratch) that will input on the footer of every page how much server load it took to load the webpage.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
You could also use .htaccess to do this as well:

.htaccess
Code:
php_value auto_append_file /home/user/path/to/file.php

file.php
Code:
<? var_dump(memory_get_peak_usage()); ?>

If you see that you're always close to 32 MB on a certain page or with a certain plugin enabled, that's your culprit. Disable all the plugins and reenable them one at a time.
 

jtwhite

Community Advocate
Community Support
Messages
1,381
Reaction score
30
Points
0
You could also use .htaccess to do this as well:

.htaccess
Code:
php_value auto_append_file /home/user/path/to/file.php
file.php
Code:
<? var_dump(memory_get_peak_usage()); ?>
If you see that you're always close to 32 MB on a certain page or with a certain plugin enabled, that's your culprit. Disable all the plugins and reenable them one at a time.


That's a wonderful idea. I'd have never thought to suggest that. I can't rep you for it, apparently I've given too many in a short amount of time.
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
:'(

I'm trying to spread the word on using the auto_prepend_file and auto_append_file settings. You can do so many amazingly cool things with them!
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
Make sure to remove the htaccess line after your benchmark is done, as it could lead to some issues.

I tend not to use those two settings as the type of php files I handle is quite broad: I am using a framework, and some of the entrypoints return binary data, and I wouldn't want the data to be corrupt.
 
Last edited:
Status
Not open for further replies.
Top