Man I am getting so sick of trying to get to the bottom of my WordPress sites sucking the life out of my server!
I picked one domain that was acting up and tracked it down to wp-cron.php that is running everytime I get a visit or even a bot visit like from googlebot. So today Googlebot is just all over this site and the wp-cron.php runs each time and returns a 404 error. I read up on this and it says to modify your etc/hosts file. Well I can’t find that file on my server. I have a etc/hosts folder but no hosts file.
That is as far as I got so far… this is so frustrating to me at the moment that I feel like dumping WordPress and finding an alternative.
So until I get this under control you can expect this site and any of my others to be running slow or even unresponsive.
How am I supposed to fix my Mayday issues and get my income back to a respectable level when I am spending all my time tracking down technical issues?
You need to use a visual editor on the server. Login via SSH and use this command:
vi /etc/hosts
Let me know if you need any help. Shoot me an email, I’m a sys admin and can help you out.
Also, can you leave a link to the article you were reading up on this wp-cron.php issue? Much appreciated.
Thanks man! I am a windows admin and don’t know much of the linux stuff. I found the top command and was using that to troubleshoot.
Here are some of the sites that I found info about the wp-cron.php issue:
http://yoast.com/wp-cron-issues/
http://urbangiraffe.com/support/topic/404-log-redirects-from-wp-cronphpcheck
http://bradt.ca/archives/fix-wordpress-missed-schedule-error-on-media-temple-dv-plesk/
I actually have not fixed that issue yet as only a few of my sites had it. I have however started blocking a ton of bots via .htaccess and also removed my search results from being indexed using robots.txt. This has lightened the load up on my server some… but still not enough.
I am experimenting with writing my own very simple blog software using php and mysql. I am designing it first for speed. The pages have to load under 2 seconds… perferably 1.5 seconds or less.
I already have written a script to export my posts from the wordpress db and it imports them into my own new db. I am in the process of coding the site now. If this works I am most likely going to dump WordPress. I hate to do it because I really like wp but times are changing and speed is now important to Google.
I will keep you updated in future posts.
Thanks again for the info!