The MU forums have moved to WordPress.org

New LimitInternalRecursion Issue 2.6.2 (16 posts)

  1. kennibc
    Member
    Posted 15 years ago #

    Hello All,
    I am having a very serious problem with LimitInternalRecursion loops and then it crashes the server. Locks everything up. I exceed the 10 limit and then it will hang in there for a few errors but then crashes.

    I have not changed my .htaccess file since installing WPMU 3 years ago. I never had to because everything seemed to work just fine...until now! Should I use the one that came with the 2.6.2 package?

    Any other suggestions? I also increased the memory of PHP for executing code. I thought maybe the loop would be less of an issue if there was more memory to help it recover. Didn't Work!

    Could this be related to a theme, .htaccess, php, apache, where do I need to go look?

    Thanks for any suggestions. Please help, I have over 500 teacher bloggers counting on getting this working!

    Chris

  2. dsader
    Member
    Posted 15 years ago #

    Yes, update your .htaccess with 2.6.2.

    Yes, recheck each theme - 3 years is a long time. Widgets etc.

    Disable all mu-plugins and plugins, check each one by one.

  3. kennibc
    Member
    Posted 15 years ago #

    What is the issue? Is there a specific reason? Thanks dsader. I just want to understand. There doesn't seem to be any rhyme or reason as to why the limit issue is happening.

  4. dsader
    Member
    Posted 15 years ago #

    "3 years is a long time"

    Compare the two htaccess files. What WPMU version were you running?

    3 years ago WPMU had a wp-inst directory. No such thing anymore. Many changes.
    http://trac.mu.wordpress.org/browser/tags

  5. kennibc
    Member
    Posted 15 years ago #

    I think I went from 1.2.3 to the latest. I did do it in steps though.

    Thanks, This will be a good start. If anyone else has any suggestions? I am trying to put a plan of action together for tomorrow of things to try. I am spending the day getting this to work properly. I have been trolling the forums looking at the other related posts as well. They all seem to point to the .htaccess file.

    -Chris

  6. kennibc
    Member
    Posted 15 years ago #

    I just compared an 1RC4 htaccess(which is where I believe we started) to the current one and found a couple of things missing as well as a rule on the old one that is no longer in the 2.6 htaccess.

    I am hoping this will solve my issues. I am kinda thinking it can't be this easy though.

  7. jamescollins
    Member
    Posted 15 years ago #

    Hi,

    I have also been getting LimitInternalRecursion errors in my Apache error logs, however I don't think this is related to my very occasional apache crashes.

    Thanks for reminding me to update .htaccess with the latest rules. I was missing several of them. I must remember to compare htaccess.dist each time I upgrade WPMU.

    My redirect errors seem to occur when editing a post or a page. For example:

    [Tue Oct 07 11:25:41 2008] [error] [client xxx.xxx.xxx.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://domain.com/wp-admin/page.php?action=edit&post=29&message=1&_wp_original_http_referer=http%3A%2F%2Fdomain.com%2Fbook-page%2F

    Are your errors similar to this?

    In my case, checking my Apache error log shows these relevant entries:

    domain.com xxx.xxx.xxx.xxx - - [07/Oct/2008:12:00:46 +0800] "GET /wp-admin/page.php?action=edit&post=29 HTTP/1.0" 200 34998 "http://domain.com/book-page/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3"
    domain.com xxx.xxx.xxx.xxx - - [07/Oct/2008:12:00:48 +0800] "GET /wp-includes/js/tinymce/tiny_mce_config.php?ver=20080811 HTTP/1.0" 200 74730 "http://domain.com/wp-admin/page.php?action=edit&post=29" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3"
    domain.com xxx.xxx.xxx.xxx - - [07/Oct/2008:12:00:49 +0800] "GET /wp-includes/js/tinymce/URLPATHtinymce/editor_plugin.js?ver=311 HTTP/1.0" 500 618 "http://domain.com/wp-admin/page.php?action=edit&post=29" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3"

    Which shows that the first 2 requests have a 200 response header, but the third request has a 500 response.

    So for some reason the edit page screen tries to load this:

    http://domain.com/wp-includes/js/tinymce/URLPATHtinymce/editor_plugin.js?ver=311

    Does anyone know why this would be occurring?

    Thanks.

    James

  8. kennibc
    Member
    Posted 15 years ago #

    OK Guys, Much to my surprise it was a plugin. Apparently the "Share-This" plugin was creating the loop. I deleted it from the plugins folder and all of a sudden NO LimitInternalRecursion issues popped up in the logs.

    I also updated the .htaccess and some server configs for good measure, but all seems to be working well!

    We are rockin' WPMU over at Dearborn Schools once again.

    http://blog.dearbornschools.org

    Thank you to all. These forums have been a lifeline.

  9. kennibc
    Member
    Posted 15 years ago #

    Still getting an occasional issue with LimitInternalRecursion. I was able to track it back to 2 themes. I deleted them and so far no server crashes.

  10. webmaestro
    Member
    Posted 15 years ago #

    Which themes? I've got a few themes I created for our blogs, so I'd like to look through them to make certain they don't have a problem.

    I have seen some of those LimitInternalRecursion errors (~5 every 10 minutes, so it's not too big a problem ATM)...

    I don't have Share This, but I have Sociable... I've noticed some issues with Sociable and the email icon/link (the others seem fine, but the email link IMG src attribute keeps getting set to a directory instead of the email image file).

  11. dsader
    Member
    Posted 15 years ago #

    Grep your old themes for deprecated template tags. Examples: Categories/Bookmarks have changed and old code will be the cause of error, too.

    Functions/plugins in templates' functions.php may collide with new built in code - widgets especially.

    Old(and some new) themes had searchform functions that may be wonky in vhost=no installations.

  12. kennibc
    Member
    Posted 15 years ago #

    I do have subfolders such as blog.dearbornschools.org/webmaster
    so search functions may be an issue as well.
    I had this old plugin that allowed us to organize our blogs by schools (similar to the new Blog Topics plugin). After eliminating the limit issues, the site was still crashing. So I went back to the plugins and removed this one. So far so good. I will know more tomorrow when teachers login etc.

    -Chris

  13. kennibc
    Member
    Posted 15 years ago #

    I just downloaded the new blog topic plugin. Is anyone using it? I would like to hear experiences. I uploaded it and I want to see if the server crashes before tomorrow.

  14. kennibc
    Member
    Posted 15 years ago #

    We did have some of the above issues, but now we are beginning to think this may be an issue with Ubuntu and the VMware host it runs on. For some reason the VM locks up. May not be related to the issues above.

  15. kennibc
    Member
    Posted 15 years ago #

    We did have some of the above issues, but now we are beginning to think this may be an issue with Ubuntu and the VMware host it runs on. For some reason the VM locks up. May not be related to the issues above.

  16. backcountryadmin
    Member
    Posted 15 years ago #

    Hi guys,

    This exact redirect issue occurred when we enabled the domain extension, that allows you to use a http://www.domain.com with one of the blogs created on your server setup (we are using the WPMU subdomain config option). We wiped out the plugins completely, our setup is back up, and will be doing this process on a plugin per plugin basis till we are back up and running properly.

About this Topic

  • Started 15 years ago by kennibc
  • Latest reply from backcountryadmin