I got a gallery on the hun today, and it took my server down. I've gone through this once before, and we figured it was my .htaccess file preventing hotlinking, which they moved from .htaccess into an apache config file.
Come to find out, my gallery was on a domain that I also have a blog in the root domain. According to Chris at Phatservers:
Quote:
Hi Virginia, while memory is getting maxed out, it's not really due to the traffic hitting your gallery. It seems to be more because a lot of the traffic seems to be hitting wordpress on this site. When the hun listing is getting traffic on this domain, the wordpress database for this site is generating a lot of load on mysql by creating a lot of temporary tables non stop.
It's possible that the rewrite code for the wordpress site is just triggering hits to the index.php because of it. It's a very bad idea to run wordpress in the root directory of a site, while using the site for other things such as galleries.
I've disabled the re-write code for permalink's in wordpress, and everything is running great now.
|
So I moved the blog to a sub directory, put an index page that clicks through to the blog. Should solve the problem and my box is running smooth.
I don't know if anyone else in blog land has had this issue, but FYI just in case. And if you did have this issue, did you solve it some other way than moving your blog off your root directory?