egerci
Member
Hi,
After updating XenForo 2.2.3, I started getting the following issue.
I've been trying to find a clue for about a week, but haven't been able to find out when and how this error was triggered.
I disabled all the addons I used. The result did not change. After some time, Queries remain in the status of sending data. And xenforo does not give an error in the control panel. As I said I can't tell you how often this situation happens. Usually it is less frequent at night.I encounter this situation every 2-3 hours during the day and in busy times.
When I kill the query on the sql server, the ACP gives the following error.
Commands out of sync; you can't run this command now.
Query is :
EXPLAIN as :
My configuration is as follows:
Nginx 1.18.0
Ubuntu 18.04
Mariadb 10.5.8
Php 7.4.15
Redis 6.0.10
phpredis 5.3.2
@Xon , I think you can comment on this.
Thanks
After updating XenForo 2.2.3, I started getting the following issue.
I've been trying to find a clue for about a week, but haven't been able to find out when and how this error was triggered.
I disabled all the addons I used. The result did not change. After some time, Queries remain in the status of sending data. And xenforo does not give an error in the control panel. As I said I can't tell you how often this situation happens. Usually it is less frequent at night.I encounter this situation every 2-3 hours during the day and in busy times.
When I kill the query on the sql server, the ACP gives the following error.
Commands out of sync; you can't run this command now.
Query is :
SQL:
SELECT `xf_profile_post`.*, `xf_user_User_1`.*, `xf_reaction_content_Reactions_2`.*, `xf_sv_content_mentions_Mentions_3`.*, `xf_user_ProfileUser_4`.*, `xf_user_privacy_Privacy_5`.*
FROM `xf_profile_post`
LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_profile_post`.`user_id`)
LEFT JOIN `xf_reaction_content` AS `xf_reaction_content_Reactions_2` ON (`xf_reaction_content_Reactions_2`.`content_type` = 'profile_post' AND `xf_reaction_content_Reactions_2`.`content_id` = `xf_profile_post`.`profile_post_id` AND `xf_reaction_content_Reactions_2`.`reaction_user_id` = '1024023')
LEFT JOIN `xf_sv_content_mentions` AS `xf_sv_content_mentions_Mentions_3` ON (`xf_sv_content_mentions_Mentions_3`.`content_type` = 'profile_post' AND `xf_sv_content_mentions_Mentions_3`.`content_id` = `xf_profile_post`.`profile_post_id`)
LEFT JOIN `xf_user` AS `xf_user_ProfileUser_4` ON (`xf_user_ProfileUser_4`.`user_id` = `xf_profile_post`.`profile_user_id`)
LEFT JOIN `xf_user_privacy` AS `xf_user_privacy_Privacy_5` ON (`xf_user_privacy_Privacy_5`.`user_id` = `xf_user_ProfileUser_4`.`user_id`)
WHERE (`xf_profile_post`.`message_state` <> 'moderated') AND (`xf_profile_post`.`message_state` <> 'deleted')
ORDER BY `xf_profile_post`.`post_date` DESC
LIMIT 200
EXPLAIN as :
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
1 | SIMPLE | xf_profile_post | ALL | NULL | NULL | NULL | NULL | 323485 | Using where; Using temporary; Using filesort |
1 | SIMPLE | xf_user_User_1 | eq_ref | PRIMARY | PRIMARY | 4 | kk_forum_xf.xf_profile_post.user_id | 1 | |
1 | SIMPLE | xf_reaction_content_Reactions_2 | eq_ref | content_type_id_user_id, content_type_id_reaction_date,content_id, reaction_user_id | content_type_id_user_id | 35 | const, kk_forum_xf.xf_profile_post.profile_post_id, const | 1 | Using where |
1 | SIMPLE | xf_sv_content_mentions_Mentions_3 | eq_ref | PRIMARY | PRIMARY | 31 | const,kk_forum_xf.xf_profile_post.profile_post_id | 1 | Using where |
1 | SIMPLE | xf_user_ProfileUser_4 | ALL | PRIMARY | NULL | NULL | NULL | 718901 | Using where; Using join buffer (flat, BNL join) |
1 | SIMPLE | xf_user_privacy_Privacy_5 | eq_ref | PRIMARY | PRIMARY | 4 | kk_forum_xf.xf_user_ProfileUser_4.user_id | 1 | Using where |
My configuration is as follows:
Nginx 1.18.0
Ubuntu 18.04
Mariadb 10.5.8
Php 7.4.15
Redis 6.0.10
phpredis 5.3.2
@Xon , I think you can comment on this.
Thanks
Last edited: