V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
danzzzz
V2EX  ›  Python

请问腾讯云在登录之后,过一段时间不操作就会出现 connection closed,请问如何解决?

  •  
  •   danzzzz · 2018-11-12 16:20:54 +08:00 · 2531 次点击
    这是一个创建于 1964 天前的主题,其中的信息可能已经有所发展或是发生改变。

    大体就是这种情况下访问服务器会出现 500 错误,然后重新登录一遍之后再访问就没事了。 请问要怎么样才能防止 connection closed 这种情况出现?先感谢各位的解答。

    3 条回复    2018-11-12 18:35:10 +08:00
    SSyang
        1
    SSyang  
       2018-11-12 17:25:32 +08:00
    导致这个问题的原因有多种,比如 ssh 配置超时断开,机器阶段性负载过高,机器卡死,带宽跑满等,可以参考这篇文档 http://bbs.qcloud.com/thread-43459-1-1.html。实在不行就提工单找售后看吧。
    Pythondr
        2
    Pythondr  
       2018-11-12 18:13:13 +08:00
    ssh 的安全机制.
    修改配置文件 /etc/ssh/sshd_config 解决
    https://blog.csdn.net/sinat_33261247/article/details/54930681
    gstqc
        3
    gstqc  
       2018-11-12 18:35:10 +08:00 via Android
    “看回复才知道题目意思”系列
    标签 Python
    题目是“腾讯云”
    主题直接跳到“访问服务器”
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2806 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:02 · PVG 23:02 · LAX 08:02 · JFK 11:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.