SQLSTATE[08006] [7] could not send startup packet: Resource temporarily unavailable on Laravel App

We’ve got a Laravel application which often seems to have trouble connecting to Postgres with the following error:

SQLSTATE[08006] [7] could not send startup packet: Resource temporarily unavailable

The same postgres cluster is being used by other applications. Primarily a Symfony/Doctrine application without any issues.

I’ve tried a few things:

  • replacing the application machines
  • manual failover on the postgres cluster

but neither has resolved the issue. It’s only the Laravel app which has this intermittent problem, other applications operate just fine. I can’t find any information on this error anywhere outside an old post on this forum which never got conclusively sovled.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.