PostgreSQL connection problems

后端 未结 3 1012
不知归路
不知归路 2021-01-21 01:04

I have very strange problem with my application, upon occasions I get following error when connecting to postgres. This happens without any pattern, often happens when I run som

相关标签:
3条回答
  • 2021-01-21 01:38

    A random guess. Do you use persistent connections?

    0 讨论(0)
  • 2021-01-21 01:41

    You're only showing the client error. Since it means that something happened on the backend, you will need to look in your server logs for information about what actually happened. (The postgres logs and/or the eventlog - check both)

    A typical reason for these things to happen is if you are running some antivirus software on the server. If you do, try uninstalling it (not just disabling it) and see if the problem goes away.

    0 讨论(0)
  • 2021-01-21 01:52

    "server closed the connection unexpectedly" most of the time means the backend crashed. If that's the case there should be some lines about it in the server log.

    And by the way the latest version in the 8.2 branch is 8.2.12. Upgrade, test, report.

    0 讨论(0)
提交回复
热议问题