[wp-hackers] Slow loading WordPress (Hack solution)

Jerry Johnson jmiloj at gmail.com
Fri Dec 5 17:15:56 GMT 2008


Peter, great writeup, and thank you for sharing. I just added this test file
to my script folder.


On Fri, Dec 5, 2008 at 11:35 AM, Peter van der Does
<peter at avirtualhome.com>wrote:

> On Mon, 1 Dec 2008 21:48:15 -0500
> Peter van der Does <peter at avirtualhome.com> wrote:
>
> > I have friend who has a site that is extremely slow in loading, we
> > tried WordPress 2.3.x 2.5.1, 2.6.5. The original site ran 2.3.1 when
> > it became slow. The site ran fine for 3 weeks and became slow after
> > writing a post, nothing out of the ordinary, same ole article as any
> > other. Deleting the post didn't help. The site had about 60 posts.
> >
> > What is slow, you ask, how about 20 secs to load index.php according
> > to Firebug, no plugins, default theme. Here's the weird thing, the
> > plugin wp-spamfree loads a file called wpsf-js.php. This file also
> > takes 20 secs to loads.
> >
> > On the site is also phpBB installed and there are no speed problems
> > with it, neither with a php file that was uploaded to show the
> > phpinfo().
> >
> > Does anybody have any clue what to look for?
> >
> > Things we have done so far but didn't help
> > 1. Optimized tables.
> > 2. Dropped all tables and imported them again.
> > 3. Upgraded to 2.6.5
> >
> > The site: http://1vibe.net
> > forum: http://1vibe.net/forum
> >
> As the provider couldn't solve the issue (Uuuh, yeah, sure, whatever) I
> came up with a hack. Unfortunately it's a core hack, which I
> don't like but my friend is OK with it, as long as it made his site
> response normally again. I edited the wp-includes/cron.php to use an IP
> instead of site url.
>
> Details can be found on my blog:
> http://blog.avirtualhome.com/2008/12/03/wordpress-being-slow-a-dns-problem/
>
> --
> Peter van der Does
>
> GPG key: E77E8E98
>
> WordPress Plugin Developer
> http://blog.avirtualhome.com
>
> GetDeb Package Builder/GetDeb Site Coder
> http://www.getdeb.net - Software you want for Ubuntu
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list