WordPress.org

Ready to get started?Download WordPress

Forums

Short URL
[resolved] timeout for 404 pages (7 posts)

  1. sniff99
    Member
    Posted 1 year ago #

    Hi,
    when I request non-existent page on my WP blog, e.g. domain.com/xxxxxxxxxx, I get long waiting and then empty page (after ~30 seconds). I can see timeouts in my apache log:
    [Tue Oct 30 20:00:56 2012] [error] [client xx.xx.xx.xx] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-content/plugins/shorten-url/core.class.php on line 282

    and huge number of mysql requests like:
    SELECT id_post FROM wp_pluginSL_shorturl WHERE short_url='nDOTy'

    in my mysql debug log during these 30 seconds, where 'nDOTy' is always different string.

    By debugging the code, the SELECT is from get_short_link_filter() function (line 601).

    Finally, the script times out and I always get empty page. When I request a valid shorten url or a valid post url, everything works fine. It is a problem just with any non-existent page.

    Where could be a problem, please?

    Thanks

    http://wordpress.org/extend/plugins/shorten-url/

  2. sniff99
    Member
    Posted 1 year ago #

    just another remark: the Fatal error in the Apache log is always on different line of different script (depends on what point of processing the apache is when that 30 seconds timeout happens):

    [[Wed Oct 31 01:09:34 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/plugin.php on line 146
    [Wed Oct 31 01:10:06 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/plugin.php on line 134
    [Wed Oct 31 01:10:37 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/cache.php on line 402
    [Wed Oct 31 01:11:06 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/functions.php on line 249
    [Wed Oct 31 01:11:39 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/wp-db.php on line 1098
    [Wed Oct 31 01:12:08 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-content/plugins/shorten-url/core/utils.class.php on line 107
    [Wed Oct 31 01:12:38 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/functions.php on line 383
    [Wed Oct 31 01:13:39 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/functions.php on line 0
    [Wed Oct 31 01:15:08 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-content/plugins/shorten-url/core/utils.class.php on line 106
    [Wed Oct 31 01:17:10 2012] [error] [client xx.xx.xx.xx] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /home/www/xxxxxxx.xx/wordpress/wp-includes/functions.php on line 268

    Also need to mention that when I deactivate the shorten-url plugin, the problem disappears.

  3. Sed Lex
    Member
    Plugin Author

    Posted 1 year ago #

    ... Yes I believe that I understand the problem

    I will try to fix it

    Keep in touch

  4. Sed Lex
    Member
    Plugin Author

    Posted 1 year ago #

    The next version (that will be release in few days) correct this issue

  5. sniff99
    Member
    Posted 1 year ago #

    That's great!
    Thank you and happy NEW Year!

  6. Sed Lex
    Member
    Plugin Author

    Posted 1 year ago #

    should now work

  7. sniff99
    Member
    Posted 1 year ago #

    Yes, confirming the problem is gone. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic