Jump to content

Causes of cache error ? Don't like my site randomly offline


SJ77

Recommended Posts

Checked my site after breakfast and was surprised to find blank white error screen of death. Checked error log and figured out a cache file was having issues.

2016/01/16 21:19:00 [error] 6414#0: *380680 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected '":"' (T_CONSTANT_ENCAPSED_STRING) in /myforum/datastore/cacheKeys.3e62f65ff4.php on line 6" while reading response header from upstream, client: 40.77.167.54, server: mydomain.org, request: "GET /forum/index.php?topic=2257.msg54625 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.mydomain.org"

I deleted the cache file from datastore and the site returned to normal but I am concerned about this.  I don't like the idea of my entire site going offline until I happen to check it and fix it.

any ideas?

Link to comment
Share on other sites

IT HAPPENED AGAIN

Content of bad cache file

return <<<'VALUE'
{"settings":"18542925ebc189ad0137fcd080af2a5c","bannedIpAddresses":"d751713988987e9331980363e24189ce","languages":"b5348b511601e0a760baff0f49ffd0bf","themes":"05fb5d71380ac91e28d3d76ae9328338","storageConfigurations":"b158434ec1c5fa3deebd955f454bcaf2","javascript_map":"f73d2a4da6185752c9e1e4de41c7ae55","applications":"77c32e97b3e52ff17cd7fe1b31e67d70","chatters":"d751713988987e9331980363e24189ce","furl_configuration":"abccf3115c7fd5520bca7dee4ec8e4a8","modules":"2a6323916bd52b1368deb02e55c68bdb","groups":"2fdef643d8ee67db6b5f21e46119698f","template_2_80416a939542936b8d637f8c64a329cd_pages":"297fc19111f847dfa1d58efa3d598dd8","template_cms_5870ffdd969a15a65548b7c623731bf4_page_builder":"d7aaf0dc8c84dd561c6d51debbeaaa0d","template_2_20c5040bf8007e34de95850930d8bf6b_widgets":"d27fc248d8e0228923f0f07d59ace7a4","template_2_c9287917e66f271c15cd6e092aa1ce1a_widgets":"c051274083ae93c58be7a7ea290c8480","template_2_77e511f3f597b974567a95c3a1860bbf_plugins":"1fa0c0ef821ad744d5462f5fb323ec50","template_2_adb5166adf4e2bd2f335dbb289567edd_widgets":"4febad5e2d4f8c9d031b41b7e6506ee0","template_2_1797cff4ced1a8a742505945736734d7_widgets":"f82453d44b18a9f1feb9b642d508aa0f","template_2_afdf95c5062f000f0f3b5373924d7404_widgets":"710eba9c0db75282daf65686daf2457d","template_2_5dcd644fedb7516dcd3c1dda884f4dcc_widgets":"97359d2937f83861f7c61d94639be75c","metaTags":"29d36d233a70785883a304e88b56f07a","template_2_94a9d7649fb9cdbfc784d3516e61a717_global":"b2d4c44001f2c665704ae8057369005f","template_2_46b82e53682bf97617c36aa125473bea_global":"fc8f84b09b48003ec98721ea7192ccbe","license_data":"02429cdad4b066985f45571dcfc18dcc","loginHandlers":"5b5d5613e1e73b507547a12793f2ebf9","template_2_c8c276c9a99811c050a8036df5d2db06_forms":"2604a990dbcb3008c2aa11c383b4a0d0","template_2_1cc17ebc993219f75d8d20d566271d14_forms":"8bed2eb5a83f757b6c5136c9c5c5fec0","frontNavigation":"c7c3608d0979540925f6e113433fc239","pages_page_urls":"9ed556d67b423daf4622af6cd68a5efd","globalStreamIds":"d0e157084c13fa9a535f2c3ba6bfda36","widget_Wysiwyg_arekmvk8n_982abfbb34fd2496bb99c16087080dbe":"0f7490429173a5e4e6b962292d906336","profileFields":"887ec623962676b2d1a782ea61b50644","template_2_9ae6ff12052bbf3a6ae7c5b3bfbef193_embed":"b83d36a4228adfb88dad752d2ae8004b","widget_imageFeed_51qqplbxu_315ffa19d62d6c30a625cc8708aeff8d":"de40f1032269a2fa2d1d0f62c7910f07","widget_topContributors_tsjzg3csi_648e5cf3ce5e591d85026442ca477c4a":"9d8d08df7fe67c8bb52e5598f574bc82","widget_stats_syqtyi2xz_e0bb7ccc3858baf856c11417c5294b7a":"46a45d2ed6fdf702eb4c3cb53c446140","widget_chatwhoschatting_rilahfehw_e0bb7ccc3858baf856c11417c5294b7a":"21976dd91668f4a77f7843ce8c05f737","widget_forumStatistics_vf86xz5bu_e0bb7ccc3858baf856c11417c5294b7a":"f287ac7010856bbe67065768c18ac4eb","widget_topicFeed_ub55jyt9n_5e46a61561c7f899efe48d9764a43f10":"5a12224929ceb237d8bf0b307b135947","widget_topicFeed_9od7xlkoo_2be328905ab7b0de6b989009ee1561b7":"34a1b4d3eb03e3876c1362e15f347bc4"}
VALUE;

 

Link to comment
Share on other sites

Link to comment
Share on other sites

3 minutes ago, Adlago said:

Wrote site. but thank you. Can you check Curvage.org

That's the site having problems.

Link to comment
Share on other sites

7 minutes ago, superj707 said:

Wrote site. but thank you. Can you check Curvage.org

That's the site having problems.

You have a problem at the server level. Several tests are bad gateway /only test server Gtmetrix/

Google test - your server reacts very slowly - after 58 seconds

You also have many errors html5

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.curvage.org%2Fforum%2F

From my computer your site work - slowly, but without error.

I think - the problem is your server

 

Link to comment
Share on other sites

1 minute ago, Adlago said:

You have a problem at the server level. Several tests are bad gateway /only test server Gtmetrix/

Google test - your server reacts very slowly - after 58 seconds

You also have many errors html5

https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.curvage.org%2Fforum%2F

From my computer your site work - slowly, but without error.

I think - the problem is your server

 

mis-configured server?

Link to comment
Share on other sites

59 minutes ago, superj707 said:

Host thinks it might not be mis-configured server. "Something much worse"

something IPS related perhaps?

I would do a support ticket. The parse error is from an unexpected '":"' in the cache file generated by the forum software. You simply may have found a new bug that IPS would like to know about.

Link to comment
Share on other sites

3 hours ago, tnn said:

I would do a support ticket. The parse error is from an unexpected '":"' in the cache file generated by the forum software. You simply may have found a new bug that IPS would like to know about.

I figured it out. memcache was missing it's php driver so IPS tried to use this clever strategy of writing to a cached data file. Problem is if it tries to cache more than one thing at once. (if your site is busy) the file it's writing to blows up and the whole site goes down in flames. TERRIBLE idea IPS.. :(

Link to comment
Share on other sites

50 minutes ago, superj707 said:

I figured it out. memcache was missing it's php driver so IPS tried to use this clever strategy of writing to a cached data file. Problem is if it tries to cache more than one thing at once. (if your site is busy) the file it's writing to blows up and the whole site goes down in flames. TERRIBLE idea IPS.. :(

Did you submit a support ticket or bug report?

Link to comment
Share on other sites

  • 3 weeks later...

I had a very similar problem. Randomly, I saw a blank page. Sometimes twice or even more times a day. After running "Something isn't working correctly" site went back online again (ACP worked as intended). IPS Support suggested to switch data storage from file system to MySQL. After that haven't got any issues. On my case, I did not use Memcached or any other method. Nice to hear I'm not the only one with similar problem (having a problem isn't nice).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...