I have a VPS with DreamHost. In the last few months, I’ve been getting more and more 404s while using WordPress 3.0.4’s administrative interface, such as publishing posts, activating plugins, or approving comments. The only recurring error I see in my
error.logfile is “
Premature end of script headers“. Even the frontend of the site can take 15+ seconds to load, if at all, as indicated by Pingdom Tools. Though I’ve set my VPS’s memory limit to 374 MB, my admin panel rarely shows usage above 247.
I’ve read several threads on similar issues and have followed some suggestions, such as pruning my plugins and adding this line to my
and disabling this line that’s added by DreamHost’s one-click installer:
$base = DB_NAME;
I’ve not installed any caching plugins, as even though I currently run 16 WordPress sites, none of them receives more than double digits of pageviews per day. (Only half accept comments; most have revisions disabled.) I had DreamHost’s Google Pagespeed option enabled for awhile, but it seemed to make things a bit worse, so I disabled it.
With all my plugins enabled, my site makes about 22 queries to load the homepage. The TPC plugin pointed out one instance of high memory usage that involved 38 database queries — presumably while I was accessing the admin panel.
Here are some other statistics reported by the TPC plugin when loading a page:
TPC! Memory Usage (http://webjawns.com) Memory Usage: 23413816 Memory Peak Usage: 23749872 WP Memory Limit: 90M PHP Memory Limit: 90M Checkpoints: 7
From the admin dashboard:
Usage Sample: 30.62MB (12%) Peak Usage: 30.87MB (12%) All-Time: 22.33MB on 2/1/11 @ 11:28 pm (wp_head) Load Averages: 0.23 0.28 0.28 WP Memory Limit: 90M PHP Memory Limit: 90M
I’ve recently optimized my databases via phpMyAdmin. I also ran a free Load Impact test.
Despite these efforts and diagnoses, my problems persist. Do any of these numbers look unusual? Any suggestions of what I could try that I haven’t already?
- The topic ‘DreamHost 404 when working in admin’ is closed to new replies.