timeout for 404 pages
-
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
- The topic ‘timeout for 404 pages’ is closed to new replies.