首页 > 解决方案 > 气流调度程序异常停止

问题描述

我在问题中附上了错误消息

ERROR - Exception when executing SchedulerJob._run_scheduler_loop
Traceback (most recent call last):
  File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
    cursor, statement, parameters, context
  File "/home/centos/env_airflow/lib64/python3.6/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
    cursor.execute(statement, parameters)
psycopg2.OperationalError: server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.

标签: pythonpostgresqlsqlalchemycentosairflow

解决方案


PostgreSQL 数据库服务器意外关闭了连接。查看 PostgreSQL 日志文件以获得解释。

在那里,您将找到解释原因的错误消息,或者您会找到类似的消息(意外连接丢失),这表明恶意防火墙或路由器中断了网络连接。


推荐阅读