Redirect Loop Causing Infinite PHP Processes and 100% CPU Usage

Home Forums Calendar Products Community Events Redirect Loop Causing Infinite PHP Processes and 100% CPU Usage

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1019917
    Michael
    Participant

    Hi,

    Running latest version of WordPress, v. 4.3.1.
    All plugins kept up to date at all times.

    Came to update 3x plugins recently. The 3x plugins which were being updated at this point included AddThis Sharing Buttons, Custom Fields Search by BestWebSoft, and WooCommerce.

    Resulted in the whole server falling over as something went into an infinite redirect loop completely flooding the server.

    I have done some debugging and the PHP appears to be running from the calendar module on the site.

    Any ideas what has gone on here?

    Had to disable every plugin on the site as I’m not sure which one is causing the conflict, so it’s going to be a laborious task of running through all of this. Would be interested to hear your thoughts on the matter while I’m running around sorting this problem.

    Logs;

    access(“public_html/www.contradodigital.com/wp-content/plugins/the-events-calendar/lang/the-events-c
    alendar-en_GB.mo”, R_OK) = 0
    lstat(“public_html/www.contradodigital.com/wp-content/plugins/the-events-calendar/lang/the-events-ca
    lendar-en_GB.mo”, {st_mode=S_IFREG|0644, st_size=55673, …}) = 0
    lstat(“public_html/www.contradodigital.com/wp-content/plugins/the-events-calendar/lang”,
    {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0
    lstat(“public_html/www.contradodigital.com/wp-content/plugins/the-events-calendar”,
    {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0
    open(“public_html/www.contradodigital.com/wp-content/plugins/the-events-calendar/lang/the-events-cal
    endar-en_GB.mo”, O_RDONLY) = 5
    fstat(5, {st_mode=S_IFREG|0644, st_size=55673, …}) = 0
    lseek(5, 0, SEEK_CUR) = 0
    read(5, “\336\22\4\225\0\0\0\0\345\2\0\0\34\0\0\0D\27\0\0\0\0\0\0l.\0\0\0\0\0\0″…, 8192) = 8192
    lseek(5, 28, SEEK_SET) = 28
    read(5, “\0\0\0\0l.\0\0\23\0\0\0m.\0\0\30\0\0\0\201.\0\0\30\0\0\0\232.\0\0″…, 8192) = 8192
    read(5, “\n\0\0\0003\243\0\0\10\0\0\0>\243\0\0\v\0\0\0G\243\0\0\5\0\0\0S\243\0\0″…, 8192) = 8192
    lseek(5, 11884, SEEK_SET) = 11884
    read(5, “\0%1$s %2$s iCal Feed\0%s (post ID”…, 8192) = 8192
    read(5, “Help\0Here is the iCal feed URL f”…, 8192) = 8192
    read(5, “.\0There were no results found fo”…, 8192) = 8192
    read(5, “e event content\0\0Add New\0\0Add Ne”…, 8192) = 8192
    read(5, “dern Tribe Inc\0\0Moldova, Republi”…, 8192) = 8192
    read(5, “rum throughout the week, watchin”…, 8192) = 2829
    read(5, “”, 8192) = 0
    close(5) = 0
    ^CProcess 11295 detached

    #1019975
    Josh
    Participant

    Hey Michael,

    Thanks for reaching out to us!

    Did the issue occur when trying to do a bulk update of all three of those plugins? As in, did you select them on the plugin screen together and then select update on the action bar? If so, was that when the redirect loop issue happened?

    One thing you could do would be to re-download a fresh version of the plugin from your account here and upload directly, deleting the existing files to see if there were any issues with the initial update being unsuccessful and providing an incomplete download.

    Let me know if this helps.

    Thanks!

    #1019990
    Michael
    Participant

    Yes it was a bulk update with those 3x plugins. Interestingly though, they all showed as successful before things blew up.

    Will have a good test over the next few days or so to figure this out. Will update this ticket for others reference when I get to the bottom of this.

    It always amazes me how something related to WordPress can just magically decide to break in such a catastrophic way for absolutely no apparent reason.

    #1020057
    Duane
    Participant

    Hey I am having this problem as of today as well. I have narrowed it down to the events calendar + pro plugin.

    This brings down our entire site, then the ISP locks it out for an hour due to exceeding redirects.

    This is a very serious problem.

    After finding that it was the Event Calendar and Pro that were causing the issue, I updated the base plugin as it was out of date to 3.12.3

    The Pro part is not giving me an available update link, so it remains at 3.10.

    So now in addition to the redirect problem I am also getting the notice that there is version mismatch.

    Digging a hole here folks, need some help ASAP.

    • This reply was modified 10 years, 6 months ago by Duane.
    #1020074
    Duane
    Participant

    From cgi_error.log

    20151029T170601: outriggersantacruz.org/wp-cron.php
    WordPress database error User ‘nX1RL6vq4axug6V’ has exceeded the ‘max_questions’ resource (current value: 75000) for query SELECT autoload FROM wp_lgnx_options WHERE option_name = ‘_transient_tribe_events_pro_processing_batch_’ made by do_action_ref_array, call_user_func_array, Tribe__Events__Pro__Recurrence__Queue_Processor->process_queue, Tribe__Events__Pro__Recurrence__Queue_Processor->do_processing, Tribe__Events__Pro__Recurrence__Queue->is_in_progress, get_transient, delete_option

    #1020675
    Josh
    Participant

    Hey Duane,

    Thanks for reaching out to us here. However, we ask that you open a new thread since it sounds like the actual issue here is slightly different from the original posters. Before posting though, it’ll help to have both plugins up to date to the latest versions since we only support the latest versions of the plugins here in the forums. You can download the latest version of the PRO plugin from our site here and manually upload those files via FTP.

    Michael,

    So the issue happened the one time with the upload and not something that seems to be happening consistently with everyday use of the plugin? If so, it sounds like there might have been some competition with the plugins and an activation hook, possibly for a welcome screen or something along those lines.

    Thanks!

    #1075307
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Redirect Loop Causing Infinite PHP Processes and 100% CPU Usage’ is closed to new replies.