Hello, after upgrade to the latest version of Newspaper we’re having this new issue. When we add new media into galleries, one of the possible thumbnail sizes for the images is not generated, specifically 75x50px. This thumbnail is requested by IOS/iPhones and good part of our readers have this device.
When the reader tries to get the thumbnail, it doesn’t appear on the device. The system logs:
HTTP/1.0″ 404 828520 “-” “Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15G77 [FBAN/FBIOS;FBAV/210.0.0.37.117;FBBV/143754374;FBDV/iPhone8,4;FBMD/iPhone;FBSN/iOS;FBSV/11.4.1;FBSS/2;FBCR/I WIND;FBID/phone;FBLC/it_IT;FBOP/5;FBRV/144490433]”
151.49.222.162 – – [05/Mar/2019:14:12:57 -0600] “GET /wp-content/images/2019/03/carnevale-muggia-serenabobbo-2019-D55A1897-75x50_c.jpg
These missing thumbnails creates big problems: when the image is not found, WordPress fires up “Error 404” generating its error page. When many of the thumbnails are requested possibly in a multi-threaded way, lot of “404” sums up to the parser and since the host limits the CPU resources, it peaks up for a moment and the server restarts, kicking out users, exampe below (but we have a very long list of calls):
root 17090 0.0 0.0 4136 1496 ? S 14:27 0:00 | \_ /usr/local/1h/sbin/hive_exec 506 503 index.php
triestea 17091 38.5 1.3 396752 116020 ? R 14:27 0:00 | \_ /usr/local/php72/bin/php index.php
root 17036 0.0 0.0 4136 1280 ? S 14:26 0:00 | \_ /usr/local/1h/sbin/hive_exec 506 503 index.php
triestea 17037 8.4 1.4 370296 120632 ? R 14:26 0:00 | \_ /usr/local/php71/bin/php index.php
root 17126 0.0 0.0 4136 1492 ? S 14:27 0:00 | \_ /usr/local/1h/sbin/hive_exec 506 503 index.php
triestea 17127 22.0 1.2 381420 103916 ? R 14:27 0:00 | \_ /usr/local/php72/bin/php index.php
root 17129 0.0 0.0 4136 1500 ? S 14:27 0:00 | \_ /usr/local/1h/sbin/hive_exec 506 503 index.php
How can this urgent problem be solved? We have the ‘regenerate thumbnails’ plugin but doesn’t fix it since the requested size 75×50 is not in the list of the available thumbnail sizes.
Hi,
Our theme never have this size of thumb (75×50) for gallery our theme use the 80×60 -> https://www.screencast.com/t/UfJUm7xL
Please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
Also please make sure that you do not have any plugins that make this problem, please deactivate all non theme plugins, clear all cache and try again to see if the problem is still there.
Please provide a like were I can inspect this problem, in this way I will be able to provide you a better answer.
Thank you for your understanding!