My WP blog using Full server CPU , idea to Fix ?

Status
Not open for further replies.
Try this: download index.php via FTP, delete original on your server, then reupload index.php back

It is possible that, that spot MAYBE have bad sector on HDD, or hardly readable one. With reuploading, it will change it's place on HDD and should resolve the issue.

It's just a wild guess.
 
try make an addon domain in cpanel for test (free co cc domain is good) and install wordpress there. if it has the same problem as your main blog then the problem lies in your vps provider.
 
^ how i will know the problems is from that blog then , coz like that 3 blogs would be runing side by side

cvrle : tried didnt worked either

zeroseven : i have another blog running on my VPS it showing no spikes in CPU usages on my ps3 sites index.php shows high usage

no idea why
 
Last edited:
Now theres no CPU usage on index.php
but now im getting this

d314d4.jpg
 
Do you have a 3-4 days old backup of your site? If your site was fine at that time, then try uploading the index.php file from that backup to your site.
 
Make a full backup of your site and restore a backup of a date when you thought this problem wasn't there. If you still get the same problem then its definitely a configuration issue.
 
the easiest way to get your apache log and any logging you have going and post it here.. Because on the command part it says
Code:
[php] defunct

so there is zombie commands going on in your php causing cpu to spike
 
attach: ptrace(PTRACE_ATTACH, ...): No such process

This is whats consuming CPU now

PHP:
 <defunct>

[IMG]http://i25.lulzimg.com/a95d9e.jpg[/IMG]
 
that log wasnt what i asked for :p thats a process log...

I wanted a log that shows all errors like 401 errors or any kind of php error..

If you dont no how then add this to your index.php
Code:
ini_set('display_errors', 1); 
 ini_set('log_errors', 1); 
 ini_set('error_log', dirname(__FILE__) . '/error_log'); 
 error_reporting(E_ALL);

it will show errors on page and it will also log all errors to error_log so you can see all the problems
 
Im unable to edit any index file either as im getting it like this

I cannot save any file

1b7842.jpg


Someone help me here load is getting above 100% now :/ i havent made any changes
 
Status
Not open for further replies.
Back
Top