Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在线查询失败,一直提示查询超时 #188

Closed
eqieyiran opened this issue May 10, 2019 · 3 comments
Closed

在线查询失败,一直提示查询超时 #188

eqieyiran opened this issue May 10, 2019 · 3 comments
Labels
question Further information is requested

Comments

@eqieyiran
Copy link

在线查询页面执行 select sleep(1);

Error

查询时间超过 30 秒,已被主动终止,请优化语句或者联系管理员。

docker日志中报错如下:

[2019-05-10 17:28:08,616][MainThread:140309525202752][task_id:django-q][tasks.py:60][INFO]- Enqueued 22
[2019-05-10 17:28:08,617][MainThread:140309525202752][task_id:django-q][tasks.py:61][DEBUG]- Pushed ('ack-lactose-jupiter-kentucky', 'ebbac19009a94195bdc73c289dfda2b2')

@eqieyiran eqieyiran added the question Further information is requested label May 10, 2019
@hhyo
Copy link
Owner

hhyo commented May 10, 2019

提问请按照模板提供相关信息、不同版本和部署方式有很大的差异

  • 检查redis是否正常连接
  • 使用python manage.py qmonitor确认qcluster的运行状态
  • 重启qcluster服务

@LeoQuote
Copy link
Collaborator

目测是没起qlcuster, 请对照文档检查部署是否正确

@eqieyiran
Copy link
Author

不是通过这个解决的,我重启了所有服务自动好了。谢谢!

解决方法:
systemctl restart docker
docker restart archery
docker restart mongo
docker restart redis
docker restart inception
systemctl stop mysqld
docker restart mysql

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants