error 500 in the second i install the plugin
-
hello
in the momemnt i install the plugin and connect cloudflare the website crashes with error 500. only a full server reboot works and after 2 minutes again the server crashes before i can change any setting
if i do a cache purge after server restrat it crashesThe page I need help with: [log in to see the link]
-
[proxy_fcgi:error] [pid 1620:tid 140033801099008] [client 109.226.32.37:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 10586423296 bytes exhausted (tried to allocate 137438953448 bytes) in /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/load.php on line 1436’, referer: https://freshuk.co.il/wp-admin/edit.php?s=0542346676&post_status=all&post_type=shop_coupon&shop_coupon_cat&layout=6013214d4bf0a&coupon_type&action=-1&paged=1&action2=-1
[Wed Mar 17 19:08:17.826707 2021] [proxy_fcgi:error] [pid 1618:tid 140033935775488] [client 109.226.32.37:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 10586423296 bytes exhausted (tried to allocate 137438953440 bytes) in /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/load.php on line 1436’, referer: https://freshuk.co.il/wp-admin/options-general.php?page=wp-cloudflare-super-page-cache-index
[Wed Mar 17 19:08:18.262131 2021] [proxy_fcgi:error] [pid 1618:tid 140029791811328] [client 51.178.161.64:0] AH01067: Failed to read FastCGI header
[Wed Mar 17 19:08:18.262167 2021] [proxy_fcgi:error] [pid 1618:tid 140029791811328] (104)Connection reset by peer: [client 51.178.161.64:0] AH01075: Error dispatching request to :
[Wed Mar 17 19:08:20.548535 2021] [proxy_fcgi:error] [pid 1620:tid 140030588724992] [client 109.226.32.37:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 10586423296 bytes exhausted (tried to allocate 17166977052 bytes) in /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/load.php on line 1436’, referer: https://freshuk.co.il/wp-admin/post.php?post=110275&action=edit
[Wed Mar 17 19:08:20.741042 2021] [proxy_fcgi:error] [pid 1620:tid 140031670859520] [client 109.226.32.37:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 10586423296 bytes exhausted (tried to allocate 137438953440 bytes) in /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/load.php on line 1436’, referer: https://freshuk.co.il/wp-admin/edit.php?post_type=shop_coupon&acfw
[Wed Mar 17 19:08:21.753210 2021] [proxy_fcgi:error] [pid 1620:tid 140033424082688] [client 51.178.161.64:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 10586423296 bytes exhausted (tried to allocate 137438953448 bytes) in /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/load.php on line 1436’, referer: https://freshuk.co.il/zh-CN/%E7%B1%BB%E5%88%AB/%E9%98%BF%E7%BA%B3%E7%89%B9%C2%B7%E6%AF%94%E9%A1%BF%EF%BC%88Anat-Bitton%EF%BC%89/?add-to-cart=4324
[Wed Mar 17 19:08:22.808698 2021] [proxy_fcgi:error] [pid 1618:tid 140033960953600] [client 109.226.32.37:0] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 10586423296 bytes exhausted (tried to allocate 25464532256 bytes) in /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/load.php on line 1436’, referer: https://freshuk.co.il/wp-admin/post.php?post=110275&action=editHi @freshuk,
I don’t know what PHP memory is allocated in your server but it seems your PHP memory is exhausted. So, try increasing your PHP memory. This is not a plugin issue. Contact your host and show them this log. They will know what to do.- This reply was modified 3 years, 8 months ago by iSaumya.
thank you Suamya,
i showed them the log yesterday, we tried php limit of 10 gb!!
we tried to debug it together and it’s not hosting related. as soon as a hit clear cache it crashes the website completely. we don’t have this issue with any other caching plugin that we tried in the past (right now wp-rocket)
only a full server restart helped me bring up the website
we are on apache/ngnix a premium vps enviroment
we also have new relic installed for errors tracingHi @freshuk,
That is so wired as I have never seen it happening on any website where we use this plugins extensively across many hosting. Moreover on the log you have show the Fatal error is getting caused by PHP memory getting exhausted. Not for any code issue.Once you increased the PHP memory limit inside your server have you also tried defining something like
define('WP_MEMORY_LIMIT', '512M');
in your WP Config and see if the problem still happens?yes it’s defined define(‘WP_MEMORY_LIMIT’, ‘10240M’);
Hi @freshuk,
That is so wired. Do you have fastcgi enabled? If so, you can try disabling it and see if the issue persist? Cause in the log I seeproxy_fcgi:error
which means the memory allocation issue might be in the fastcgi proxy cache.fastcgi is enabled – yes
do i need my hosting provider again for that or can i disable it on my own to try?Hi @freshuk,
Unfortunately, I don’t know how your hosting provider settings panel work, so I won’t be able to say that for sure.okay been trying for 1.5 hours with the hosting provider, it seems to work now, the plugin is on
sometimes when i hit purge cache it breaks, but last few times it’s okay
when i click test both dynamic and static not working though
it behaves strangely and website is little bit slower than before but maybe it needs to rebuilt
maybe now you can debug the issue when the plugin is on? https://www.freshuk.co.ilthank you !
Hi @freshuk,
did you turn off the fastcgi proxy cache?I can also see the plugin working perfectly as it should: https://i.imgur.com/LBH3GQN.png
fastcgi did not solve the issue so it’s on now.
we actually have no idea (also the hosting provider) what is changed, and sometimes when i click purge cache the website totally crashses with error 500
they think it’s related to some .htaccess or advanced-cache.php rules that are added but no idea.after 20 reboots it seems to work okay now but i’m not sure it’s stable..
anyway to make sure it’s all setup allright? when i click test cache it sasys both static and dynamic are NOT working and the website is not behind cloudflare..Hi @freshuk,
Sometimes the Test Cache button does not provide the correct result. It’s always best to check the response headers directly.the webite just crashed error 500 …just like that
have this warning now: after server restart
Warning: strpos(): Empty needle in /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/plugin.php on line 694 Last seen: 2021-03-18 16:15:32 +02:00 Total events: 425 Stack Trace ----------- 1. strpos('/home/zarizcoi/domains...', '') /home/zarizcoi/domains/freshuk.co.il/public_html/wp-includes/plugin.php:694 2. plugin_basename('/home/zarizcoi/domains...') /home/zarizcoi/domains/freshuk.co.il/public_html/wp-admin/includes/plugin.php:99 3. get_plugin_data('/home/zarizcoi/domains...', false, false) /home/zarizcoi/domains/freshuk.co.il/public_html/wp-content/plugins/redis-cache-pro/src/Diagnostics/Diagnostics.php:674 4. RedisCachePro\Diagnostics\Diagnostics->dropinIsUpToDate() /home/zarizcoi/domains/freshuk.co.il/public_html/wp-content/plugins/redis-cache-pro/src/Plugin/templates/widget.phtml:17 5. require('/home/zarizcoi/domains...') /home/zarizcoi/domains/freshuk.co.il/public_html/wp-content/plugins/redis-cache-pro/src/Plugin/Widget.php:82 6. RedisCachePro\Plugin->renderWidget('', Array(4)) /home/zarizcoi/domains/freshuk.co.il/public_html/wp-admin/includes/template.php:1389 7. do_meta_boxes(WP_Screen, 'normal', '') /home/zarizcoi/domains/freshuk.co.il/public_html/wp-admin/includes/dashboard.php:256 8. wp_dashboard() /home/zarizcoi/domains/freshuk.co.il/public_html/wp-admin/index.php:181 Context ------- URL : /wp-admin/index.php Referer : https://freshuk.co.il/wp-admin/options-general.php?page=wp-cloudflare-super-page-cache-index HTTP Method : GET HTTP Host : freshuk.co.il HTTP Status : 200 isSSL : Yes Current Filter : - Execution Time : 1.785 s Memory Usage : 62.49 MiB PHP SAPI : fpm-fcgi
- The topic ‘error 500 in the second i install the plugin’ is closed to new replies.