Skip to content

Persistent Connection and RDS proxy #1408

@jsamouh

Description

@jsamouh

What happened?

Hello guys,

Current Infrastructure:

Application configuration:

  • franken worker mode
  • PDO persistence for read calls to RDS

Issue:
Every 24 hours, we have some mysql has gone away on the reader rds proxy endpoint
Seems to be a side effect between Franken / pdo persistent option / rds proxy

RDS proxy:
RDS Proxy enforces a maximum life of client connections of 24 hours. This value is not configurable. Configure your pool with a maximum connection life less than 24 hours to avoid unexpected client connection drops.

Anyone has this kind of issue ?
How Can I fix that ?

Build Type

Docker (Debian Bookworm)

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

NA

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy