Bosh Director PG ConnectionBad
search cancel

Bosh Director PG ConnectionBad

book

Article ID: 293798

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

In the Bosh director worker logs you may see the following error messages: 

ERROR -- Director: PG::ConnectionBad: PQconsumeInput() server closed the connection unexpectedly



Environment

Product Version: 2.10

Resolution

These messages are coming from a Ruby library (“pg”, a PostgreSQL RDBMS interface) which in turn passes it up to another Ruby library (“Sequel”, a generic database library) which then forwards to the BOSH Director. Though these messages sound alarming, they’re not. They simply mean that one of the connections to the database has closed, and immediately another connection is opened and continues along.