very odd caching issues probably redis related?

soaringeagle
@soaringeagle
6 years ago
3,304 posts
2 jr sites each affected differently and 1 other site
all affected in weird ways

dreadlockssite redis sessions off 1 page imll be logged in next logged out clicking login takes me to profile but login remains in menu and can't comment
redis sessions on i stay logged in page to page
comments or posts (or approving pending itenms) take somewhere between 5 and 15 minutes to register
some pages on pc gives the mobile menu.

freedomswings cannot get it to acept higher then 13 m upload limits no matter what php settings, likewise both sites do not register php changes in phpinfo.php withot renaming the file itself
even hard refreshes don't help

dreadlockssite has this in the php errors
(none at all in freedomswings but its way less trafic)

definately seems redis related this is the error log for the site php errors
[16-Sep-2018 14:15:19 America/New_York] PHP Fatal error: Uncaught RedisException: read error on connection in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php:899 [2]
Stack trace: [10]
#0 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php(899): Redis->exec() [2]
#1 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/cache.php(646): _jrRedis_redis_cache_maintenance() [2]
#2 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/misc.php(1193): jrCore_cache_maintenance() [2]
#3 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/include.php(898): jrCore_minute_maintenance_worker(Array) [2]
#4 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/misc.php(298): jrCore_process_exit_listener(Array, Array, Array, Array, 'process_exit') [2]
#5 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/router.php(310): jrCore_trigger_event('jrCore', 'process_exit', Array) [2]
thrown in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php on line 899 [2]
[19-Sep-2018 02:12:36 America/New_York] PHP Fatal error: Uncaught RedisException: read error on connection in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php:523 [1]
#0 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php(523): Redis->exec() [1]
#1 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/cache.php(367): _jrRedis_redis_delete_all_cache_entries(NULL, NULL) [1]
#2 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/index.php(5418): jrCore_delete_all_cache_entries() [1]
#3 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/module.php(288): view_jrCore_cache_reset_save(Array, Array, Array) [1]
#4 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/router.php(183): jrCore_run_module_view_function('view_jrCore_cac...') [1]
thrown in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php on line 523 [1]
[22-Sep-2018 22:34:52 America/New_York] PHP Fatal error: Uncaught RedisException: Connection closed in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php:1052 [4]
#0 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php(1052): Redis->__destruct() [4]
#1 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/cache.php(570): _jrRedis_redis_add_to_cache('jrProfile', 'R\xEE\xB3q^_mr\xDC\xBB\xF1\xDAoI\xCB...', Array, 3600, 0, false, NULL) [2]
#2 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrProfile-release-1.7.5/include.php(1910): jrCore_add_to_cache('jrProfile', '52eeb3715e5f6d7...', Array, 0, 0, false) [2]
#3 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/datastore.php(2182): jrProfile_get_quota('6') [2]
#4 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/datastore.php(2069): _jrCore_db_get_item('jrProfile', '7385', '', false) [1]
#5 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/datas in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php on line 1052 [2]
#1 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/cache.php(570): _jrRedis_redis_add_to_cache('jrUser', '\xEFE\x13\xBBU\xD9\x98:\x97\x0E\xE4\xA6\x08\xA0\xFD...', Array, 3600, 0, false, NULL) [1]
#2 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrUser-release-2.5.2/include.php(2402): jrCore_add_to_cache('jrUser', 'ef4513bb55d9983...', Array, 0, 0, false) [1]
#3 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/skin.php(898): jrUser_load_lang_strings() [1]
#4 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrProfile-release-1.7.5/include.php(2434): jrCore_page_not_found() [1]
#5 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/router.php(289): jrProfile_show_profile(A in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php on line 1052 [1]
#4 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/datastore.php(2069): _jrCore_db_get_item('jrProfile', '9739', '', false) [1]
#1 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/cache.php(570): _jrRedis_redis_add_to_cache('jrCore', '\xD2z\xD4\x04\x81t\xA0\x1E\xDA\xAC\xB5\xC8\x17d8...', Array, 3600, 0, false, NULL) [1]
#2 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/datastore.php(5482): jrCore_add_to_cache('jrCore', 'd27ad4048174a01...', Array, 0, 0, false, false) [1]
#3 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/datastore.php(4080): jrCore_db_get_private_profiles() [1]
#4 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release-6.1.11b2/lib/datastore.php(3112): _jrCore_db_search_items('jrGallery', Array) [1]
#5 /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrCore-release in /var/www/vhosts/dreadlockssite.com/httpdocs/modules/jrRedis-release-1.0.4/include.php on line 1052 [1]

i do also notice odd cache issues on non jr sites that dont use redis though

also /usr/sbin/mysqld uses a whole lot of swap wich is not cleared by restarting mariadb (memory use is however which is perplexing)




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 01/02/19 02:41:18AM
soaringeagle
@soaringeagle
6 years ago
3,304 posts
seems like to me database updates or something take 15 minutes.. when i approve items they still show waiting to approv e for 15 minutes...at a gues i should try to time it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags