dataman
Member
Posted 16 years ago #
Suddenly all our blogs stopped working. when we checked the log files we found the limit of mod_rewrite.
Can anyone suggest me how to work around with this issue?
Fri Mar 21 04:13:55 2008] [error] [client x.x.x.x] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
[Fri Mar 21 04:13:59 2008] [error] [client x.x.x.x] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
[Fri Mar 21 04:13:59 2008] [error] [client x.x.x.x.x] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
[Fri Mar 21 04:13:59 2008] [error] [client x.x.x.x.x] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary.
[
MrBrian
Member
Posted 16 years ago #
Wordpress does a lot of internal redirects, so you can try changing the maximum number of redirects, but this usually doesn't help. Most of the time, it's a plugin or server configuration (.htaccess or dns) causing the problem. Try deleting all your plugins for a quick check on that.
I had this issue and it was as MrBrian pointed out a broken plugin.
If anyone else wants a quick fix... try move half off your plugins to another directory. Try the blog.. as soon as the blog works.. the plugin is in the arhived directory and you could check them out one by one.
cafespain
Member
Posted 16 years ago #
@xazax: Like it, a sort of Binary search for broken plugins :)
Approx once a month our server has become very 'sluggish' and unresponsive and needed rebooting. The hosting company has said that logs show a rewrite rule was stuck in an infinite loop.
They went on to say that "Recently, a number of our clients who use wordpress have had similar issues, so it is likely that this is the cause. This link has some info to help track down the issue:
http://mu.wordpress.org/forums/topic.php?id=7860"
We have several installs of wordpress on different subdomains, the active plug-ins are
Akismet 2.1.4
All in One SEO Pack 1.4.6.8
Dagon Design Sitemap Generator 3.12
FeedBurner FeedSmith 2.3.1
Follow URL 1.0
NextGEN Gallery 0.96
NextGEN Gallery Widget 1.22
Related Posts 0.1
Subscribe2
Any advice will be much appreciated.
TIA Ben
tubal-reversal.net/blog
So did you try what the above posts said to do?
Thanks Andrea should i remove some plug-ins? I like them all, which ones would you suggest? and how will I know if it worked as we only have had this server problem a few times and always weeks apart?
I have wordpress in subdomains and now read
"If you want to host blogs of the form subdomain.domain.tld then you must add a wildcard record to your DNS records. This usually means adding a "*" hostname record pointing at your webserver in your DNS configuration tool."
The subdomains are set up using *virtual* hosts. This is not on the server by default. It must be done by editing the httpd.conf file in Apache."
Could this be the problem?
Yeah, if you're on a shared host and you:
- haven't done that
- the webhost set the redirect limit to a low value (which they do on shared hosts)
And just turn 'em all off and try it, see what happens.
For starters, I would definitely turn off these ones:
Dagon Design Sitemap Generator 3.12
Follow URL 1.0
NextGEN Gallery 0.96
NextGEN Gallery Widget 1.22
Related Posts 0.1
Subscribe2
Thanks again Andrea
I guess I could live without the site map generator, follow and possibly the related posts, but we do like and use subscribe2 and nextGen
We have a managed dedicated server should I get the number of redirects changed, is it possible that the redirect to the subdomain as well as the permalink redirect is exceeding the limit?
Did you read the error messages?
"Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary."
Then yeah - increase the limit.
I didn't say you had to drop using those plugins entirely. Shut them off, see if you still have issues and if not add them back one by one. (add one, wait a while, add another... repeat.)
yes the hosting company support staff said log read:
[Tue Oct 07 00:16:06 2008] [error] [client 94.102.60.35] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if necessary.
I shall ask them to read this topic and see if we can increase the limit, they say that the max redirects limit by default is 10 what might we change this to, and is this likely to fix things?